mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
(fix) semantic caching
This commit is contained in:
parent
4d1b437d0a
commit
ca26ecc4dc
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