CogWrite Semantic Technologies

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.

Generalized Retrieval Augmented Generation (RAG) AI solution elements: a prepare-ahead-of-time half that parses domain knowledge into an optimized representation, and an answer-every-query half from query receiver through knowledge extractor and packager to the LLM gen AI service, with query histories and logs
Generalized RAG solution elements. Click the image for the full-size diagram.