Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Documate is now Gavel! Read more about why we’re excited about this rebrand.
RESOURCES
Guides
AI Terminology for Lawyers: A Plain-English Glossary

AI Terminology for Lawyers: A Plain-English Glossary

Plain-English definitions of the AI terms lawyers meet when they evaluate legal AI: LLMs, RAG, fine-tuning, hallucinations and zero data retention.

By the team at Gavel
Published:  
Aug 6, 2024
|  Last updated:  
Oct 29, 2026
Catch off-market terms before you negotiate

Gavel Exec reviews, redlines and drafts contracts inside Microsoft Word, checked against your own playbooks. Start with 25 free queries, no credit card required.

Try Gavel Exec free

AI contract review and drafting in Microsoft Word, with redlines ranked by priority and the reasoning behind each change.

Start a free trial
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.

Key takeaways

  • Most legal AI products combine a general-purpose LLM with legal context: playbooks, the documents in your deal and your instructions.
  • Retrieval-augmented generation (RAG) supplies that context each time the model answers, without retraining the model.
  • Hallucinations are less likely when the model works from specific rules and documents, and every output still needs a lawyer's review.
  • Zero data retention, encryption, no training on your data and data siloing are the security terms to ask every vendor about.

Last updated October 29, 2026. Gavel makes Gavel Exec, which this guide uses for its examples.

How do AI, machine learning, generative AI and LLMs relate?

Each term is a subset of the one before it.

  • Artificial intelligence dates to the 1950s and covers any technology that imitates intelligent human behavior, including rule-based systems that follow “if this, then that” logic.
  • Machine learning teaches software to make predictions from data instead of rules. In legal work, it powers technology-assisted review in e-discovery and analytics that look for patterns in litigation outcomes.
  • Generative AI creates new content: text, images or code. Lawyers use it to draft agreements, summarize documents and propose redlines.
  • Large language models are the generative AI models that work with language. The major model families include OpenAI's GPT models, Anthropic's Claude, Google's Gemini and Meta's Llama.

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.

What is a large language model?

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.

What does LLM-agnostic mean?

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?

What is the difference between RAG and fine-tuning?

Both make a general-purpose model more useful for law. They differ in where the legal knowledge lives.

  • Fine-tuning retrains the model on legal examples, such as contracts, memos and redlines, so the model's parameters change. The knowledge is built into that model, and the investment is tied to it: when a better model comes out, the fine-tuning has to be repeated.
  • Retrieval-augmented generation (RAG) leaves the model unchanged. Before the model answers, the system retrieves the relevant material, such as playbook rules, market standards, deal documents and your preferences, and passes it to the model as context.

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.

What context does a legal AI tool use?

A RAG system is only as good as the material it retrieves. Gavel Exec draws on three layers.

  1. Market-standard playbooks. Practicing attorneys wrote review playbooks for common transactional and commercial agreements, with rules that state the standard, how to spot a deviation and what language to propose. Your own playbooks sit alongside them.
  2. Deal context. The same indemnity reads differently in a $500,000 asset purchase than in a $50 million merger. Projects hold the term sheet, letter of intent, prior drafts and side letters, so the review reflects the actual deal and can flag inconsistencies between documents.
  3. Your preferences. Suggestions adapt to each user's redlining style over time. That learning stays with your account and isn't used to train models for other customers.

What is an AI hallucination, and how do you reduce the risk?

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.

Which security terms should lawyers know?

  • Zero data retention (ZDR). The AI model provider processes your data and discards it, without storing prompts or responses. Gavel has ZDR agreements with the AI model providers it uses, including OpenAI. Ask vendors whether their ZDR covers every provider and every kind of data.
  • No training on your data. This is separate from ZDR. It covers whether the legal AI vendor itself uses your documents, edits or activity to train models. Gavel doesn't use customer data, prompts or documents to train AI models.
  • Encryption in transit and at rest. Transport Layer Security (TLS) protects data moving between your computer and the vendor; encryption at rest protects stored documents, analysis and project files.
  • Data siloing. Each customer's data is stored separately, so nothing is shared between accounts unless you give a colleague access.
  • SOC 2 Type II. An independent audit of a vendor's security controls over time. Gavel Exec is SOC 2 (System and Organization Controls 2) Type II certified; details are on the Gavel security page.

AI glossary for lawyers

TermDefinition
Artificial intelligence (AI)Technology that performs tasks associated with human intelligence, from rule-based systems to models that learn from data.
Machine learningA subset of AI in which software learns patterns from data instead of following rules written by hand.
Generative AIMachine 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.
PromptThe instruction you give an AI tool, such as “redline this lease against the attached letter of intent.”
ContextThe reference material an AI tool receives with a prompt: the document, related deal documents, playbook rules and instructions.
LLM-agnosticBuilt 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-tuningRetraining 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.
PlaybookA set of rules describing your positions on each clause, which an AI tool checks a contract against.
HallucinationOutput 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 restProtection for data while it moves between systems and while it is stored.
Data siloingKeeping each customer's data architecturally separate from every other customer's data.

What should you ask a legal AI vendor?

  • Which models do you use, and how do you decide when to switch?
  • Do you fine-tune, use RAG or both, and can I see what a suggestion relied on?
  • Who writes your playbooks and standards, and can I load my own?
  • Do you have zero data retention agreements with every model provider you use?
  • Do you use my documents or edits to train any model?
  • Is my data siloed from other customers, and do you hold a SOC 2 Type II report?

For how tools compare on these points, see the best AI contract review tools for lawyers.

Frequently asked questions

What is the difference between AI, machine learning and generative AI?

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.

What is an LLM in legal AI?

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.

What is the difference between RAG and fine-tuning?

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.

How do legal AI tools reduce hallucinations?

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.

What does zero data retention mean?

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.

Guides

AI Contract Review Software Pricing Compared

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.

Read More
Services agreement with tracked changes that shorten payment terms to 30 days and cap liability at fees paid, plus a reviewer comment
Guides

Best AI Contract Redlining Software for Lawyers

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

Read More
Playbook review results for five clauses: limitation of liability, governing law and payment terms pass, and indemnification and confidentiality fail
Guides

Best Contract Playbook Software: 10 Tools Compared

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

Read More

Supercharge your practice with bi-weekly tips.

Subscribe to our newsletter to receive legal tech trends, automation guides, customer interviews, and more.