forked from phoenix/litellm-mirror
docs(bedrock.md): add multimodal embedding support to docs
This commit is contained in:
parent
cdfea7e5ae
commit
9aa006d353
2 changed files with 12 additions and 7 deletions
|
@ -894,12 +894,17 @@ print(response)
|
||||||
|
|
||||||
## Supported AWS Bedrock Embedding Models
|
## Supported AWS Bedrock Embedding Models
|
||||||
|
|
||||||
| Model Name | Function Call |
|
| Model Name | Usage | Supported Additional OpenAI params |
|
||||||
|----------------------|---------------------------------------------|
|
|----------------------|---------------------------------------------|-----|
|
||||||
| Titan Embeddings V2 | `embedding(model="bedrock/amazon.titan-embed-text-v2:0", input=input)` |
|
| Titan Embeddings V2 | `embedding(model="bedrock/amazon.titan-embed-text-v2:0", input=input)` | [here](https://github.com/BerriAI/litellm/blob/f5905e100068e7a4d61441d7453d7cf5609c2121/litellm/llms/bedrock/embed/amazon_titan_v2_transformation.py#L59) |
|
||||||
| Titan Embeddings - V1 | `embedding(model="bedrock/amazon.titan-embed-text-v1", input=input)` |
|
| Titan Embeddings - V1 | `embedding(model="bedrock/amazon.titan-embed-text-v1", input=input)` | [here](https://github.com/BerriAI/litellm/blob/f5905e100068e7a4d61441d7453d7cf5609c2121/litellm/llms/bedrock/embed/amazon_titan_g1_transformation.py#L53)
|
||||||
| Cohere Embeddings - English | `embedding(model="bedrock/cohere.embed-english-v3", input=input)` |
|
| Titan Multimodal Embeddings | `embedding(model="bedrock/amazon.titan-embed-image-v1", input=input)` | [here](https://github.com/BerriAI/litellm/blob/f5905e100068e7a4d61441d7453d7cf5609c2121/litellm/llms/bedrock/embed/amazon_titan_multimodal_transformation.py#L28) |
|
||||||
| Cohere Embeddings - Multilingual | `embedding(model="bedrock/cohere.embed-multilingual-v3", input=input)` |
|
| Cohere Embeddings - English | `embedding(model="bedrock/cohere.embed-english-v3", input=input)` | [here](https://github.com/BerriAI/litellm/blob/f5905e100068e7a4d61441d7453d7cf5609c2121/litellm/llms/bedrock/embed/cohere_transformation.py#L18)
|
||||||
|
| Cohere Embeddings - Multilingual | `embedding(model="bedrock/cohere.embed-multilingual-v3", input=input)` | [here](https://github.com/BerriAI/litellm/blob/f5905e100068e7a4d61441d7453d7cf5609c2121/litellm/llms/bedrock/embed/cohere_transformation.py#L18)
|
||||||
|
|
||||||
|
### Advanced - [Drop Unsupported Params](https://docs.litellm.ai/docs/completion/drop_params#openai-proxy-usage)
|
||||||
|
|
||||||
|
### Advanced - [Pass model/provider-specific Params](https://docs.litellm.ai/docs/completion/provider_specific_params#proxy-usage)
|
||||||
|
|
||||||
## Image Generation
|
## Image Generation
|
||||||
Use this for stable diffusion on bedrock
|
Use this for stable diffusion on bedrock
|
||||||
|
|
|
@ -44,7 +44,7 @@ const sidebars = {
|
||||||
"proxy/reliability",
|
"proxy/reliability",
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Use with Vertex, Bedrock, Cohere SDK",
|
label: "Use with Provider SDKs",
|
||||||
items: [
|
items: [
|
||||||
"pass_through/vertex_ai",
|
"pass_through/vertex_ai",
|
||||||
"pass_through/google_ai_studio",
|
"pass_through/google_ai_studio",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue