Fetching metadata from the HF Docker repository...
-
Week3: FastAPI layer + wire RAG into graph qa node
Maggei +1: Claude Opus 4.8 - graph/workflow.py: qa 节点未给 context 时自动走 HybridRetriever 混合检索注入,返回 sources;检索器单例 + refresh hook
- api/main.py: /health /analyze /chat /chat/stream(流式) /upload(入库即刷新);全请求经 LangGraph,同步图调用走线程池并发
- agents/llm.py: 加 chat_stream 流式接口
- 5 接口端到端实测通过(含上传后即时可检索);requirements 加 fastapi+uvicorn
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
-
Week3: LangGraph parallel orchestration + per-agent model routing
Maggei +1: Claude Opus 4.8 - graph/workflow.py: FinState(analyses reducer) + router 条件路由 → 4 分析Agent并行扇出 → synthesis 汇总;qa 走问答流
- agents: chat()/Agent 加 model 参数,支持按 agent 路由模型
- 按验收结论绑定:event/sentiment/summary/topic→finsight-qwen,qa→base(实测微调在 JSON prompt 合法率 12/12,无对齐税)
- graph/demo.py 冒烟通过;requirements 加 langgraph;PLAN 进度更新
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>