From a5c8f3470649427590aa0e23bec9a72ddbfaef5e Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Wed, 23 Aug 2023 18:53:46 +0800 Subject: [PATCH] prompt --- client/src/service/moduleDispatch/chat/oneapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/service/moduleDispatch/chat/oneapi.ts b/client/src/service/moduleDispatch/chat/oneapi.ts index a7d6a1fea..4e4e7e9dd 100644 --- a/client/src/service/moduleDispatch/chat/oneapi.ts +++ b/client/src/service/moduleDispatch/chat/oneapi.ts @@ -239,7 +239,7 @@ function getChatMessages({ if (limitPrompt) return `Use the provided content delimited by triple quotes to answer questions.${limitPrompt}`; if (quotePrompt && !limitPrompt) { - return `Use the provided content delimited by triple quotes to answer questions.Your task is to answer the question using only the provided conetnt and to cite the passage(s) of the conetnt used to answer the question. If the conetnt does not contain the information needed to answer this question then simply write: "你的问题没有在知识库中体现".`; + return `Use the provided content delimited by triple quotes to answer questions.Your task is to answer the question using only the provided content. If the content does not contain the information needed to answer this question then simply write: "你的问题没有在知识库中体现".`; } return ``; })();