This template performs RAG using Ollama and OpenAI with a multi-query retriever. The multi-query retriever is an example of query transformation, generating multiple queries from different ...
This document explains multi-query expansion: why we generate several phrasings of the user question and how we merge their results to improve recall. If we only search with the exact user query, we ...