Skip to main content
AWS Bedrock supports multiple base models for generating text embeddings. You need to setup the AWS credentials to use this embedding function. You can do so by using awscli and also add your session_token:
to ensure that the credentials are set up correctly, you can run the following command:
Supported Embedding modelIDs are:
  • amazon.titan-embed-text-v1
  • cohere.embed-english-v3
  • cohere.embed-multilingual-v3
Supported parameters (to be passed in create method) are: Usage Example: