mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
prompt
This commit is contained in:
@@ -211,7 +211,7 @@ function filterQuote({
|
||||
const quotePrompt =
|
||||
filterQuoteQA.length > 0
|
||||
? `"""${filterQuoteQA
|
||||
.map((item) => (item.a ? `${item.q}\n${item.a}` : item.q))
|
||||
.map((item) => (item.a ? `[${item.q}\n${item.a}]` : `[${item.q}]`))
|
||||
.join('\n\n')}"""`
|
||||
: '';
|
||||
|
||||
|
Reference in New Issue
Block a user