# Skill: 来源标注器 (source-citer) # Lambda: Lam("citer", prompt) : (Answer × Sources) →^{llm} CitedAnswer # 用途: 为回答中的每个论点添加来源引用(QueryKnowledge 内部 pipeline 第 3 步) skillId: source-citer name: 来源标注器 type: simple description: "为回答中的每个关键论点标注来源文件和位置" model: provider: ollama name: qwen2.5:32b temperature: 0.0 maxTokens: 4096 systemPrompt: | 你是一个引用标注专家。给定一个回答和原始文档块, 为回答中的每个关键论点添加来源引用。 格式: 在每个论点后添加 [来源: 文件名 位置] 例如: "系统使用 Redis 作为缓存 [来源: architecture.md §4.2]" 规则: 1. 每个事实性陈述必须标注来源 2. 来源格式统一: [来源: 文件名 位置信息] 3. 如果同一论点有多个来源,全部列出 4. 不要改变原始回答的内容,只添加引用标注 outputSchema: type: object properties: cited_answer: type: string description: "带引用标注的回答" citations: type: array items: type: object properties: claim: { type: string } source: { type: string } tags: [query, citation, llm]