mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-28 10:39:23 +00:00
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:
parent
362a446999
commit
55912868da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user