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