Architected a secure natural language interface for government datasets using Gemini-3.5-Flash and DuckDB, implementing a Pydantic-validated SQL generation pipeline that eliminated manual query writing and ensured 100% adherence to read-only data constraints via automated keyword blocklisting.
- Optimized query performance with an embedded DuckDB engine over CSV backends, reducing data retrieval latency by 3X.
- Enabled real-time visualization of multi-million record datasets through a custom FastAPI and Plotly integration.
- Developed an Audit-First architecture by integrating a persistent SQLite-based logging system.