Document Automation
Product features
By practice area
By company size
Contract Review
PRODUCT FEATURES
Resources
LearN
Case Studies
Pricing

Plain-English definitions of the AI terms lawyers meet when they evaluate legal AI: LLMs, RAG, fine-tuning, hallucinations and zero data retention.
Gavel Exec reviews, redlines and drafts contracts inside Microsoft Word, checked against your own playbooks. Start with 25 free queries, no credit card required.
Artificial intelligence (AI) is the broad field, and three narrower terms sit inside it. Machine learning is AI that learns from data, generative AI is machine learning that creates new content, and large language models (LLMs) are generative AI models that read and write text. Most legal AI tools, including Gavel Exec, are built on LLMs.
Last updated October 29, 2026. Gavel makes Gavel Exec, which this guide uses for its examples.
Each term is a subset of the one before it.
The video above walks through the same hierarchy with examples from legal practice. For more on where these technologies fit in a firm, see how law firms can use AI.
A large language model is software trained on large amounts of text to predict and generate language. It is the core technology behind ChatGPT, Claude and most legal AI products. Models differ in strengths and change quickly: a model that leads on a task today can be overtaken within months, which is why the way a vendor chooses and updates models matters.
An LLM-agnostic product can use more than one model and switch between them. Gavel Exec is built this way. Gavel benchmarks models on real legal work, with practicing lawyers evaluating the output, and routes each task, such as redlining or drafting, to the model that performs best on it. When a stronger model is released, an LLM-agnostic product can adopt it without rebuilding. A good question for any vendor: which models do you use, and what happens when a better one comes out?
Both make a general-purpose model more useful for law. They differ in where the legal knowledge lives.
Gavel Exec uses RAG. The output is easier to check because you can trace each suggestion to the rule or document it relied on, and updates to a playbook take effect immediately without retraining anything.
A RAG system is only as good as the material it retrieves. Gavel Exec draws on three layers.
A hallucination is output that sounds plausible and confident but is wrong: a case that doesn't exist, a provision the contract doesn't contain or a misstated legal standard. It happens because an LLM generates likely language, and without grounding it may fill gaps with invented detail.
Giving the model specific context reduces the risk. A model asked whether an indemnity clause is market standard, with no reference material, is drawing on general training data. A model applying a lawyer-written playbook rule to the clause, with the term sheet attached, can point to the rule and the provision it relied on.
The risk also looks different in contract review than in legal research. A fabricated citation in a research memo can reach a brief unnoticed. In a contract review tool, each suggestion arrives as a tracked change or comment in a document you are already reading, and you can check it against the source. The American Bar Association's (ABA) Formal Opinion 512 (July 29, 2024) expects lawyers to review AI output either way. See how to review AI redlines for a checklist.
| Term | Definition |
|---|---|
| Artificial intelligence (AI) | Technology that performs tasks associated with human intelligence, from rule-based systems to models that learn from data. |
| Machine learning | A subset of AI in which software learns patterns from data instead of following rules written by hand. |
| Generative AI | Machine learning that creates new content, such as text, images or code, based on patterns in its training data. |
| Large language model (LLM) | A generative AI model trained on large amounts of text to read and write language. GPT, Claude, Gemini and Llama are LLMs. |
| Prompt | The instruction you give an AI tool, such as “redline this lease against the attached letter of intent.” |
| Context | The reference material an AI tool receives with a prompt: the document, related deal documents, playbook rules and instructions. |
| LLM-agnostic | Built to use more than one LLM, so the vendor can route each task to the model that performs best and adopt new models quickly. |
| Benchmarking (models) | Testing models against each other on the same tasks, ideally with lawyers grading the output. |
| Fine-tuning | Retraining a model on domain-specific data, which changes the model's internal weights. |
| Retrieval-augmented generation (RAG) | Giving a model relevant reference material at the moment it answers, without changing the model itself. |
| Parameters (weights) | The numbers inside a model that determine its output. Fine-tuning changes them; RAG does not. |
| Playbook | A set of rules describing your positions on each clause, which an AI tool checks a contract against. |
| Hallucination | Output that sounds confident but is wrong, such as a citation to a case that doesn't exist or a clause the document doesn't contain. |
| Zero data retention (ZDR) | An agreement under which an AI model provider doesn't store or log prompts and responses after processing them. |
| Encryption in transit and at rest | Protection for data while it moves between systems and while it is stored. |
| Data siloing | Keeping each customer's data architecturally separate from every other customer's data. |
For how tools compare on these points, see the best AI contract review tools for lawyers.
AI is the broad field. Machine learning is the part of AI that learns from data, and generative AI is the part of machine learning that creates new content such as text. Large language models are generative AI models that work with language.
A large language model is the AI model underneath most legal AI tools. It reads the contract and your instructions and writes the analysis, redlines or drafts. Legal AI vendors add playbooks, deal context and security controls on top of it.
Fine-tuning retrains a model on legal data, which changes the model itself. Retrieval-augmented generation (RAG) leaves the model unchanged and supplies the relevant rules and documents each time it answers, which makes the output easier to update and to check.
By grounding the model in specific material: playbook rules written by lawyers, the documents in the deal and clear instructions. A lawyer should still review every output, as ABA Formal Opinion 512 expects.
Zero data retention means the AI model provider doesn't store or log your prompts or its responses after processing them. Ask vendors whether their agreements cover every model provider they use.
Related: AI contract review in Gavel Exec and all Gavel Exec features. Try Gavel Exec free with 25 queries and no credit card.
AI contract review software pricing for 17 tools, checked on vendor sites October 30, 2026, with billing, trials and 1-, 5- and 20-lawyer totals.

The best AI contract redlining software for lawyers, compared on Word tracked changes, playbooks, explanations and published prices.

The best contract playbook software compared: where each tool runs, how it builds playbooks, how it reports results and what it costs.