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 usingDocumentation Index
Fetch the complete documentation index at: https://docs.lancedb.com/llms.txt
Use this file to discover all available pages before exploring further.
awscli and also add your session_token:
amazon.titan-embed-text-v1cohere.embed-english-v3cohere.embed-multilingual-v3
create method) are:
| Parameter | Type | Default Value | Description |
|---|---|---|---|
| name | str | ”amazon.titan-embed-text-v1” | The model ID of the bedrock model to use. Supported base models for Text Embeddings: amazon.titan-embed-text-v1, cohere.embed-english-v3, cohere.embed-multilingual-v3 |
| region | str | ”us-east-1” | Optional name of the AWS Region in which the service should be called (e.g., “us-east-1”). |
| profile_name | str | None | Optional name of the AWS profile to use for calling the Bedrock service. If not specified, the default profile will be used. |
| assumed_role | str | None | Optional ARN of an AWS IAM role to assume for calling the Bedrock service. If not specified, the current active credentials will be used. |
| role_session_name | str | ”lancedb-embeddings” | Optional name of the AWS IAM role session to use for calling the Bedrock service. If not specified, a “lancedb-embeddings” name will be used. |
| runtime | bool | True | Optional choice of getting different client to perform operations with the Amazon Bedrock service. |
| max_retries | int | 7 | Optional number of retries to perform when a request fails. |