feat(scenarios): 支持场景配置加载与首页展示

This commit is contained in:
2026-05-30 00:08:00 +08:00
parent 6291940734
commit 35b80929b0
13 changed files with 256 additions and 0 deletions

22
configs/knowledge_qa.yaml Normal file
View File

@@ -0,0 +1,22 @@
id: knowledge_qa
name: 知识库问答助手
description: 用于 SOP、制度、客服知识库和内部文档问答
applicable_questions:
- SOP 问答
- 制度问答
agent:
role: 知识库问答专家
goal: 基于知识库内容回答用户问题
instructions:
- 回答必须优先基于检索内容
- 不确定时说明缺失信息
rag:
enabled: true
collection: knowledge_qa
top_k: 5
tools:
- generate_action_items
output:
type: general_answer
audit:
enabled: true