| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- # Prompt 配置文件
- # 定义所有 prompt 模板的路径和元数据
- prompts:
- # 意图识别相关
- intent_recognition:
- file: "prompts/yitushibie_template_lite.md"
- description: "用户意图识别prompt(精简版,适配小模型)"
- encoding: "utf-8"
- variables: ["userMessage"]
-
- rag_query:
- file: "prompts/RAG.md"
- description: "RAG检索问答prompt"
- encoding: "utf-8"
- variables: ["userMessage"]
-
- # 回答生成相关
- final_answer:
- file: "prompts/final_answer_template.md"
- description: "最终回答格式化prompt(纯文本)"
- encoding: "utf-8"
- variables: ["contextJSON", "historyContext", "userMessage"]
-
- json_answer:
- file: "prompts/JSON.MD"
- description: "JSON格式回答prompt"
- encoding: "utf-8"
- variables: ["contextJSON", "userMessage", "historyContext", "onlineSearchContent"]
-
- # 特定功能prompt
- document_writing:
- file: "prompts/document_writing_template.md"
- description: "公文写作prompt"
- encoding: "utf-8"
- variables: ["contextJSON", "userMessage"]
-
- ppt_outline:
- file: "prompts/ppt_outline_template.md"
- description: "PPT大纲生成prompt"
- encoding: "utf-8"
- variables: ["contextJSON", "userMessage"]
-
- streaming_output:
- file: "prompts/liushi.md"
- description: "流式输出prompt"
- encoding: "utf-8"
- variables: ["userMessage"]
-
- three_suggestions:
- file: "prompts/3jianyi.md"
- description: "三个建议prompt"
- encoding: "utf-8"
- variables: ["userMessage"]
-
- guess_questions:
- file: "prompts/guess_questions_template.md"
- description: "猜你想问prompt"
- encoding: "utf-8"
- variables: ["currentContent"]
-
- image_recognition_streaming:
- file: "prompts/yitushibiefeiliu.md"
- description: "以图识别(流式)prompt"
- encoding: "utf-8"
- variables: []
- # 默认配置
- defaults:
- encoding: "utf-8"
- cache_enabled: true
- auto_reload: false # 生产环境建议false,开发环境可以true
|