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 ist als Conversational AI Consultant bei Materna an der Schnittstelle zwischen Sprache und Technik tätig. Er begleitet Kunden bei der Konzeption, Redaktion und Optimierung von digitalen Assistenten – vom Dialogdesign bis hin zur Integration generativer KI. Derzeit beschäftigt er sich intensiv mit der Frage, wie generative KI sinnvoll und verständlich in Unternehmenskontexte eingebettet werden kann – und gibt dieses Wissen in Schulungen weiter.

Related articles

Event
Frankfurt am Main
18.11.2026
BMC Helix Roadshow 2026

Meet Materna at the BMC Helix Roadshow 2026 on 18 November in Frankfurt and discover how modern service management, Agentic AI and compliance requirements work together successfully. Look forward to exclusive insights into the BMC Helix roadmap, the…

Read more
Event
Dortmund
05.11.2026
XCS Day (Xchange in Cyber Security)

At XCS Day, experts from the business and public sectors will once again come together to discuss current challenges and strategies relating to cyber security and regulation. Find out how organisations are strengthening their resilience to cyber…

Read more
Event
Dortmund
03.11.2026
FMS Information Day

On 3 November 2026, we will update you on the latest developments relating to the Federal Government’s FMS and encourage mutual exchange. The keen interest you show in every issue demonstrates that the FMS is, and will remain, a key element of…

Read more
Event
Wien
13.10.2026
Agentic AI Roundtable in Vienna

How does Agentic AI deliver real added value for IT and service organisations? At the Agentic AI Roundtable in Vienna, Materna, BMC Helix and other experts will discuss specific use cases, current challenges and next steps for businesses. Look…

Read more
Event
Berlin
13.10.2026 - 15.10.2026
Smart Country Convention (SCCON)

Come and meet us in Hall 27 at Stand 206 at the leading event for the digital state and public services. SCCON is a must-attend event for all stakeholders actively driving and shaping digital transformation. At our stand, you’ll find a use case…

Read more
Event
Amsterdam
06.10.2026 - 08.10.2026
Atlassian Team ’26 Europe

From 6 to 8 October 2026, Atlassian will be bringing the community together for ‘Team ’26 Europe’ in Amsterdam. Look forward to hands-on sessions covering AI, new products and features, live demos and certification opportunities. You’ll also have the…

Read more
Event
Berlin
01.10.2026
Open Insurance Dialog 4.0 (#OID4.0)

Open Insurance Dialog 4.0: FiDA, Identity and New Opportunities for Insurers

The insurance industry is facing a profound transformation: FiDA (Financial Data Access) and Open Insurance are creating new opportunities for data-driven services,…

Read more
Event
Online
30.09.2026
Webcast: ‘Understanding the mainframe, accelerating migration: How banks and insurers are harnessing hidden knowledge’

Mainframe and legacy systems contain decades of business logic – often inadequately documented and difficult to access. From 10.00 to 11.30, Materna and Nomain will demonstrate how AI-powered analyses can make business logic, dependencies and…

Read more
Event
Düsseldorf
30.09.2026
27th NRW ÖV Symposium

Artificial intelligence, digital sovereignty, the cloud, the data economy and cyber security form the framework for the digital transformation of public administration in North Rhine-Westphalia. This popular platform for information and dialogue on…

Read more
Event
Public Sector
Online
24.09.2026
Webcast: ‘From a jungle of registers to a digital ecosystem.’

How register modernisation, the ‘once-only’ principle and NOOTS are bringing about lasting change in public administration. Find out what challenges public authorities face, which strategies are proving effective, and how a future-proof register…

Read more