4 Commits

Author SHA1 Message Date
admin 005fe504ad fix: 修复 txt 索引 content_list 变量未定义 + 简化示例对齐
GraphRAG CI/CD / build-and-deploy (push) Successful in 5m12s
- txt 流程中 content_list 不存在导致 stats 阶段崩溃
- Few-shot 示例简化,使用短句精确匹配避免对齐失败
2026-06-18 17:10:05 +08:00
admin 71676dba9e feat: 新增 .txt 纯文本文件支持
GraphRAG CI/CD / build-and-deploy (push) Successful in 5m4s
- 添加 txt 到允许上传格式,跳过 MinerU OCR
- 直接读取 UTF-8 文本,按 3000 字符/页分页后送入 LangExtract
- 适合有中文文本的规范文件,避免扫描件 OCR 乱码问题
2026-06-18 17:00:40 +08:00
admin ebf27a6c3e fix: KGEmptyError 自定义异常 + CORS 环境变量配置
- qa_service 定义 KGEmptyError 异常,run_query 抛出;routers/query 精确捕获 → HTTP 400 + code 3002,移除字符串匹配
- main.py CORS 改为读 CORS_ORIGINS 环境变量:未设置时 wildcard + credentials=False(合规默认),设置后显式列表 + credentials=True
- .env.example 新增 CORS_ORIGINS 默认值(后端 + 前端 4 个域名)
2026-06-18 14:06:38 +08:00
admin b02d3378fc GraphRAG Studio — initial commit: multimodal RAG system with KG visualization
Full-stack application for document-to-knowledge-graph pipeline:
- Backend: FastAPI + LangGraph ReAct agent + DeepSeek + MinerU parsing
- Frontend: React 19 + Vite + D3.js + shadcn/ui
- Pipeline: MinerU parsing → LangExtract entity extraction → KG building

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-07 17:30:04 +08:00