fix(suggest): 建议默认使用中文,不混入英文词汇
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
规则 7 从"使用与用户相同的语言"改为明确要求中文优先, 英文术语需翻译(如 workflow→工作流)。 示例同步更新为纯中文表达。
This commit is contained in:
@@ -659,11 +659,11 @@ const HARDCODED_PROMPTS: Record<string, { system: string; user: (arg: string) =>
|
||||
4. 每个不超过 30 个中文字符
|
||||
5. 不要重复对话中已讨论过的内容
|
||||
6. 不要生成空泛的建议(如"继续分析"、"换个角度")
|
||||
7. 使用与用户相同的语言
|
||||
7. 默认使用中文,不要混入英文词汇(如"workflow"用"工作流"、"report"用"报表"),除非用户在对话中明确使用英文
|
||||
8. 建议会被用户直接点击发送,因此不要包含任何称谓(如"领导"、"老板"、"老师"等),用无主语的问句或陈述句
|
||||
|
||||
只输出 JSON 数组,包含恰好 3 个字符串。不要输出任何其他内容。
|
||||
示例:["科室绩效分析可以按哪些维度拆解?", "用 researcher 技能查一下相关文献?", "上次提到的排班冲突问题,需要继续想解决方案吗?"]`,
|
||||
示例:["科室绩效分析可以按哪些维度拆解?", "用研究技能查一下相关文献?", "上次提到的排班冲突问题,需要继续想解决方案吗?"]`,
|
||||
user: (context: string) => `以下是对话中最近的消息:\n\n${context}\n\n请生成 3 个后续建议(1 深入追问 + 1 实用行动 + 1 管家关怀)。`,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user