From the course: Claude with Amazon Bedrock by Anthropic

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

The full RAG flow

The full RAG flow

At this point in the module, I've given you a high-level overview of how the RAG pipeline works, we've spoken a little bit about text chunking, and we've got just a taste of text embeddings. So now we're going to take these three different topics, our high-level overview of the RAG process, text embeddings, and text chunking, and we're going to merge them all together and really understand the entire RAG pipeline. So we're going to go through a complete RAG example and go through a lot of detail and really understand everything step by step. So let's Let's get to it. Step number one, just as before, we're going to take some source document and chunk it into separate pieces of text. So for this example, I'm going to assume I just have two pieces of text here, just section one, medical research and section two, software engineering. Step two, we're going to generate embeddings for each of these different chunks of text. Now, in this example, we're going to pretend that we have this…

Contents