mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
(fix) semantic caching
This commit is contained in:
parent
bf6e3f807b
commit
ba4ca4d02a
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