Hybrid chatbot
A conversational system that combines generative language models with intent routing, rules, templates, search, or other conventional techniques.
Natural Language Processing in Action, Second Edition
A hybrid chatbot combines generative language models with rules, templates, or other conventional conversational techniques.
- How it is used
- Uses hybrid chatbots to balance responsive educational conversation against misleading or harmful LLM replies.
- How deep it goes
- Works through a LangChain conversational prototype and its failures, but does not implement the proposed RAG or rule-based filters.
- Examples
- Uses a WhatsApp math tutor’s parent-permission dialogue and a number-sequence quiz that produces contradictory feedback.
- What you can do after
- Apply it via LangChain to prototype a conversational tutor and identify replies that need grounding or independent checks.
Read how Natural Language Processing in Action, Second Edition explains hybrid chatbot →
Effective Conversational AI
A hybrid model combines intent-based routing with search or generative-AI capabilities in one conversational system.
- How it is used
- Routes common questions through intents and sends other questions to search or generative AI.
- How deep it goes
- Defines the routing pattern and contrasts alternatives, but gives no design or implementation steps.
- Examples
- Contrasts FAQ intent-response matching with search-backed generated answers; provides no specific hybrid dialogue.
- What you can do after
- Evaluate chatbots by classifying their patterns and identifying performance challenges.
Read how Effective Conversational AI explains hybrid chatbot →
Related concepts
- language modeluses · A language model is a computational model that represents patterns in linguistic tokens to estimate sequence probabilities and predict or generate language from context.
- intent classificationuses · Intent classification is the task of assigning an input, such as a query or utterance, to a category representing its purpose, goal, or information need.
- retrieval-augmented generationuses · Retrieval-augmented generation is a technique that retrieves relevant information from external sources and supplies it as context to a generative model when producing an output.
- generative chatbotcontrasts with · A generative chatbot is a conversational software system that dynamically produces responses using a generative model.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

