4.3 · Lesson

RAG Pipeline

You can use a retrieverA component that searches a data source and returns the information relevant to a query. Often used to provide context for a language model. as part of a RAGFetching relevant context from an external data source as additional context to inform a language model's response. (Retrieval-Augmented Generation) pipeline to provide context to a LLMA model trained on text to predict the next token, and so to generate language..

In this lesson, you will use the vector retriever you created to pass additional context to an LLM allowing it to generate more accurate and relevant responses.