Amazon Bedrock Hosted Embedding Model
Last updated
Last updated
To set up a connection to Amazon Bedrock, you'll need to provide a few key details. This configuration allows you to interact with Bedrock's services and use its capabilities effectively. Follow the steps below to configure your connection.
When configuring your Amazon Bedrock connection, the following fields are required:
Name Field Type: Text Description: Enter a unique name for this Bedrock connection configuration. This helps you identify the connection later when managing multiple configurations.
Embedding Provider Field Type: Dropdown Description: Select the embedding provider that you will use. This could refer to the specific service or model from Amazon Bedrock, such as "Amazon SageMaker" or another compatible service.
Embedding Model Field Type: Dropdown Description: Choose the embedding model you would like to use for processing data within the Bedrock framework.
Dimension Field Type: Dropdown Description: Select the dimension. This value will typically be determined by the model you choose.
Access Type Field Type: Dropdown Description: Choose the type of access you require for the Bedrock connection. Options typically include:
API Key: Use an API key to authenticate the connection.
IAM Role: Use an IAM (Identity and Access Management) role for secure access control.
Key Field Type: Text Description: Provide your AWS Access Key. This key will be used to authenticate API requests to Amazon Bedrock. Make sure to handle your keys securely.
Secret Field Type: Text Description: Enter your AWS Secret Key. This secret key works with the Access Key to secure the connection and is required for making authorized API calls.
Region Field Type: Dropdown or Text Description: Select the AWS region where your Amazon Bedrock service is hosted. Common options may include regions like "us-east-1", "us-west-2", etc. Ensure that the region selected corresponds to the location of your AWS services.
Here’s an example of what the configuration could look like when filled in:
Name
My_Bedrock_Connection
Embedding Provider
Amazon Bedrock
Embedding Model
amazon.titan-embed-text-v1
Dimension
1536
Access Type
API Key
Key
AKIAEXAMPLEKEY
Secret
EXAMPLESECRETKEY
Region
us-east-1
After filling in the necessary fields, click Save or Test Connection to establish the connection to Amazon Bedrock. You should now be able to use the configured connection to start processing your data and leveraging Bedrock’s capabilities.