How to Search Supreme Court Case Law with Semantic AI
Keyword search in CENDOJ requires hitting the exact terms. Semantic AI search finds judgments by concept, even when you don’t know the words the court used.
AI hallucinations are the biggest risk for lawyers using ChatGPT or Copilot. Learn to detect them, avoid them, and how automatic citation verification works in Lexiel against BOE and CENDOJ.
In 2023, in Mata v. Avianca, a lawyer filed a brief before a federal court in New York citing several judicial decisions as precedents. The judge asked to see them. They did not exist. ChatGPT had invented them. The lawyer was sanctioned. The risk is identical in Spain.
A generative language model without access to verified databases doesn't "search" information, it generates plausible-sounding text based on statistical patterns. In legal context: citing judgments that were never handed down, inventing article numbers or attributing to a real article something it does not say, citing repealed rules as current law.
The problem: the generated text sounds convincing. Correct format, correct numbering, correct legal language. No external signal that it's false.
RAG (Retrieval-Augmented Generation): the system first searches official sources (BOE, CENDOJ, TC), then generates the answer based on the retrieved fragments. Having the source text in front of the model greatly reduces inventions but does not remove them entirely, which is why a verifier that checks each citation is also needed.
Lexiel's chat answers go through the verifier; you can also verify a brief from its editor, or paste any text (including one written with another tool) into the citation verifier in the tools section. The system extracts legal references, checks legislation against the BOE consolidated text (does the article and paragraph exist, is the statute in force, is the article about what the sentence says) and case law against CENDOJ and Lexiel's corpus, and marks each one: Verified / Pending (the source did not respond or the reference is ambiguous) / Not confirmed (the source responded and does not contain it) / Unverifiable. Every unverified citation carries a note with the reason.
Use code LEX-BLOG for double the standard trial period. Cancel anytime, no commitment.
Get started freeKeyword search in CENDOJ requires hitting the exact terms. Semantic AI search finds judgments by concept, even when you don’t know the words the court used.
Step-by-step guide to drafting claims, defences and appeals using legal AI. Verified templates, automatic BOE and CENDOJ citations, and anti-hallucination review.
Illustrative example (not a real client) of a solo civil and family lawyer's workflow: which tasks Lexiel can support in case management, legal research, drafting and invoicing, and how to work out whether it pays off with your own numbers.