Commit a5c8f347 by archer

prompt

parent e266ab6a
...@@ -239,7 +239,7 @@ function getChatMessages({ ...@@ -239,7 +239,7 @@ function getChatMessages({
if (limitPrompt) if (limitPrompt)
return `Use the provided content delimited by triple quotes to answer questions.${limitPrompt}`; return `Use the provided content delimited by triple quotes to answer questions.${limitPrompt}`;
if (quotePrompt && !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 ``; return ``;
})(); })();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment