SQLAlchemyMd5Cache(
self,
engine: Engine,
cache_schema: Type[FullMd5LLMCache] = FullMd5LLMCache
| Name | Type |
|---|---|
| engine | Engine |
| cache_schema | Type[FullMd5LLMCache] |
Cache that uses SQAlchemy as a backend.
Look up based on prompt and llm_string.
Update based on prompt and llm_string.
Clear cache.