This commit is contained in:
archer 2023-08-23 18:53:46 +08:00
parent e266ab6a2e
commit a5c8f34706
No known key found for this signature in database
GPG Key ID: 569A5660D2379E28

View File

@ -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 ``;
})();