Xiaogang Liao e9a500f252 feat(health): 新增 SystemPrompt 管理功能 + web 品牌与产品素材 1 ay önce
..
app 52e9f39f8c fix(health): 修复报告方案链路与报告详情折叠展示 1 ay önce
data 0b5c203305 update: sync latest from remote (web articles + langgraph config) 1 ay önce
docs 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
src bcb8f76dcf refactor(admin,langgraph): 移除管理端AI问卷场景配置与LangGraph qna模块 1 ay önce
tests 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
.env 0b5c203305 update: sync latest from remote (web articles + langgraph config) 1 ay önce
.env.example 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
.gitignore cfa95e7ab3 feat(qna): 动态问卷引擎核心(schemas/prompts/decide_next/generate_profile) 1 ay önce
Dockerfile 52e9f39f8c fix(health): 修复报告方案链路与报告详情折叠展示 1 ay önce
README.md 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
deploy.sh 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
docker-compose.yml 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
prometheus.yml 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 ay önce
pyproject.toml 52e9f39f8c fix(health): 修复报告方案链路与报告详情折叠展示 1 ay önce
requirements.txt 52e9f39f8c fix(health): 修复报告方案链路与报告详情折叠展示 1 ay önce
requirements_frozen.txt e9a500f252 feat(health): 新增 SystemPrompt 管理功能 + web 品牌与产品素材 1 ay önce
start.sh 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 1 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"
}