Professional Documents
Culture Documents
RAG
RAG
### Components
vector-based search techniques where both the query and the documents are
2. **Generator**: The generator component takes the query and the retrieved
can consider the context provided by both the query and the documents to
### Workflow
- **Step 2**: Use the retriever to find relevant documents from a knowledge
base.
- **Step 3**: Combine the query and the retrieved documents to create a
response.
### Advantages
- **Quality and Relevance**: By grounding responses in specific retrieved
content, the RAG model can generate more accurate and contextually relevant
answers.
to different domains.
facts.
### Applications
generation capabilities.