From a906097026af23a744fdfc09afb8a4b23f7c76c3 Mon Sep 17 00:00:00 2001 From: ousugo Date: Tue, 25 Feb 2025 16:25:38 +0800 Subject: [PATCH] feat: Enhance reference prompt with language matching instruction --- src/renderer/src/config/prompts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/config/prompts.ts b/src/renderer/src/config/prompts.ts index 623645a091..218e59a3ae 100644 --- a/src/renderer/src/config/prompts.ts +++ b/src/renderer/src/config/prompts.ts @@ -64,6 +64,8 @@ export const REFERENCE_PROMPT = `请根据参考资料回答问题 ## 参考资料: {references} + +请使用同用户问题相同的语言进行回答。 ` export const FOOTNOTE_PROMPT = `请根据参考资料回答问题,并使用脚注格式引用数据来源。请忽略无关的参考资料。