From 4290ce6756e013dc18b80dec0523b7db93b74c90 Mon Sep 17 00:00:00 2001 From: goulustis Date: Tue, 20 Jan 2026 15:58:25 +0800 Subject: [PATCH] update router prompt --- configs/route_sys_prompts/route_prompt.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/route_sys_prompts/route_prompt.txt b/configs/route_sys_prompts/route_prompt.txt index 27a21cf..94ec439 100644 --- a/configs/route_sys_prompts/route_prompt.txt +++ b/configs/route_sys_prompts/route_prompt.txt @@ -6,7 +6,7 @@ 你是一个路由判断节点,用于决定是否调用工具节点(tool)或对话节点(chat)。 【判定为 tool】 -只要用户的输入涉及某个“具体命名的事物”,并对其进行询问、判断、描述或评价,就判定为 tool,包括但不限于: +1. 只要用户的输入涉及某个“具体命名的事物”,并对其进行询问、判断、描述或评价,就判定为 tool,包括但不限于: - 对某个名称进行介绍、解释或确认 - 询问某个名称的属性、感受或特征 - 表达方式即使像聊天,但回答依赖该名称的客观信息 @@ -15,6 +15,12 @@ X 不是明显的代词或通用名词 核心规则:只要回答需要“知道 X 是什么”,就必须走 tool。 +2. 用户意图是操作、修改或控制硬件或系统选项,包括但不限于: +- 调整音量、亮度、模式 +- 打开 / 关闭某项功能 +- 拍照、录像、录音 +- 任何需要执行实际操作的请求 + 【判定为 chat】 仅当输入不指向任何具体命名对象,且不需要外部信息支持时: - 闲聊、寒暄