From 681f398f1436ed5f56acce88b7efe6ab3ec0c5b4 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 13 Aug 2024 20:36:57 -0300 Subject: [PATCH] new(whatsapp.gblib): LLM SQL. --- packages/gpt.gblib/services/ChatServices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gpt.gblib/services/ChatServices.ts b/packages/gpt.gblib/services/ChatServices.ts index 8909dcf1..dfc8edc6 100644 --- a/packages/gpt.gblib/services/ChatServices.ts +++ b/packages/gpt.gblib/services/ChatServices.ts @@ -506,7 +506,7 @@ export class ChatServices { const prompt = PromptTemplate.fromTemplate(`Based on the provided SQL table schema below, write a SQL query that would answer the user's question. - VERY IMPORTANT: Return just the generated SQL command, nothing else. + VERY IMPORTANT: Return just the generated SQL command as plain text with no Markdown or formmating. ------------ SCHEMA: {schema} ------------