From 55d8b6859ac51c58b8f73e1afdd7f7515511e762 Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Tue, 15 Oct 2024 07:55:13 +0700 Subject: [PATCH] update --- src/interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.jl b/src/interface.jl index 1572d61..e900096 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -168,7 +168,7 @@ function decisionMaker(state::T1, context, text2textInstructLLM::Function, 4) Action_name (Must be aligned with your plan): Can be one of the following functions: - TABLEINFO[list_of_table_name], which you can use to get the data type of a table column. "list_of_table_name" is a list of table name you want to get info. e.g. TABLEINFO["table name 1", "table name 2"] - GETDATA[SQL], which you can use to get the data from the database. "SQL" is the single SQL command to be executed against the database. - For more effective text search, it's advisable to use case-insensitivity and the ILIKE operator. + For more effective text search, it's necessary to use case-insensitivity and the ILIKE operator. Do not wrap the SQL as it will be executed against the database directly and SQL must be ended with ';'. 5) Action_input: Input to the action 6) Observation: Result of the immediately preceding action