We have developed an AI agent that leverages data from the open data portal to interact with information related to votes, legislative acts, and members of parliament.
We have developed an AI agent that leverages data from the open data portal to interact with information related to votes, legislative acts, and members of parliament. Bringing transparency in politics by analyzing past votes of a MEP (Member of the European Parliament). The analysis is done by an AI Agent, running in a Trusted Execution Environment (TEE), to guarantee that it brings no biais other than the ones natives to Large Language Models (LLMs).
We have built ontop of Galadriel leveraging their API for building smart contracts with LLM and Oracle capabilities to build the agent.
We extracted the data using python from the open data portal of the european union: https://data.europarl.europa.eu/en/developer-corner/opendata-api. We developed the smart contracts on the Galadriel AI chain and Hardhat. We leveraged the power of LLMs and the Oracle. Next.js for the front-end with the following packages: third web, shadcn/ui, v0, tailwind css.