|
|
5 일 전 | |
|---|---|---|
| .. | ||
| app | 181e830be2 feat(diet): 食材推荐-今日食谱增量变更(菜数硬保证/删除菜品/翻页修复/家庭总览聚合口径) | 5 일 전 |
| docs | 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 | 3 달 전 |
| src | 1b15b67d2a fix(langgraph): S-cfc-33 修复 AI 问卷生成 100% 降级 (B-34) - GenerateRequest 补 prompt_template 字段 + build_prompt getattr 防御 | 1 주 전 |
| tests | 3f4b4bcac3 test(B-74): langgraph conftest 显式 init_checkpointer + pytest-asyncio loop scope(auto_tag 5 例自 checkpointer 500 转 LLM 断言,权威验证在 251) | 1 주 전 |
| tests_contract | 31b1be1cf6 test(EVD-7R): 报告闭环 23 SC 三类流契约证据 | 82 JUnit 全绿(11类,0失败) + 8 LangGraph pytest 全绿(SC-B-04/B-11) | SC-S-09 映射 listTypeLinks(未实现端点ProviderController缺) | 基线2af4829b1已并入b3a975111 | 1 주 전 |
| .dockerignore | cd03a0e288 fix(ai): 情绪识别 DeepFace 置信度归一化 + 权重预置 | 2 달 전 |
| .env | eeb1472733 fix(langgraph): 修复分析图 checkpointer 配置缺失、chat LLM 空响应兜底、pytest loop scope,并更新 LLM 网关配置 | 5 일 전 |
| .env.example | 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 | 3 달 전 |
| .gitignore | cfa95e7ab3 feat(qna): 动态问卷引擎核心(schemas/prompts/decide_next/generate_profile) | 3 달 전 |
| AGENTS.md | 9ced366139 docs: 补合 14 份安全文档到 cfclub(UI审查/令牌收敛/指标时间轴PRD/营养打标/会员缺口等) | 2 주 전 |
| Dockerfile | 977309f5f3 fix(langgraph): 将预下载 Whisper 模型复制到 appuser 缓存目录 | 3 주 전 |
| README.md | 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 | 3 달 전 |
| conftest.py | 3d3cb183c3 chore: pre-test commit - consolidate git status before running test automation | 1 주 전 |
| deploy.sh | 0ef3905b2a fix(langgraph): 重写 deploy.sh 为就地镜像构建部署 | 1 개월 전 |
| docker-compose.yml | 41d94f5ff2 fix(langgraph): 菜单生成切换非推理模型(agnes-2.5-flash)并加max_tokens=3000,耗时从60-96s降至~13s;容器内存限制6g→8g解决ChromaDB启动OOM | 1 개월 전 |
| prometheus.yml | 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 | 3 달 전 |
| pyproject.toml | eeb1472733 fix(langgraph): 修复分析图 checkpointer 配置缺失、chat LLM 空响应兜底、pytest loop scope,并更新 LLM 网关配置 | 5 일 전 |
| requirements.txt | 55c00ba68c fix(langgraph): checkpointer 改用 AsyncSqliteSaver 修复 chat 端点异步调用报错 | 1 개월 전 |
| requirements_frozen.txt | 55c00ba68c fix(langgraph): checkpointer 改用 AsyncSqliteSaver 修复 chat 端点异步调用报错 | 1 개월 전 |
| start.sh | 61bbcf72ff feat(ai-q): 小程序逐题对话问卷页 + 画像展示页 | 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"
}