Xiaogang Liao 1cc7ba466c fix(docker): LangGraph 容器挂载宿主机上传目录替代命名卷 1 ay önce
..
app f8daa71e76 fix: LangGraph管理页全屏布局 + 健康检查修复 1 ay önce
docs e93392b303 chore: auto bump version and changelog [skip ci] 2 ay önce
src f3e72756b5 fix(langgraph): 问卷推理超时防护 — gunicorn timeout 60→300s + ChatOpenAI timeout=180/max_retries=1 1 ay önce
tests fc7f47a634 feat(langgraph): 报告解析 agent 接入指纹识别与自动标注 1 ay önce
.env.example 7563afba0c feat(langgraph): scaffold Python sidecar project 2 ay önce
.gitignore 8756aee099 chore(langgraph): harden Dockerfile + compose host + ignore venv tarballs 1 ay önce
Dockerfile ed18ee7426 chore: auto bump version and changelog [skip ci] 1 ay önce
README.md 9a5acd1514 chore: auto bump version and changelog [skip ci] 1 ay önce
deploy.sh 2f685d225a fix: LangGraph管理页改造 + 新增health/coach/generate端点 1 ay önce
docker-compose.yml 1cc7ba466c fix(docker): LangGraph 容器挂载宿主机上传目录替代命名卷 1 ay önce
prometheus.yml e93392b303 chore: auto bump version and changelog [skip ci] 2 ay önce
pyproject.toml d628a149ea chore: sync PROJECT-OVERVIEW + pin chromadb + harden Dockerfile COPY 2 ay önce
requirements.txt 1e6c1426f2 feat: 提取 PDF 解析核心模块到 LangGraph parsers 1 ay önce
start.sh 58a248a38b docs(langgraph): sync phase1-4 plan checkpoints; add langgraph start.sh; ignore .venv 2 ay önce

README.md

CFC LangGraph 问卷生成服务

关系评估问卷 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"
}