Overview: Generalized RAG and the elements of an AI solution
This page presents a generic view of retrieval augmented generation (RAG) solutions; the other pages in the ribbon above describe the Cognosa platform's implementation. The Deployment page shows the AWS implementation and the Query UI gives a hint of the user experience. See also the DEMO movie.
Three stages decide the quality of a RAG solution: (a) how the domain-specific data is prepared, ahead of time and refreshed periodically, for the kinds of queries the solution is required to answer; (b) how each user query is used to fetch the relevant context before any model is called; and (c) how the call to the LLM is built from a specially constructed payload that combines that context with instructions, so the response is well informed by the relevant parts of the collection built for the purpose.