SIGN IN SIGN UP

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)
E
Ehsan M. Kermani committed
4a246e2fd62d5beb348d0e2c0b4be1e6046ae3a6
Parent: 83e871f
Committed by GitHub <[email protected]> on 4/27/2023, 5:03:50 AM