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:
Bagatur
2024-01-22 08:19:08 -08:00
committed by GitHub
parent 05162928c0
commit 1dc6c1ce06
22 changed files with 3618 additions and 1361 deletions

View File

@@ -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()