Create a Bedrock knowledge base

Shows how to set up your Knowledge base in Amazon Bedrock.

After you have set up a vector database with Redis Cloud, you can use it to create a knowledge base for your models.

Before you begin this guide, you will need:

Create knowledge base

To use your Redis database to create a knowledge base on Amazon Bedrock:

  1. Sign in to the AWS console.

  2. Use the Services menu to locate and select Machine Learning > Amazon Bedrock. This takes you to the Amazon Bedrock admin panel.

  3. Select Knowledge base > Create knowledge base to create your knowledge base.

    The Create knowledge base button.
  4. In the Knowledge base details section, enter a name and description for your knowledge base.

  5. Select the IAM role for the Bedrock knowledge base in the IAM Permissions section. Select Next to add the data source.

  6. Enter a name for the data source and connect your S3 bucket in the Data source section.

  7. In the Vector database section, select Redis Cloud and select the checkbox to agree with the legal disclaimer.

    The Redis Cloud selection for your vector database.

    Fill in the fields with the following information:

    Select Next to review your settings.

  8. Review your knowledge base before you create it. Select Create knowledge base to finish creation.

    The Create knowledge base button.

Amazon Bedrock will sync the data from the S3 bucket and load it into your Redis database. This will take some time.

Your knowledge base will have a status of Ready when it is ready to be connected to an Agent.

A Bedrock knowledge base with a Ready status.

Select the name of your knowledge base to view the syncing status of your data sources. The data source will have a status of Ready when it is synced to the vector database.

A Bedrock data source with a Ready status.

After the knowledge base is ready, you can use it to Create an agent.

RATE THIS PAGE
Back to top ↑