Indonesian Parliament Activity Chatbot

This project implements a chatbot that can answer questions about the activities and agendas of the Indonesian Parliament members. It utilizes a SQL database containing agenda data and leverages large language models (LLMs) through the Langchain library to interact with the database and provide natural language responses.

Proof points

  • Real-time Data

Technologies

Python, LangChain, SQL, NLP

Links

  • Source: private or not public

Problem

Citizens lack easy access to information about their parliamentary representatives' activities and voting records.

Approach

Built a LangChain SQL agent that converts natural language questions into SQL queries against parliament activity database.

Results

Enabled citizens to query parliament activities in plain Indonesian, improving government transparency and civic engagement.