Sample. These are placeholder case studies that show the format. Real write-ups from our founders are on the way.
Search across 200,000 court decisions for a legal team
A retrieval system that lets lawyers ask questions in plain Ukrainian and get answers with citations to the source decisions.
- By
- Founding member (placeholder)
- Industry
- Legal
- Country
- Ukraine
- 6 min read
- Stack
- PythonPostgreSQLpgvectorClaude APIFastAPI
−80%
time to find a precedent (example)
The problem
A mid-sized law firm in Kyiv spent hours on every case searching public court registers by keyword. Keyword search missed decisions that used different wording for the same idea.
The answers had to cite their sources exactly, because lawyers cannot rely on text they can't check.
The approach
We split each decision into sections, embedded them, and stored the vectors in PostgreSQL with pgvector, next to the original text and its metadata.
A hybrid search combines vector similarity with full-text search, then a language model writes a short answer that links every claim to a section of a real decision.
Lawyers rated answers inside the tool, and those ratings became our evaluation set.
Results
- Example figure: time to find a relevant precedent fell from about 40 minutes to about 8.
- Example figure: 9 in 10 answers were rated useful by the firm's lawyers in the first month.
Lessons learned
- Start the evaluation set on day one. Real questions from users beat any synthetic benchmark.
- Citations are the product. An answer without a checkable source is worth nothing to a lawyer.