snowLEX: AI Legal Research Platform
A legally reliable AI research platform combining large-scale vector search with a purpose-built legal dashboard for real-world legal workflows.

The core challenge was engineering both intelligence and usability at scale. On the backend, over 1.5 million EU legal documents were statistically overpowering Finnish national statutes, causing incorrect prioritization in search results. On the frontend, most AI legal tools fail to offer interfaces suitable for professional legal work. The challenge was to design a system that retrieves the right law (not just the closest text), guarantees traceable citations, and provides a dashboard lawyers can actually work with daily.
Legal Research & Feasibility Study
Extensive research on what authoritative legal data is available from Finlex and EUR-Lex, understanding document structures, metadata quality, and why generic AI systems fail in legal contexts.
MVP Architecture & Early Prototyping
A basic RAG pipeline was implemented to test whether retrieval-augmented generation could work reliably for legal queries. Retrieval logic was prioritized over generation quality.
Embedding Pipeline & Vectorization
Built a large-scale embedding pipeline vectorizing legal documents from Finlex and EUR-Lex with rich metadata structures (year, authority, jurisdiction, document type).
Experimental Interface (Streamlit)
Streamlit was used as a research tool to rapidly test legal queries, visualize retrieved sources, and validate citation behavior before committing to a full web product.
Transition to Full Web Platform
Streamlit was replaced with a full Next.js web application featuring a professional legal dashboard, chat-based research workflows, document upload, and multi-session support.
Large-Scale Data Expansion & System Hardening
The dataset expanded to 2M+ legal documents. Retrieval logic was refined to prevent EU data from drowning out Finnish law. Zero-hallucination constraints were enforced more strictly.
90% reduction in legal research time
2M+ legal documents embedded and indexed
100% citation-backed answers (zero hallucination tolerance)
Full-featured legal research dashboard adopted for real workflows