mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Merge f049d8c223 into e768ad55ce
This commit is contained in:
commit
e5cc9212ca
1 changed files with 3 additions and 2 deletions
|
|
@ -81,8 +81,9 @@ class RedisSemanticCache(BaseCache):
|
|||
embedding; defaults to the Router deployment's configured max_input_tokens
|
||||
embedding_timeout: Seconds a cache lookup may spend embedding the prompt before it
|
||||
gives up and lets the request continue to the LLM
|
||||
ttl: Default time-to-live for cache entries in seconds
|
||||
**kwargs: Additional arguments passed to the Redis client
|
||||
**kwargs: Additional arguments passed to the Redis client. A `ttl` key sets
|
||||
the default time-to-live for cache entries in seconds; it is read per
|
||||
lookup by _get_ttl, not forwarded to the Redis client
|
||||
|
||||
Raises:
|
||||
Exception: If similarity_threshold is not provided or required Redis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue