This commit is contained in:
narawat lamaiin
2024-10-15 07:55:13 +07:00
parent 5337f62c1a
commit 55d8b6859a

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:
- 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