Amos Ng
fa6826e417
Fix sqlalchemy warnings when running tests ( #733 )
...
This has been bugging me when running my own tests that call langchain
methods :P
2023-01-25 07:14:07 -08:00
Harrison Chase
54d7f1c933
fix caching ( #658 )
2023-01-19 15:33:45 -08:00
Harrison Chase
73f7ebd9d1
Harrison/sqlalchemy cache store ( #536 )
...
Co-authored-by: Jason Gill <jasongill@gmail.com >
2023-01-04 18:38:15 -08:00
Samantha Whitmore
6bc8ae63ef
Add Redis cache implementation ( #397 )
...
I'm using a hash function for the key just to make sure its length
doesn't get out of hand, otherwise the implementation is quite similar.
2022-12-22 12:31:27 -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
Benjamin
85c1bd2cd0
add sqlalchemy generic cache ( #361 )
...
Created a generic SQLAlchemyCache class to plug any database supported
by SQAlchemy. (I am using Postgres).
I also based the class SQLiteCache class on this class SQLAlchemyCache.
As a side note, I'm questioning the need for two distinct class
LLMCache, FullLLMCache. Shouldn't we merge both ?
2022-12-16 16:47:23 -08:00
Harrison Chase
78b31e5966
Harrison/cache ( #343 )
2022-12-15 07:53:32 -08:00