From the course: Learning Amazon Bedrock
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Coding the solution - Amazon Bedrock Tutorial
From the course: Learning Amazon Bedrock
Coding the solution
- It's time to dive into some code to start building out our rag application using Amazon Bedrock. Let's go to code spaces and in folder 03,04B, our beginning folder, let's open up the lang chain dash rag PI file. Also, you'll notice in that folder is a social media training PDF, and this is the PDF document that we will be indexing in our vector store. This is what that document looks like, so you can feel free to download it and take a look. But it has a table of contents and information here on all the various policies and guidelines around social media for a company. And this company is Globe Bank International. Again, it's a fictitious company, but this is data pertaining to the social media policies, and guidelines, and best practices. So now we're back at our code. Let's go ahead and make this bigger. I did go ahead and put in some of the boilerplate code that we will be using, and I'll quickly go through that and then focus on those areas that we really need to pay attention…