From 32b8fa7e63523ac7c61f1f8b37a74a7656349c8a 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 b40e3c56..41405ccd 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: