Prerequisites for creating an Amazon Bedrock knowledge base with a unstructured data source
Amazon Bedrock knowledge bases require data and models to retrieve and generate responses, a vector store to store the vector representation of the data, and AWS Identity and Access Management permissions to access your data and perform actions.
Before you can create a knowledge base, you must fulfill the following prerequisites:
-
Make sure your data is in a supported data source connector.
-
(Optional) Set up your own supported vector store. You can skip this step if you plan to use the AWS Management Console to automatically create a vector store in Amazon OpenSearch Serverless for you.
-
(Optional) Create a custom AWS Identity and Access Management (IAM) service role with the proper permissions by following the instructions at Create a service role for Amazon Bedrock Knowledge Bases. You can use the AWS Management Console to automatically create a service role for you.
-
(Optional) Set up extra security configurations by following the steps at Encryption of knowledge base resources.
-
(Optional) If you plan to use the RetrieveAndGenerate API operation to generate responses based on information retrieved from your knowledge base, request access to the models that you'll use in the regions that you'll use them in by following the steps at Access Amazon Bedrock foundation models.