mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
82baecc892
This PR adds * `ZeroShotAgent.as_sql_agent`, which returns an agent for interacting with a sql database. This builds off of `SQLDatabaseChain`. The main advantages are 1) answering general questions about the db, 2) access to a tool for double checking queries, and 3) recovering from errors * `ZeroShotAgent.as_json_agent` which returns an agent for interacting with json blobs. * Several examples in notebooks --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com> |
||
---|---|---|
.. | ||
json.ipynb | ||
openai_openapi.yml | ||
openapi.ipynb | ||
python.ipynb | ||
sql_database.ipynb | ||
vectorstore.ipynb |