langchain/tests/integration_tests/cache
Ehsan M. Kermani 4a246e2fd6
Allow clearing cache and fix gptcache (#3493)
This PR

* Adds `clear` method for `BaseCache` and implements it for various
caches
* Adds the default `init_func=None` and fixes gptcache integtest
* Since right now integtest is not running in CI, I've verified the
changes by running `docs/modules/models/llms/examples/llm_caching.ipynb`
(until proper e2e integtest is done in CI)
2023-04-26 22:03:50 -07:00
..
__init__.py Harrison/gpt cache (#2744) 2023-04-12 14:16:58 -07:00
test_gptcache.py Allow clearing cache and fix gptcache (#3493) 2023-04-26 22:03:50 -07:00