mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
(fix) semantic caching
This commit is contained in:
parent
102f20fc03
commit
e32c2beddd
1 changed files with 1 additions and 0 deletions
|
|
@ -1006,6 +1006,7 @@ def test_redis_semantic_cache_completion():
|
|||
port=os.environ["REDIS_PORT"],
|
||||
password=os.environ["REDIS_PASSWORD"],
|
||||
similarity_threshold=0.8,
|
||||
redis_semantic_cache_embedding_model="text-embedding-ada-002",
|
||||
)
|
||||
response1 = completion(
|
||||
model="gpt-3.5-turbo",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue