AI in operations
Retrieval-augmented generation
Also: RAG
Retrieval-augmented generation (RAG) is fetching relevant documents or records at question time and giving them to a model, so answers are grounded in your data rather than training memory.
RAG is how a general model answers questions about your contracts, policies and transactions without being retrained. The model reasons; the retrieval decides what it reasons over.
Most RAG failures are retrieval failures, not model failures. If the right passage was never fetched, a better model will produce a more fluent wrong answer. Citations matter for exactly this reason: they make the retrieval checkable.
Depends on, and is depended on by
- HallucinationHallucination is a model producing fluent, confident output that is not supported by its sources or by fact, such as a contract term that appears in no document.
- Agentic AIAgentic AI is AI that pursues a goal across multiple steps, choosing and taking actions in real systems rather than only producing text for a person to act on.
- EvaluationEvaluation (evals) is the use of a repeatable test set to measure whether an AI system produces correct output, so changes can be compared instead of judged by impression.
- Fine-tuningFine-tuning is further training of an existing AI model on a curated set of your own examples, so it adopts a specific task, format or vocabulary without being built from scratch.
- Vector searchVector search is finding records by meaning rather than exact words, by converting text into numerical embeddings and returning the stored items whose embeddings are closest.