Ask Statistics Denmark
An AI agent that answers questions about Denmark with official statistics and cites its source.
An AI agent that answers questions about Denmark with official statistics. It uses RAG over 2,300 tables and LLM tool calling to find the right table, fetch the numbers and cite the source, and it shows every step it took.
Result
Hybrid search (BM25 and vector search with pgvector) evaluated on 48 labelled questions and tracked in MLflow. The agent answers 80 to 87% of test questions correctly and declines every question the data cannot answer.
Tools
- Python
- LLMs
- RAG
- AI agents
- tool calling
- pgvector
- PostgreSQL
- MLflow
- Gradio
- GitHub Actions