10 Commits

Author SHA1 Message Date
admin 6f8c3a09af fix: 增加 uv pip install 超时到 300s
GraphRAG CI/CD / build-and-deploy (push) Failing after 19m6s
UV_HTTP_TIMEOUT=300 防止大包(numpy/pandas/cryptography)下载超时
2026-06-18 14:49:57 +08:00
admin 719d8978b5 fix: backend Dockerfile 使用阿里云 PyPI 镜像加速 pip 安装
GraphRAG CI/CD / build-and-deploy (push) Failing after 12m52s
uv pip install 添加 --index-url mirrors.aliyun.com/pypi/simple/
并以 --extra-index-url pypi.org 作为回退,确保自定义包也可安装
2026-06-18 14:33:24 +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 09d10de6d5 fix: 修复健康检查 venv 路径、HTML 标题及硬编码 Windows 路径
- health check 改用 sys.executable 动态获取 Python 路径,适配容器内 /opt/venv
- demo 数据 fallback 路径修正,移除硬编码的 F:/GraphRAGAgent Windows 路径
- 前端 index.html 标题从"构建产品原型"改为"GraphRAG Studio"
2026-06-17 22:27:46 +08:00
admin 1d12cb574e fix: cleanup k8s configs, add deploy.sh, remove hardcoded secrets
- Add one-click deploy script (k8s/deploy.sh) for test + prod
- Add startupProbe to backend (60x10s = 10min grace for ML model loading)
- Add configmap.yaml and secret.yaml (envsubst from backend/.env)
- Fix image URLs: add registry.plfai.cn prefix
- Fix frontend: API base URL relative (/api/v1), login-required mode
- Remove hardcoded localhost references from frontend
- Clean broken kustomize overlays
- Add nodeAffinity for backend→k8smaster, frontend→plf-cvm/k8smaster
- Remove dead ReplicaSets and stale pods during deploy
2026-06-16 14:15:31 +08:00
admin 23f07dd3a7 feat: 集成 Keycloak 认证 — 前后端 + K8s 配置 2026-06-15 17:30:57 +08:00
admin eeea55e9e4 feat: 添加 Dockerfile、docker-compose 及 K8s kustomize 部署文件 2026-06-15 16:49:35 +08:00
admin fd1bac551c fix: 修复 Linux 兼容性,添加原生构建依赖,忽略运行时数据 2026-06-11 14:21:04 +08:00
admin 91a7e22840 feat: 新增 mineru_mvp 文档解析组件并适配 Linux 路径 2026-06-11 11:24:12 +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