new(whatsapp.gblib): LLM SQL.

This commit is contained in:
Rodrigo Rodriguez 2024-08-13 20:36:57 -03:00
parent fa6fe752cc
commit 681f398f14

View file

@ -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}
------------