From 316dddc7cddb2f7de64870ecffed4d877c9a20df Mon Sep 17 00:00:00 2001 From: Stephen Hankinson Date: Mon, 9 Oct 2023 19:32:45 -0300 Subject: [PATCH] fix wording of query_sql_database_tool_description (#11530) - **Description:** Fixes minor typo for the query_sql_database_tool_description in the db toolkit - **Issue:** N/A - **Dependencies:** N/A - **Tag maintainer:** @nfcampos - **Twitter handle:** N/A --- libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py b/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py index db217a347a..dfcdd39083 100644 --- a/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py +++ b/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py @@ -48,7 +48,7 @@ class SQLDatabaseToolkit(BaseToolkit): "result from the database. If the query is not correct, an error message " "will be returned. If an error is returned, rewrite the query, check the " "query, and try again. If you encounter an issue with Unknown column " - f"'xxxx' in 'field list', using {info_sql_database_tool.name} " + f"'xxxx' in 'field list', use {info_sql_database_tool.name} " "to query the correct table fields." ) query_sql_database_tool = QuerySQLDataBaseTool(