9 Commits
Author SHA1 Message Date
potaser d46d02c93f Merge qa-v1_1_73-migration: 补回 api.py import os 2026-08-29 12:51:25 +08:00
potaser e67a032045 fix(qa): api.py 补回 import os(backend 段依赖,移植时误丢) 2026-08-29 12:51:13 +08:00
potaser 46ed4c98d4 Merge branch 'qa-v1_1_73-migration' into main: 断言锚定 + robustness + normalized 支持 2026-08-29 12:44:21 +08:00
potaser 225d852fe2 feat(qa): normalized 图 schema 支持(收编容器 normalized 后端)
- src/rag/normalized_release.py:Phase 2B normalized 只读适配器(32 seed/200 result)
- backend_guard:normalized 后端身份校验(Qdrant 12963472 点/Neo4j 精确计数)
- bounded_canonical/direct_flow:normalized one-hop 分支
- pipeline/api/config:graph_schema ∈ {canonical, normalized}
2026-08-29 12:44:11 +08:00
potaser dc0d393628 feat(qa): soft gate 兼容策略(fail-closed to legacy) 2026-08-29 12:39:31 +08:00
potaser 4fef3a65ac feat(qa): 断言锚定检索 + robustness 加固
- assertion_anchored_graph_retriever 断言锚定候选与 top30 合并
- pipeline/agentic_controller/llm_client 重试与 Q0 软回退
- question_decomposition JSON repair、citation_contract grouped 归一化
- api endpoint_path 全参数、retrieval 禁用 PC/SQLite、canonical-only 校验
- bounded_canonical/direct_flow 白名单、subquestion_orchestrator required_review
- scripts/qa_v1_1_73_server.py 新服务入口(backend_guard + gate_policy)
- 旧 start_qa_v1_1_73_*.sh 移入 docs/legacy_startup_scripts/
2026-08-29 12:39:25 +08:00
potaserandClaude Fable 5 fdf24c8ab0 feat(qa): 长文答案 prompt 改造(5000 字 + 图文标记指令)
- 删除 short paragraphs / concise overview 压缩约束
- 新增至少 5000 中文字答案要求(## 小节组织,证据不足时扩展背景/机制/跨物种比较/展望)
- 新增 [[FIG:PMCID]] 图片位置标记指令(每论文至多 1 处、总数 ≤6)
- max_tokens 保持 12000(此前已改)
- 对应容器镜像 plantai-rag-qa-normalized:20260828-longanswer 的同步

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-29 01:36:32 +08:00
potaser 1993b0a640 feat: migrate QA v1.1.73 runtime to RTX 5090 2026-07-23 22:10:58 +08:00
potaser 5bb98a937a 初始提交 2026-07-10 17:59:59 +08:00