|
|
3 月之前 | |
|---|---|---|
| .. | ||
| app | 2cb24699fb feat(backend): 报告指纹解析系统 - 类型注册/指纹识别/未知聚类/解析器导入 | 3 月之前 |
| docs | e93392b303 chore: auto bump version and changelog [skip ci] | 3 月之前 |
| src | f3e72756b5 fix(langgraph): 问卷推理超时防护 — gunicorn timeout 60→300s + ChatOpenAI timeout=180/max_retries=1 | 3 月之前 |
| tests | fc7f47a634 feat(langgraph): 报告解析 agent 接入指纹识别与自动标注 | 3 月之前 |
| .env.example | 7563afba0c feat(langgraph): scaffold Python sidecar project | 3 月之前 |
| .gitignore | 8756aee099 chore(langgraph): harden Dockerfile + compose host + ignore venv tarballs | 3 月之前 |
| Dockerfile | ed18ee7426 chore: auto bump version and changelog [skip ci] | 3 月之前 |
| README.md | 9a5acd1514 chore: auto bump version and changelog [skip ci] | 3 月之前 |
| docker-compose.yml | a2c606c244 fix(backend): 迁移174 product_skus添加min_stock_alert列+同步schema.sql(SKU库存预警) | 3 月之前 |
| prometheus.yml | e93392b303 chore: auto bump version and changelog [skip ci] | 3 月之前 |
| pyproject.toml | d628a149ea chore: sync PROJECT-OVERVIEW + pin chromadb + harden Dockerfile COPY | 3 月之前 |
| requirements.txt | 1e6c1426f2 feat: 提取 PDF 解析核心模块到 LangGraph parsers | 3 月之前 |
| start.sh | 58a248a38b docs(langgraph): sync phase1-4 plan checkpoints; add langgraph start.sh; ignore .venv | 3 月之前 |
关系评估问卷 AI 出题 graph,部署到 ai.etotem.com.cn。
cd cfc-langgraph
pip install -r requirements.txt
cp .env.example .env # 填写 OPENAI_API_KEY / OPENAI_BASE_URL / LLM_MODEL
uvicorn src.app:app --host 0.0.0.0 --port 9000
| Method | Path | 说明 |
|---|---|---|
| GET | /health |
健康检查 |
| POST | /api/v1/questionnaire/generate |
生成关系问卷 JSON |
cd cfc-langgraph
pytest tests/ -v
Request:
{
"member_name": "小明",
"relationship_type": "child",
"family_context": {}
}
Response:
{
"questionnaire_json": "<stringified JSON>",
"version": "20260804115900"
}