langchain/tests/unit_tests/chains
Ankush Gola 82baecc892
Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150)
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>
2023-02-28 19:44:39 -08:00
..
__init__.py
test_api.py Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150) 2023-02-28 19:44:39 -08:00
test_base.py Add BaseCallbackHandler and CallbackManager (#478) 2023-01-04 07:54:25 -08:00
test_combine_documents.py fix map reduce chain (#550) 2023-01-06 07:15:57 -08:00
test_constitutional_ai.py Added constitutional chain. (#1147) 2023-02-18 19:31:51 -08:00
test_conversation.py Harrison/add human prefix (#520) 2023-01-03 08:03:50 -08:00
test_hyde.py Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841) 2023-02-07 21:21:57 -08:00
test_llm_bash.py update branch name in gha (#274) 2022-12-06 22:28:50 -08:00
test_llm_checker.py Add LLMCheckerChain (#281) 2022-12-09 12:49:05 -08:00
test_llm_math.py
test_llm.py Harrison/serialize llm chain (#671) 2023-01-24 21:36:19 -08:00
test_natbot.py Harrison/cache (#343) 2022-12-15 07:53:32 -08:00
test_sequential.py chore: minor clean up / formatting (#233) 2022-12-01 10:50:36 -08:00
test_transform.py Add a Transformation Chain (#257) 2022-12-06 21:58:16 -08:00