mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) detect amazon.titan-embed-text-v1 as bedrock embedding model
This commit is contained in:
parent
f4a45ec35b
commit
9cfd218101
4 changed files with 7 additions and 4 deletions
|
@ -1700,6 +1700,8 @@ def get_llm_provider(model: str, custom_llm_provider: Optional[str] = None, api_
|
|||
# cohere embeddings
|
||||
elif model in litellm.cohere_embedding_models:
|
||||
custom_llm_provider = "cohere"
|
||||
elif model in litellm.bedrock_embedding_models:
|
||||
custom_llm_provider = "bedrock"
|
||||
|
||||
if custom_llm_provider is None or custom_llm_provider=="":
|
||||
print()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue