This commit is contained in:
narawat lamaiin
2024-10-14 21:38:41 +07:00
parent c3ae51b670
commit 5a1600051b

View File

@@ -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: 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"] - 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. - 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 optimal text search, it's advisable to employ case-insensitivity and the ILIKE operator. For more effective text search, it's advisable 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 ';'. 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 5) Action_input: Input to the action
6) Observation: Result of the immediately preceding action 6) Observation: Result of the immediately preceding action