mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 20:46:45 +00:00
core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168)
Revamp SQL use cases docs. In the process update SQL chains and agents.
This commit is contained in:
@@ -69,3 +69,7 @@ class SQLDatabaseToolkit(BaseToolkit):
|
||||
list_sql_database_tool,
|
||||
query_sql_checker_tool,
|
||||
]
|
||||
|
||||
def get_context(self) -> dict:
|
||||
"""Return db context that you may want in agent prompt."""
|
||||
return self.db.get_context()
|
||||
|
Reference in New Issue
Block a user