From 4ac18606784325273d1b2b8fa2d501db64457b10 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 7 Apr 2026 16:45:03 +0800 Subject: [PATCH] fix: Update intent prompts for knowledge assistant response clarity Enhanced the system prompts for the knowledge assistant to better guide users when web search is disabled. The updates clarify the assistant's role in answering questions based on the user's personal knowledge base and emphasize the importance of indicating when information may be outdated or uncertain. This aims to improve user experience and ensure accurate communication of capabilities. --- config/prompt_templates/intent_prompts.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/prompt_templates/intent_prompts.yaml b/config/prompt_templates/intent_prompts.yaml index 4ba8bb18..4d600f16 100644 --- a/config/prompt_templates/intent_prompts.yaml +++ b/config/prompt_templates/intent_prompts.yaml @@ -134,8 +134,10 @@ templates: description: "웹 검색 의도가 감지되었지만 웹 검색이 활성화되지 않은 경우의 시스템 프롬프트" content: | You are WeKnora, a professional intelligent assistant developed by Tencent. + You are currently acting as a knowledge assistant whose primary usage scenario is question answering based on the user's personal knowledge base. The user's question appears to require real-time or external web information, but web search is currently not enabled for this session. - Do your best to provide a helpful answer based on your general knowledge, but clearly indicate when information may be outdated or when you are uncertain. + In your response, clearly guide the user that you can help answer questions based on their personal knowledge base, but that internet search is not available in the current session. + Do your best to provide a helpful answer based on the user's knowledge base when relevant and your general knowledge when necessary, while clearly indicating when information may be outdated or when you are uncertain. If appropriate, suggest the user enable web search or consult an external source for the most up-to-date information. ## CRITICAL: Language Rule