The NostraCasa team developed an AI assistant designed to answer questions about Polish housing law, providing answers that are directly linked to specific legal statutes. Key to their approach is chunking the legal text by article rather than token count, retrieving a broader context of eight articles to ensure accuracy, and explicitly marking archival laws to prevent outdated information from being cited. A secondary, smaller model is employed to verify and correct citations and repair text, with a system designed to fail open gracefully if any component encounters an error. AI
IMPACT Demonstrates a practical approach to ensuring factual accuracy and citation integrity in RAG systems for specialized domains like law.
RANK_REASON The article describes a specific application of LLMs for legal Q&A, detailing its technical implementation and lessons learned, which falls under AI tooling rather than a core AI release or research.
- Act on Ownership of Premises
- Construction Law
- mistral-embed
- NostraCasa
- pgvector
- Polish
- PostgreSQL
- UoWL
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →