BACK TO CODEXMachine Learning
Retrieval-Augmented Generation (RAG)
A framework that grounds AI responses in verified, proprietary documents rather than relying on the AI's internal memory.
RAG is the core anti-hallucination mechanism in Vigil. When you ask Vigil, "What are the termination rights in the Smith contract?", it does not guess based on generic training data. It searches the client's secure vector database, retrieves the exact signed Smith contract, injects the termination clause into the context window, and generates an answer strictly based on that text. This ensures 100% factual accuracy and allows the AI to provide exact page-and-paragraph citations for its conclusions.