Add Danish law & EUR-Lex retrieval pipeline

↗ view on GitHub · Markus · 2026-05-08 · 130ce0ae

- Add lawRetrieval.ts: vector search + metadata-based fallback for specific
  § and Artikel references, merges results and dedupes
- Add ingestion scripts for Retsinformation and EUR-Lex (DORA, PRIIPs)
- Add document_chunks table migration and IVFFlat index (lists=20)
- Wire law context into chat and project-chat routes
- Add RETSINFORMATION_LAWS and EURLEX_REGULATIONS env vars to .env.example
- Ignore backend/data/ (local EUR-Lex HTML files) in .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository marklok/danishmike
Author Markus <markusklok@gmail.com>
Authored
Parents d9690965
Stats 13 files changed , +1270 , -2
Part of Danish law & EUR-Lex retrieval with inline citations

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-130ce0ae.md from inside the repo you want the change in.

⬇ Download capture-commit-130ce0ae.md