llama-index-embeddings-bedrock
llama-index embeddings bedrock integration
What it is and what it does
This package integrates Amazon Bedrock embedding models with the embedding interface, letting you generate text embeddings using AWS-hosted models without managing your own embedding infrastructure. It supports multiple Bedrock foundation models—Amazon Titan variants and Cohere v3/v4—and handles the API differences between them transparently, including Cohere v4's multimodal capabilities and response format changes.
You configure it with a model name and AWS region, then call `get_text_embedding()` or `get_text_embedding_batch()` to convert text into vectors. AWS credentials flow through boto3's standard chain (environment variables, IAM roles, profiles, or explicit parameters). The integration also supports Application Inference Profiles for cost tracking and model usage governance in enterprise Bedrock deployments.
Use it for:
- Embed documents in a RAG pipeline using Bedrock models without running your own embedding server.
- Build semantic search over text corpora by generating embeddings via Cohere or Titan through the integration.
- Use Cohere v4 multimodal embeddings to embed both text and images in a single unified vector space.
- Integrate Bedrock embeddings with automatic response format handling across model versions.
- Track embedding costs and usage through AWS Application Inference Profiles in governed environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Amazon Bedrock embedding models integration for LlamaIndex, enabling text-to-vector conversion using Titan and Cohere embeddings through AWS.
Yes. Low install friction, active maintenance, no known vulnerabilities, and permissive MIT license. Install if you need Bedrock embeddings and have AWS access. Skip if you prefer self-hosted embeddings or use a different embedding provider.
Install
llama-index-embeddings-bedrock on PyPI
pip
pip install llama-index-embeddings-bedrockuv
uv add llama-index-embeddings-bedrockpoetry
poetry add llama-index-embeddings-bedrockInstalling llama-index-embeddings-bedrock
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-08-14. Requires boto3 and llama-index-core as runtime dependencies.
License in practice
MIT license permits commercial and private use with minimal restrictions, making this suitable for most production deployments.
Quickstart
pip install llama-index-embeddings-bedrock
from llama_index.embeddings.bedrock import BedrockEmbedding
embed_model = BedrockEmbedding(
model_name="cohere.embed-english-v3",
region_name="us-east-1",
)
embedding = embed_model.get_text_embedding("Hello world")
Requires AWS credentials (via environment variables, profile, or direct parameters) and access to Amazon Bedrock in your AWS account.
Verify before relying
- Performance characteristics and latency for batch embedding operations at scale.
- Cost implications of different Bedrock models and request volumes.
- Whether Application Inference Profile ARN mismatches produce silent failures or explicit errors.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — boto3, llama-index-core |
| Maintenance | actively maintained — 0 days since the last release |
| First released | |
| Downloads | 2,304,795/month — #3,154 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_embeddings_bedrock-0.8.3-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
llama-index-llms-bedrock-converseIntegrates AWS Bedrock's Converse API with…
permissive · top 15,000 on PyPI
llama-index-llms-bedrockIntegrates AWS Bedrock LLMs into LlamaIndex,…
permissive · top 15,000 on PyPI
llama-index-embeddings-ollamaIntegrates Ollama's local embedding models with…
permissive · top 15,000 on PyPI
llama-index-embeddings-vertexIntegrates Google Vertex AI embedding models…
permissive · top 15,000 on PyPI
llama-index-embeddings-google-genaiIntegrates Google's Gemini and Vertex AI…
permissive · top 15,000 on PyPI
aws_sdk_bedrock_runtimeProvides a Python client for interacting with…
permissive · top 15,000 on PyPI
aws-bedrock-token-generatorGenerates short-term bearer tokens for AWS…
permissive · top 5,000 on PyPI
llama-index-embeddings-openaiIntegrates OpenAI's embedding models with…
permissive · top 5,000 on PyPI
llama-index-embeddings-langchainIntegrates Langchain embedding models with…
permissive · top 15,000 on PyPI
llama-index-embeddings-huggingfaceIntegrates Hugging Face embedding models with…
permissive · top 15,000 on PyPI