1. Interpret
Determine the question and whether outside information is needed.
A generated response may interpret a request, rewrite it, search several indexes, retrieve passages, use tools, rank evidence and then generate the answer.
Determine the question and whether outside information is needed.
Create related searches or a task plan.
Return possible evidence from indexes, documents, APIs or tools.
Select the passages or records judged most relevant.
Create a response using the prompt, model knowledge and retrieved context.
Show an answer, links, citations, actions or warnings.
RAG combines retrieval with generation. The website owner controls the quality of public source material. The AI product owner controls how its retrieval system indexes, ranks and uses that material.