Back to projects
2026-01-01

Constitutional AI Assistant

AI-powered legal assistant built on a simplified RAG architecture, designed to prevent hallucinations when querying Bolivia's constitutional data.

PythonLangChainRAGNext.jsVercel
View on GitHub

An evolution of my original thesis project, Econstitucional (2011-2013), which served as my Systems Engineering degree project. The current version transforms the original PostgreSQL-stored constitutional data into optimized JSON files for web consumption and AI-powered querying.

Built on a simplified RAG (Retrieval-Augmented Generation) architecture specifically designed to prevent hallucinations and distortions when handling constitutional information. The system ensures accurate, grounded responses by constraining the AI to verified legal sources.