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
Samantha Whitmore
be7de427ca
Serialize all the chains! ( #761 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2023-01-27 00:45:17 -08:00
Harrison Chase
cbc146720b
verbose flag ( #683 )
2023-01-22 12:44:14 -08:00
Francisco Ingham
b929fd9f59
Exclude reference to 'example' in api prompt ( #629 )
...
Co-authored-by: lesscomfortable <pancho_ingham@hotmail.com >
2023-01-16 22:45:14 -08:00
Harrison Chase
3d43906572
Harrison/new api chain ( #623 )
...
Co-authored-by: Francisco Ingham <fpingham@gmail.com >
Co-authored-by: lesscomfortable <pancho_ingham@hotmail.com >
2023-01-15 18:34:43 -08:00
Francisco Ingham
1787c473b8
Custom prompt option for llm_bash and api chains ( #612 )
...
Co-authored-by: lesscomfortable <pancho_ingham@hotmail.com >
2023-01-14 07:22:52 -08:00
Harrison Chase
9e04c34e20
Add BaseCallbackHandler and CallbackManager ( #478 )
...
Co-authored-by: Ankush Gola <9536492+agola11@users.noreply.github.com >
2023-01-04 07:54:25 -08:00
Harrison Chase
cf98f219f9
Harrison/tools exp ( #372 )
2022-12-18 21:51:23 -05:00
Harrison Chase
3474f39e21
Harrison/improve cache ( #368 )
...
make it so everything goes through generate, which removes the need for
two types of caches
2022-12-18 16:22:42 -05:00
Harrison Chase
28be37f470
LLMRequestsChain ( #267 )
2022-12-06 21:55:02 -08:00
Harrison Chase
8cba5b791a
hotfix for api logging ( #262 )
2022-12-04 21:12:05 -08:00
Harrison Chase
a9ce04201f
Harrison/improve usability of api chain ( #247 )
...
improve usability of api chain
2022-12-02 15:44:10 -08:00
Harrison Chase
c897bd6cbd
api chain ( #246 )
...
Co-authored-by: Subhash Ramesh <33400216+thecooltechguy@users.noreply.github.com >
2022-12-02 13:39:36 -08:00