Skip to main content
The AwsBedrockEmbedder class is used to embed text data into vectors using the AWS Bedrock API. By default, it uses the Cohere Embed Multilingual V3 model for generating embeddings.

Setup

Set your AWS credentials

By default, this embedder uses the cohere.embed-multilingual-v3 model. You must enable access to this model from the AWS Bedrock model catalog before using this embedder.

Run PgVector

Usage

aws_bedrock_embedder.py

Params

Developer Resources