25.02.2025
Blog
Data & AI

RAG: Tailor-made AI responses through intelligent knowledge integration

Retrieval Augmented Generation (RAG) expands the knowledge base of language models. Application- or situation-specific information is incorporated into the response generation process, making results more personalised and precise – without the need to incorporate this knowledge through time-consuming training. Materna and the platform provider Elastic offer solutions that enable internal, non-publicly accessible knowledge to be queried in natural language using a RAG system. In this article, you will learn about the potential of RAG-based AI language models, particularly for public authorities.

Stefan Reinke
Content Editor

Working with generative AI such as ChatGPT has now become part of everyday life. A person submits a query, and the AI produces a response. The more precise the query, the better the result. In the process, the AI is constantly learning, whether through user feedback or through operator-led training of the Large Language Model (LLM) on which the AI is based. 

For use in public authorities, such generative AI has three drawbacks: Firstly, it derives its knowledge through training from sources available on the internet – and in a very generalised manner. Secondly, it does not forget knowledge once it has been trained, which has particularly negative consequences when that knowledge quickly becomes outdated. Thirdly, the AI can only provide very general answers to a question if it does not have access to specific context – such as agency-specific working instructions or legal interpretations. The knowledge it has been trained on is sufficient for providing superficial answers to enquiries, but not for more detailed information or even decision-making support for case officers. 

RAG: AI incorporates non-public data into its response

This is not the case with a RAG system. With this, the AI also accesses knowledge with which it was not trained, because the underlying data is not publicly accessible, or only to a limited extent. This may include laws, regulations, procedural guidelines, fee schedules or pre-formulated sentence modules – or even particularly sensitive, personal data. Furthermore, the AI does not ‘learn’ from this data, nor does it subsequently incorporate it into its model. 

The solution offered by Materna and Elastic ensures that non-public data remains under the control of its owner, whilst still being used primarily to generate a specific response. 

RAG thus combines publicly available or pre-trained knowledge with non-public data. 

Benefits of RAG for public authorities and citizens 

An example: ChatGPT receives the following query: ‘What is the property tax rate?’ The AI would then either engage in a dialogue and ask for more precise information (property tax rate for which town?) or it would generate a result at random. However, if the AI is instructed in advance to access only RAG data (current tables, predefined sentence modules, etc.) from the City of Dortmund when handling enquiries about the property tax assessment rate, it will always generate its response based on this data. This ensures that the information provided is accurate and legally sound. A system running on the City of Dortmund’s server would therefore always take the City of Dortmund’s assessment rate into account, even if the question does not mention the city’s name at all. 

When using RAG systems, it is therefore essential to ensure that the underlying data is actually protected and is not made public or used for the general training of the Large Language Model (LLM). This is for data protection reasons, but also for procedural ones. This is because the quality of the RAG-generated responses depends heavily on how well the data is maintained. The datasets must always be up to date. The solution from Materna and Elastic can also be deployed on-premises, i.e. installed and operated entirely within the authority’s secure environment. 

Generative AI with RAG could therefore revolutionise communication between public authorities or quasi-governmental bodies such as health insurance providers, as a chatbot on the homepage could already answer enquiries from citizens or customers very precisely and, depending on the data available, even in a personalised manner.  

Faster responses, more time for advice

Communication with public authorities is often difficult: long response times, limited opening hours and complicated correspondence are just some of the hurdles. If a public authority automates its communication using RAG, citizens can submit enquiries regardless of opening hours and receive well-founded and legally compliant information immediately. 

This benefits both sides: case officers can focus on complex cases and provide personalised advice, whilst applicants with standard enquiries receive their decisions more quickly.  

If you would like to find out more about our RAG solutions, please send an email to [email protected]. We will then provide you with a recording of our webcast ‘It’s RAG-Time: Confidently integrating internal government knowledge into generative AI solutions’.

Stefan Reinke
Content Editor

Stefan Reinke works as a content editor in the corporate communications department at Materna. His main areas of focus are energy, insurance and AI.

Related articles

Event
Data & AI
Versicherungen
Köln
05.10.2026 - 06.10.2026
AI in Insurance 2026

Generative AI has long since become a reality. Now, the focus is shifting to intelligent AI agents that support processes, prepare decisions, and unlock new efficiency potential. The 2026 AI in Insurance Conference will focus on practical…

Read more
Short News
Data & AI
28.08.2026
Corporate Twins: Why leadership needs a flight simulator

In management, wrong decisions can cause considerable damage: to staff, customers, supply chains, the company itself or the environment. However, the consequences are often not immediately apparent. They may be masked by a decline in quarterly…

Read more
Short News
Resilience
Data & AI
28.08.2026
Physical AI Cities: When cities begin to act

A look at Physical AI Cities highlights the potential inherent in an infrastructure that adapts dynamically to new situations – and why it cannot be justified without governance, resilience and democratic control.

Read more
Short News
Resilience
Data & AI
Transport und Logistik
Public Sector
Healthcare
Finanzverwaltung und Zoll
Energy & Utilities
28.08.2026
AI agents: If you automate chaos, you get chaos in real time

On the potential that Agentic AI offers for more productive organisations – and how quickly a lack of governance, unclear processes and overly broad permissions can become a risk.

Read more
Short News
Europe
Sustainability
Data & AI
28.08.2026
Green AI is not a romantic notion

Anyone wishing to operate AI in a sustainable, autonomous and responsible manner must take a holistic view of computing power, energy, governance, cybersecurity and resilience.

Read more
Blog
Data & AI
18.08.2026
From Key Figures to Decisions: The Next Stage in the Evolution of Information Sharing within Organisations

Companies today measure almost everything. Capacity utilisation, project metrics, turnover, margins and forecasts are available at any time in…

Read more
Press
Corporate
Data & AI
Public Sector
Dortmund
17.06.2026
SPARK, the AI for public authorities: Materna group helps public authorities speed up approval processes

With the launch of SPARK Workflow, public authorities now have access to a centralised AI-powered tool to process planning and approval procedures more quickly. As a member of the consortium responsible for the project, the Materna Group is…

Read more
Blog
Data & AI
10.06.2026
SmartLivingNEXT – How a data space brings together housing, care and energy

SmartLivingNEXT brings together homes, neighbourhoods and services. This benefits residents, care providers, energy suppliers and landlords.…

Read more
Blog
Data & AI
Versicherungen
16.04.2026
Maternas Fraud Shield: Secure claims reporting across all channels

Imagine this: a policyholder reports a claim quickly and easily via their trusted app. Seconds later, the claim has been recorded, the fraud check…

Read more
Blog
Data & AI
07.04.2026
97% reduction in workload: How AI is revolutionising line safety for transmission system operators

A real-world example illustrates what is possible when the underlying data is sound – and why human input remains indispensable nonetheless.

Read more