Legal Data Tech

Technology · RAG

Answers from the case file, with proof.

Retrieval-Augmented Generation searches the case file semantically instead of by keyword — every answer with a citation, not a bare claim.

The business benefit

Proof instead of guesswork.

A generic chatbot answers questions from its general training knowledge — it doesn't know your case file and can freely make things up. For legal practice, that's a liability risk. RAG bases every answer exclusively on text passages actually present in the case file, with citation and page reference.

  • Verifiable: Every statement can be traced back to the original source in the case file.
  • Faster: Minutes instead of hours to review thousands of pages.
  • Current: The context comes from the actual case file, not from outdated training knowledge.
  • Differentiating: Answers from your own case record instead of generic chatbot answers.

Analogy

RAG is like a lawyer with a perfect memory for exactly this one case file: it invents nothing, but looks up the right documents for every question and cites the source.

Generic chatbot vs. RAG

ChatbotWith RAG
Where does the answer come from?From general training knowledgeFrom the specific case file, retrieved on demand
Proof for the statement?NoneCitation with page and document reference
Knows your own case file?NoYes, semantically indexed
Risk if the answer is wrongUnnoticed hallucinationVerifiable against the source

What this looks like in the case file

Every answer with a source reference.

A question to the case file, an answer backed by evidence: every statement carries a reference to document and page — verifiable down to the original passage in the report.

SCase File Chat
What did the expert find?
Three defects in the built-in kitchen:
1
Scratches on two front panels 29·S3
2
Warping — installation defect 29·S4
3
Cost €2,582.30 gross 31·S1
Doc 31 · Cost Breakdown
Replace front panels742.00
Countertop / support bracket1,318.30
Hinge + installation522.00
Total gross€2,582.30

Behind the answer

Composed from multiple source passages.

The answer doesn't come from a single passage: RAG brings together the relevant text passages from multiple documents in the case file and keeps, for each one, the reference to document and page number.

Doc 29 · p.3
"… scratches on the front panels … transport or installation."
Doc 29 · p.4
"… warping attributable to an installation defect …"
Doc 31 · p.1
Total gross€2,582.30
SAnswer
Three defects, evidenced from the case file:
1Scratches 29·S3
2Warping 29·S4
3Cost 31·S1

Frequently asked questions

RAG, explained briefly.

A generic chatbot doesn't know your case file and answers from general training knowledge — without proof. RAG searches specifically within the actual case file for the relevant sections and delivers every answer with a citation and source reference.

No. With thousands of pages that would be impractical. The semantic search first selects only the most relevant sections and gives exactly those to the model as context.

Yes. The case index is independent of the responding model — it delivers the same semantically matching context to every connected LLM, whether external, self-hosted or local.

Precisely recognized text from every document. That's why RAG indexing builds directly on DEPLAW's AI-optimized OCR.

Ask your own case file a question.

We'll show live how DEPLAW indexes one of your real case files and answers questions from it with source references.

Book a demo