- 重构 RAG 聊天模式,支持知识、日记和检测等多种模式 - 新增日记和检测模式的实现 - 更新 API 接口和前端交互逻辑,支持新的聊天模式 - 优化 prompts.yml 文件结构,更好地支持不同模式的提示模板
12 lines
405 B
Go
12 lines
405 B
Go
package consts
|
|
|
|
const (
|
|
// TAG animal/ 接口模式
|
|
AnimalModePrefer string = "prefer" // 根据用户行为记录优先返回【偏好目标】
|
|
|
|
// TAG rag/chat 接口模式; 配合 yml 文件的书写习惯。
|
|
RagChatModeKnowledge string = "Knowledge"
|
|
RagChatModeDiary string = "Diary" // 查询路遇资料等
|
|
RagChatModeDetect string = "Detect" // 辅助 catface 的辨认功能;
|
|
)
|