How to build and maintain a reliable legal corpus for RAG: sources, deduplication, and updates.
A legal corpus is the database of legal documents that feeds a RAG system. Its quality directly determines the quality of responses.
| Metric | Description | Target |
|---|---|---|
| Coverage | % of key regulations indexed | >95% |
| Freshness | Average update time | <48h |
| Deduplication | Ratio of duplicates removed | >99% |
| Encoding | % of texts without encoding errors | 100% |
A legal corpus is not static. It requires:
Have your own legal questions?
The Individual Plan gives you 50 queries/month with answers verified against official legal sources.