09.09.2025
Blog
Think ahead

Hybrid chatbots: architecture and technical implementation

In the first part of our series, we showed why hybrid chatbots represent the perfect combination of traditional, rule-based approaches and modern generative AI technology. In this second part, we delve deeper into the architecture and inner workings of these hybrid models to illustrate how the concept can be put into practice.

Potrait von Ansprechpartner Carsten Dahlmann
Carsten Dahlmann
Conversational AI Consultant

Architectural principles of hybrid chatbots 

A hybrid chatbot combines two response strategies. One emphasises control and consistency through pre-prepared content – typically via static dialogue structures or knowledge bases, which ensure that responses are tailored precisely to the query. The other utilises generative AI to make conversations flexible, natural and context-sensitive. An orchestration layer decides between these two modes depending on user input, ideally guided by confidence scores that indicate whether a query can be answered using rule-based logic or requires generative AI support. 

A comparison of static dialogue trees and vector RAG 

Depending on compliance, quality and control requirements, the rule-based branch can be implemented specifically using static dialogue trees. In this case, editors have already pre-formulated the responses. These are delivered in a controlled manner as soon as the intention has been recognised by the LLM (Large Language Model). With this approach, therefore, traditional intent and entity recognition via NLU (Natural Language Understanding) is replaced by LLM-based classification: The AI model identifies the user’s intent based on their input, whereupon the appropriate, manually created response is retrieved from the dialogue tree. This approach minimises the risk of hallucinations and ensures accuracy of content, as the AI does not independently generate potentially erroneous or undesirable content. 

Advantages and limitations of vector retrieval (RAG) 

RAG, or vector retrieval, is particularly useful when knowledge bases are large and dynamic. Typically, the most relevant document passages are selected using a Top-k similarity search. However, this can result in certain important pieces of information not being incorporated into the chatbot’s context. This problem can be mitigated by combining vector search with other techniques – such as traditional keyword search or NLU/NLP-based methods like synonym recognition or intent matching. In addition, optimisations such as query expansion or structured indexing can be employed to improve the quality of the results. However, each of these approaches has its own advantages and disadvantages, which differ from the deliberately limited, fully verified set of responses provided by static dialogue trees. 

Combining both approaches in practice 

In practice, these approaches can easily be combined: intent-driven paths from an existing NLU/dialogue platform (e.g. Watson Assistant, Dialogflow CX or Rasa) provide reliable answers, whilst an LLM smooths out the language, generates variations and covers edge cases – without having to relinquish control over the content. 

Model selection: on-premises or cloud? 

The choice of model platform is also crucial for the successful implementation of a hybrid chatbot – on-premises LLMs such as LLaMA, Mistral or Falcon offer full data sovereignty and are ideal for regulatory requirements. 

In contrast, cloud platforms such as Azure OpenAI, Google Vertex AI or AWS Bedrock enable highly scalable, constantly updated models with comprehensive services covering security, monitoring and deployment. 

Hybrid scenarios with combined model usage 

In some architectures, both approaches are combined: security-critical or data-privacy-relevant queries are processed locally on on-premises models, whilst more complex or computationally intensive tasks are handled via the cloud – with each process orchestrated to balance efficiency and compliance. 

Security and quality considerations 

Reliability means more than just ‘working’. In addition to stable performance, this includes comprehensive protection mechanisms such as strict data access controls (e.g. SSO, role-based permissions), encryption in transit and at rest, PII filtering and output parsing. 

Monitoring and quality control 

In addition, continuous monitoring, feedback loops and automated regression testing are crucial for preventing hallucinations, controlling tone and detecting deviations at an early stage. 

Auditability in regulated sectors 

Auditability is particularly crucial in regulated sectors: logging of model decisions, traceability of the data sources used and defined escalation procedures for critical incidents ensure compliance with regulatory requirements. Through regular quality assurance, including benchmarking against defined KPIs, the chatbot can not only be operated to a high standard but also continuously optimised. 

Conclusion: Intelligent architecture as a key success factor 

The greatest strength of hybrid chatbots lies not solely in generativity, but in their intelligent architecture: static structures for reliable, comprehensive answers, complemented by generative components for flexibility and user-friendliness. Ideally combined with on-premises models and cloud services — depending on requirements. 

Read also: Hybrid chatbots: The future of customer interaction – Materna Blog

Potrait von Ansprechpartner Carsten Dahlmann

Carsten Dahlmann
Conversational AI Consultant

Carsten Dahlmann works as a Conversational AI Consultant at Materna, operating at the interface between language and technology. He supports clients in the design, development and optimisation of digital assistants – from dialogue design right through to the integration of generative AI. He is currently focusing intensively on the question of how generative AI can be embedded in a meaningful and understandable way within business contexts – and shares this knowledge through training courses.

Related articles

Blog
Digital Experience
25.08.2026
Design systems as the foundation of digital applications

Nowadays, digital products are rarely developed in isolation. Websites, apps, portals and service applications are all interconnected and must…

Read more
Blog
Digital Experience
30.06.2026
Tilting at windmills: Why UX isn’t AI prompting

These days, absolutely everything is supposed to offer a good user experience: the way I order a pizza, the way I hold my watch briefly over a shelf…

Read more
Blog
Digital Experience
02.06.2026
Why a good user experience is key to the success of digital products

A digital product is not automatically successful simply because it works from a technical point of view. What matters is whether people understand…

Read more
Blog
Digital Experience
21.05.2026
The path to an accessible terminal: implementation, legal considerations and opportunities

In the first part of this blog series, we explained how the Accessibility Enhancement Act (BFSG), which comes into force in 2025, obliges companies to…

Read more
Blog
Digital Experience
05.05.2026
Accessible self-service terminals: How the BFSG makes our everyday lives fairer and easier

Accessibility is a fundamental prerequisite for enabling people to participate in public life on an equal footing. Around 13 million people in Germany…

Read more
Blog
Digital Experience
21.04.2026
Managing IT costs in small and medium-sized enterprises: How a clear architecture creates transparency and cost-effectiveness

Rising IT costs coupled with increasing pressure to innovate – many medium-sized companies are currently facing precisely this dilemma. The challenge…

Read more
Blog
Digital Experience
11.03.2026
Hyper-personalisation: How do you design products that are constantly changing?

The digital world is undergoing a transformation. With the rise of artificial intelligence, it is not only the tools that designers use that are…

Read more
Blog
Digital Experience
24.02.2026
Pizza meets UX: The usability test dinner at Materna in Berlin

In mid-February, Materna hosted the Usability Test Dinner in Berlin. The event brings digital and analogue products together with real users – in a…

Read more
Short News
Digital Experience
Data & AI
Public Sector
11.12.2025
Chatbot technology

In the public sector, chatbots facilitate communication between members of the public and the authorities. The Cybercrime Co-ordination and Contact…

Read more
Blog
Verwaltung Digital
Digital Experience
Public Sector
26.08.2025
High-quality digital administration: DIN SPEC 66336 as a service standard for online services

The digitalisation of public administration is a key priority for modern state governance. The Online Access Act (OZG) established the legal framework…

Read more