Public Sector

Enhancing Parliamentary Services with Generative AI

SDSC Team:
Share this post

Increasing information retrieval efficiency

Partly motivated by Inter-Parliamentary Union directives, the Swiss Parliament departments are exploring uses of generative AI in collaboration with academic institutions. One of the most straightforward applications to begin with turned out to be in the Parliamentary Services: The Swiss Parliament’s Helpdesk assists members of parliament with various inquiries, such as conducting document searches in the library, finding commission contacts, or addressing lost access cards.

Traditionally, answers to these questions have been available in a comprehensive PDF document titled “Prochain Arrêt: Palais Fédéral” (Next stop: Federal Palace). This master document contains the collective knowledge of various helpdesk questions and answers and is intended to facilitate the onboarding of new members and parliamentarians. However, navigating the document in search of answers is a time-consuming effort, and in frequent cases the Parliament’s Helpdesk is additionally consulted. The need for faster, more accessible support led to the development of an innovative, AI-powered solution.

Building on a previous successful collaboration (1), the Swiss Data Science Center (SDSC) teamed up with the Publications & Production Services (Domaine Publications et Production) of the Swiss Parliament to build a state-of-the-art chat assistant. By leveraging Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG), the generative AI solution is designed to instantly and accurately provide responses sourced from the document. Equally important, the assistant is capable to operate in Switzerland’s three main languages: German, French, and Italian.

Challenge: The need for accuracy and speed

Members of the Swiss Parliament, who work across multilingual groups, needed an intuitive system to quickly retrieve information from their master document “Prochain Arrêt: Palais Fédéral”.

The primary challenge was making the chat assistant capable of:
+ Accurately responding to queries in German, French, and Italian.
+ Retrieving and providing document-based answers, ensuring precise and trustworthy results.
+ Maintaining transparency by pointing users to the specific part of the document used to generate the response.
+ Being scalable, supporting future integration with additional documents.

From PDF to AI: Multilingual chat solution

Drawing on deep expertise in data science and machine learning, the SDSC team crafted a custom chat assistant called “AskDigi” powered by state-of-the-art LLMs and a robust RAG system. The solution supports complex multilingual interactions and reliably retrieves answers from the PDF document.

Key features of the solution include:

Multilingual capability: The assistant responds seamlessly in German, French, and Italian, accommodating the linguistic diversity of the Swiss Parliament.

Hybrid search and advanced embeddings: By utilizing a combination of hybrid search techniques, the assistant efficiently retrieves relevant information from the document. Regardless of the language used in the query, “AskDigi” seamlessly combines traditional keyword search with the power of advanced vector search for enhanced accuracy and speed.

Source-based transparency: The assistant provides citations, showing users the exact section of the document used to answer their query, promoting trust and verification.

User-friendly interface: A smooth and modern user interface (UI), designed to be fully responsive and mobile-compatible, ensures an easy-to-navigate experience for all parliamentarians.

Impact

The custom-made ChatGPT-like assistant is now deployed within the Swiss Parliament’s infrastructure and has received positive feedback from the first user testing. Though in its early stages, this AI-driven assistant aims to enhance access to essential parliamentary information, with the potential to enable parliamentarians to quickly obtain accurate answers.

Being scalable, the tool is designed to integrate more documents in the future, broadening its coverage of potential questions and enhancing its usefulness over time. This project highlights the transformative potential of machine learning models in streamlining parliamentary operations and improving access to information.

Next steps

Looking ahead, we aim to expand the assistant’s knowledge base by incorporating more documents, ensuring comprehensive coverage for a wider range of inquiries. Our ongoing commitment is to further improve this tool to meet the evolving needs of the Swiss Parliament.

Notably, this collaboration has established a strong foundation for future improvements and broader adoption of AI-driven tools within the Parliament. Selected through the SDSC’s first National Call for projects (2), the Swiss Parliament will also receive additional support via an expert support mandate. The main goal of this mandate is to provide the Parliament with our team's strategic and operational expertise, helping them build maturity and confidence in executing concrete data science initiatives.

References

(1) DemocraSci : A research platform for Data-Driven Democracy Studies in Switzerland. (2018 - 2020) In this research project the SDSC was mandated to develop a scalable and re-usable data processing chain to extract structured information from archival parliamentary records. SDSC mostly took care of the data extraction, the creation of the knowledge graph, and obtaining results in terms of polarization.

EvolvingDemocraSci (2022 - 2024): In this follow-up project, SDSC studied custom models for Named Entity extraction. SDSC also fine-tuned models for issue identification and continued working on data integration, using the data of CuriaVista, etc

(2)  SDSC National Call for Projects: In its development to becoming a National Research Infrastructure as of 2025, already this year the Swiss Data Science Center (SDSC) has launched a Swiss-wide National Call for Projects advancing its mandate to support the access and development of data science and artificial intelligence (AI) in research, the industry and the public sector in Switzerland.

Cover image source: Clément Lefebvre

More case studies

Private sector

An artificial intelligence-based system for augmented cell & gene therapies

Tigen is a clinical-stage biotech company, founded in 2017 and based in Switzerland, with a mission to bridge the gap between academic research and commercially viable therapies, particularly in the field of T cell-based cancer treatments.
Private sector

Qlaire: Enhance Quality Management with generative AI

Qlaire enables Bühler's quality experts to rapidly access knowledge from issues texts. This leads to faster resolution of issues, easier retrieval of existing solutions, more efficient identification of quality hotspots, and a deeper understanding of quality concerns.
Private sector

Leveraging AI to foster sustainable consumer goods

Automated recommender system for more sustainable ingredient alternatives.

Contact us

Let’s talk Data Science

Do you need our services or expertise?
Contact us for your next Data Science project!