Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_embedding_caching_azure

Ishaan Jaffer973d4b71e7c7
diff --git a/tests/local_testing/test_caching.py b/tests/local_testing/test_caching.py
index 8bd73af6092..3fb3ae3db4c 100644
--- a/tests/local_testing/test_caching.py
+++ b/tests/local_testing/test_caching.py
@@ -527,7 +527,7 @@ def test_embedding_caching_azure():
print(api_key)
print(api_base)
embedding1 = embedding(
- model="text-embedding-ada-002",
+ model="azure/text-embedding-ada-002",
input=["good morning from litellm", "this is another item"],
api_key=api_key,
api_base=api_base,
@@ -540,7 +540,7 @@ def test_embedding_caching_azure():
time.sleep(1)
start_time = time.time()
embedding2 = embedding(
- model="text-embedding-ada-002",
+ model="azure/text-embedding-ada-002",
input=["good morning from litellm", "this is another item"],
api_key=api_key,
api_base=api_base,