From the course: Building Applications Using Amazon Bedrock

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Setting up your knowledge base

Setting up your knowledge base

- [Narrator] It's time to set up our knowledge base in Amazon Bedrock. First, we need to place our documents in an S3 bucket. Knowledge Bases will use this S3 location to index our data. Head over to Amazon S3 in the console. Next, we'll click on Create Bucket and first select the appropriate AWS region, and then give your bucket a name. Let's select the same region that you enabled access to Amazon Bedrock Models to be consistent. In my case, it was US West Two. For the bucket name, I'm going to use Knowledge Base Data. Just give it a random number here. This has to be a unique name. Leave all other options as default and click on Create Bucket. Let's upload our PDF document to this bucket. You can grab it from the course repository in the 02_03 folder. Here you'll see the employee handbook. Click on the document. You can click on the download icon here to download this to your local computer. So let's…

Contents