Update toolkit.py to remove single quotes around table names (#12445)

**Description:** Removing the single quote wrapper around the table
names in the SQL agent toolkit.py file as it misleads the LLM into
querying against tables with single quotes around their names.
**Issue:** #7457 
**Dependencies:** None
**Tag maintainer:** @hwchase17 
**Twitter handle:** None
This commit is contained in:
The1Bill
2023-11-10 09:39:15 -05:00
committed by GitHub
parent 362a446999
commit 55912868da

View File

@@ -38,7 +38,7 @@ class SQLDatabaseToolkit(BaseToolkit):
"schema and sample rows for those tables. "
"Be sure that the tables actually exist by calling "
f"{list_sql_database_tool.name} first! "
"Example Input: 'table1, table2, table3'"
"Example Input: table1, table2, table3"
)
info_sql_database_tool = InfoSQLDatabaseTool(
db=self.db, description=info_sql_database_tool_description