Skip to content
← All work

AI · 2026 · Builder

LegalAI

80,907 Costa Rican legal texts collected, indexed and searchable by an AI assistant

What it is

The national legal database has no search API, so the collector walks document ID ranges, resumes after interruptions and backs off when rate-limited. The corpus feeds a retrieval-augmented assistant (ChromaDB, Ollama, bge-m3) and an Odoo module with a public chat page.

Highlights

  • 80,907 texts collected, 63,753 in force
  • Also a court-decision collector over the judiciary API