Skip to main content
The bedrock extra provides both BedrockLLM and BedrockEmbeddings.

Authentication

The adapters use the standard AWS credential chain: environment variables, shared AWS credentials and configuration files, or the IAM role attached to the runtime. The region defaults to AWS_DEFAULT_REGION and then us-east-1; pass region_name to override it.

Complete pipeline

Bedrock model availability and inference profile requirements depend on your AWS account and region. Pass the model or inference profile identifier enabled for that account.

Mix providers

Components are independent. For example, use local Hugging Face embeddings with a Bedrock LLM:
No Bedrock-specific pipeline class is required.