(feat) Embedding: Async Azure

This commit is contained in:
ishaan-jaff 2023-11-29 19:43:47 -08:00
parent 53554bae85
commit c05da0797b
3 changed files with 45 additions and 3 deletions

View file

@ -1801,7 +1801,8 @@ def embedding(
timeout=timeout,
model_response=EmbeddingResponse(),
optional_params=optional_params,
client=client
client=client,
aembedding=aembedding
)
elif model in litellm.open_ai_embedding_models or custom_llm_provider == "openai":
api_base = (