From 58940ec9832ed3520e29c3074fed4cf40587f7a7 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Sun, 23 Mar 2025 14:25:04 +0800 Subject: [PATCH] fix(prompts): enhance FOOTNOTE_PROMPT for clarity and completeness - Updated the FOOTNOTE_PROMPT to instruct the model to provide answers based on its knowledge when reference materials are irrelevant, ensuring responses are clearly structured and complete. --- src/renderer/src/config/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/config/prompts.ts b/src/renderer/src/config/prompts.ts index b40e3c565f..41405ccd5b 100644 --- a/src/renderer/src/config/prompts.ts +++ b/src/renderer/src/config/prompts.ts @@ -93,7 +93,7 @@ export const REFERENCE_PROMPT = `Please answer the question based on the referen Please respond in the same language as the user's question. ` -export const FOOTNOTE_PROMPT = `Please answer the question based on the reference materials and use footnote format to cite your sources. Please ignore irrelevant reference materials. +export const FOOTNOTE_PROMPT = `Please answer the question based on the reference materials and use footnote format to cite your sources. Please ignore irrelevant reference materials. If the reference material is not relevant to the question, please answer the question based on your knowledge. The answer should be clearly structured and complete. ## Footnote Format: