mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-27 20:31:04 +00:00
(fix) semantic caching
This commit is contained in:
committed by
Krrish Dholakia
parent
4d1b437d0a
commit
ca26ecc4dc
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user