Files
PlantAI-rag-new/sdk/mock/fixtures/qa_chat.json
T
jerryandClaude Fable 5 0875bb036c P0/M1: 四部分重构——frontend→ui、backend→sdk 改名 + 引用修复 + 骨架
- git mv 保留历史:ui/(Vue3+Vite)、sdk/(BFF 中间层)
- 路径语义修正:db_path/figures_cache 改相对 sdk/(BFF cwd),
  历史库 sdk/backend/data 迁移至 sdk/data/(会话/图片缓存无损)
- 引用修复 ~15 处:config.py、deploy/*.sh、vitest/playwright 配置、
  单测导入路径、docs、README、gitignore、.env.example
- 骨架:agent/{qa,methodology,legacy-rag,vendor}、knowledge/manifest.yaml、
  tooling/{compile,kb,crypto,assemble,audit,tools,scripts} + README
- 门禁验证:sdk pytest 125 通过、ui vitest 158 通过、
  生产 BFF 脚本重启四上游全绿 + 静态托管 + 会话库无损

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 12:56:47 +08:00

146 lines
6.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"query_id": "q-mock-001",
"version": "1.1.73-assertion-anchored",
"mode": "chat",
"answer": "水稻 **SPL**(SQUAMOSA PROMOTER BINDING PROTEIN-LIKE)基因家族共有 **19 个成员**,主要功能包括:\n\n1. **穗部形态建成**:*OsSPL14*(IPA1/WFP)通过调控分蘖数与穗分枝,是理想株型的关键因子\n2. **生育期调控**:部分成员参与抽穗期的光周期响应\n3. **miR156 调控网络**:多数成员受 miR156 转录后调控,随植株发育表达量上升\n\n| 成员 | 关键功能 | 证据来源 |\n|------|---------|----------|\n| OsSPL14 | 穗分枝、株型建成 | PMID 20393464 |\n| OsSPL7 | 穗发育负调控 | PMID 22429691 |\n| OsSPL16 | 籽粒大小与品质 | PMID 22635119 |\n",
"source_count": 4,
"sources": [
{
"id": "src-1",
"title": "Regulation of OsSPL14 by OsmiR156 defines ideal plant architecture in rice",
"paper_id": "PMID20393464",
"chunk_id": "chunk_20393464_12",
"pmid": "20393464",
"pmcid": null,
"doi": "10.1038/ng.591",
"url": "https://doi.org/10.1038/ng.591",
"snippet": "OsSPL14 positively regulates panicle branching and grain yield in rice, acting as a key factor of ideal plant architecture.",
"score": 0.92,
"locator": "Abstract",
"section": "Results",
"support_count": 3,
"type": "assertion",
"metadata": { "evidence_confidence": "high" }
},
{
"id": "src-2",
"title": "Genome-wide identification of the SPL gene family in Tartary buckwheat",
"paper_id": "PMID31286919",
"chunk_id": "chunk_31286919_07",
"pmid": "31286919",
"pmcid": "PMC6612345",
"doi": "10.1186/s12870-019-1903-y",
"url": "https://doi.org/10.1186/s12870-019-1903-y",
"snippet": "A total of 28 SPL genes were identified in Fagopyrum tataricum genome and their expression profiles were analyzed across tissues.",
"score": 0.85,
"locator": "Results",
"section": "Results",
"support_count": 2,
"type": "assertion",
"metadata": {}
},
{
"id": "src-3",
"title": "OsSPL16 controls grain size and quality via the GW8 pathway",
"paper_id": "PMID22635119",
"chunk_id": "chunk_22635119_03",
"pmid": "22635119",
"pmcid": null,
"doi": "10.1038/ng.2327",
"url": "https://doi.org/10.1038/ng.2327",
"snippet": "OsSPL16 positively regulates cell proliferation and promotes grain width, improving yield and quality.",
"score": 0.81,
"locator": "Abstract",
"section": "Results",
"support_count": 1,
"type": "assertion",
"metadata": {}
},
{
"id": "src-4",
"title": "OsSPL7 regulates panicle development in rice",
"paper_id": "PMID22429691",
"chunk_id": "chunk_22429691_09",
"pmid": "22429691",
"pmcid": "PMC3301234",
"doi": null,
"url": "https://pubmed.ncbi.nlm.nih.gov/22429691/",
"snippet": "OsSPL7 acts as a negative regulator of panicle branching in rice.",
"score": 0.72,
"locator": "Results",
"section": "Results",
"support_count": 1,
"type": "assertion",
"metadata": {}
}
],
"used_sources": [
{
"id": "src-1",
"title": "Regulation of OsSPL14 by OsmiR156 defines ideal plant architecture in rice",
"paper_id": "PMID20393464",
"chunk_id": "chunk_20393464_12",
"pmid": "20393464",
"pmcid": null,
"doi": "10.1038/ng.591",
"url": "https://doi.org/10.1038/ng.591",
"snippet": "OsSPL14 positively regulates panicle branching and grain yield in rice.",
"score": 0.92,
"locator": "Abstract",
"section": "Results",
"support_count": 3,
"type": "assertion",
"metadata": {}
}
],
"chains": [
{
"chain_id": "c1",
"hops": [
{ "source": "OsSPL14", "target": "panicle", "relation": "expressed_in", "source_type": "Gene", "target_type": "Tissue", "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" },
{ "source": "OsSPL14", "target": "panicle branching", "relation": "involved_in", "source_type": "Gene", "target_type": "Process", "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" }
]
},
{
"chain_id": "c2",
"hops": [
{ "source": "OsSPL14", "target": "miR156", "relation": "regulated_by", "source_type": "Gene", "target_type": "Molecule", "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" }
]
}
],
"graph": {
"nodes": [
{ "id": "OsSPL14", "label": "OsSPL14", "type": "Gene" },
{ "id": "panicle", "label": "panicle", "type": "Tissue" },
{ "id": "panicle branching", "label": "panicle branching", "type": "Process" },
{ "id": "miR156", "label": "miR156", "type": "Molecule" },
{ "id": "OsSPL16", "label": "OsSPL16", "type": "Gene" },
{ "id": "grain width", "label": "grain width", "type": "Trait" }
],
"edges": [
{ "source": "OsSPL14", "target": "panicle", "relation": "expressed_in", "label": "expressed_in", "chain_id": "c1", "hop": 1, "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" },
{ "source": "OsSPL14", "target": "panicle branching", "relation": "involved_in", "label": "involved_in", "chain_id": "c1", "hop": 2, "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" },
{ "source": "OsSPL14", "target": "miR156", "relation": "regulated_by", "label": "regulated_by", "chain_id": "c2", "hop": 1, "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" },
{ "source": "OsSPL16", "target": "grain width", "relation": "involved_in", "label": "involved_in", "chain_id": "c3", "hop": 1, "paper_id": "PMID22635119", "pmid": "22635119", "pmcid": null, "doi": "10.1038/ng.2327" }
],
"chains": [
{
"chain_id": "c1",
"hops": [
{ "source": "OsSPL14", "target": "panicle", "relation": "expressed_in", "source_type": "Gene", "target_type": "Tissue", "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" },
{ "source": "OsSPL14", "target": "panicle branching", "relation": "involved_in", "source_type": "Gene", "target_type": "Process", "paper_id": "PMID20393464", "pmid": "20393464", "pmcid": null, "doi": "10.1038/ng.591" }
]
}
]
},
"retrieval_plan": {
"anchor_entity": "SPL gene family",
"relation_family": "function",
"preferred_papers": ["PMID20393464", "PMID31286919"]
},
"retrieval_notes": "graph-balanced top30 evidence chain, with 15 graph-derived items",
"timing": { "total_s": 41.2, "retrieval_s": 22.1, "generation_s": 19.1 },
"citation_map": { "1": "PMID20393464", "2": "PMID31286919", "3": "PMID22635119" },
"raw": {}
}