From 21e5415f2be41726b7414d4b893df03f69b114ab Mon Sep 17 00:00:00 2001 From: "me@rodrigorodriguez.com" Date: Thu, 24 Oct 2024 10:39:58 -0300 Subject: [PATCH] new(all); ROUTER. --- packages/llm.gblib/services/ChatServices.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/llm.gblib/services/ChatServices.ts b/packages/llm.gblib/services/ChatServices.ts index b8c946fc..10e584ce 100644 --- a/packages/llm.gblib/services/ChatServices.ts +++ b/packages/llm.gblib/services/ChatServices.ts @@ -401,10 +401,10 @@ export class ChatServices { const jsonInformation = ` - CRITICAL INSTRUCTION: You MUST ALWAYS return ONLY a valid JSON object matching this exact structure, with no additional text before or after: + CRITICAL INSTRUCTION: You MUST ALWAYS return ONLY a valid parsable JSON object (using \n in strings with enter char) matching this exact structure, with no additional text before or after: {{ - "text": "Your answer goes here, providing a thorough response using information from multiple source documents.", + "text": "Your answer goes here, \n\n providing a thorough response using information from multiple source documents.", "sources": [ {{ "file": "document1.pdf",