From 2b847cba4c192b3e4f1cce2475f075f0bb166529 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Wed, 27 Nov 2024 17:23:46 -0300 Subject: [PATCH] fix(basic.gblib): Refresh data source. --- packages/llm.gblib/services/ChatServices.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/llm.gblib/services/ChatServices.ts b/packages/llm.gblib/services/ChatServices.ts index b642e242..cdb9774d 100644 --- a/packages/llm.gblib/services/ChatServices.ts +++ b/packages/llm.gblib/services/ChatServices.ts @@ -593,7 +593,9 @@ export class ChatServices { Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. Attention not to generate ambiguous column name, qualifing tables on joins. - VERY IMPORTANT: Return just the generated SQL command as plain text with no Markdown or formmating. + VERY IMPORTANT: + - Return just the generated SQL command as plain text with no Markdown or formmating. + - Always use LOWER to ignore case on string comparison in WHERE clauses. ------------ SCHEMA: {schema} ------------