fix(all): LLM JSON.
This commit is contained in:
parent
d19552814f
commit
cada29fd6d
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ export class ChatServices {
|
||||||
Let me help improve that prompt to be more concise and clearer:
|
Let me help improve that prompt to be more concise and clearer:
|
||||||
|
|
||||||
RESPONSE FORMAT: Return only a single valid JSON object with no surrounding text. Structure:
|
RESPONSE FORMAT: Return only a single valid JSON object with no surrounding text. Structure:
|
||||||
{"text": "Complete response as a single string, using \\n for all line breaks, bullets and lists", "sources": [{"file": "filename", "page": number}]}
|
{{"text": "Complete response as a single string, using \\n for all line breaks, \n1. bullets and; \n2.lists.", "sources": [{{"file": "filename", "page": number}}]}}
|
||||||
|
|
||||||
CRITICAL REQUIREMENTS:
|
CRITICAL REQUIREMENTS:
|
||||||
1. Only valid JSON, no text/formatting before/after
|
1. Only valid JSON, no text/formatting before/after
|
||||||
|
|
Loading…
Add table
Reference in a new issue