liveBook · Manning

Intent classification

Also called intent recognition

Intent classification assigns an input, such as a query or utterance, to a category representing the purpose, goal, or information need it expresses.

How 4 Manning books explain it

Natural Language Processing in Action, Second Edition

Intent classification assigns text to a category representing the user's purpose or communicative intent.

How it is used
Supports chatbot response selection, conversation analytics, and discrete routing decisions.
How deep it goes
Explains keyword rules and learned recognition, with a worked greeting check and a high-level account of semantic routing.
Examples
Uses greeting detection, alternative light-switch commands, and a math tutor’s safety-related messages as examples.
What you can do after
Evaluate and understand how intent labels guide chatbot responses and routing.

Read how Natural Language Processing in Action, Second Edition explains intent classification →

AI-Powered Search

Query classification is the assignment of a search query to one or more predefined intent, topic, or behavior classes.

How it is used
Classifies incoming search queries into available content categories to support intent interpretation.
How deep it goes
Walks through SKG traversal, classification parameters, and scored results, then extends traversal to contextual terms.
Examples
Uses Stack Exchange categories to classify driver, vitamins, and airplane queries, including more specific query variants.
What you can do after
Apply it via a semantic knowledge graph to retrieve and configure ranked query categories.

Read how AI-Powered Search explains intent classification →

Effective Conversational AI

Intent classification is the assignment of a user utterance to one of a set of predefined intent categories.

How it is used
Routes conversational users by correctly identifying their goals and determining when the assistant can respond, act, or escalate.
How deep it goes
Explains training-data preparation, classifier testing, performance signals, and maintenance, but does not descend into implementation code.
Examples
Uses chat logs, call-center transcripts, emails, open-ended greetings, generic replies, repeated requests, opt-outs, and escalations as examples or signals.
What you can do after
Diagnose/debug weak conversational understanding by improving representative training data, testing accuracy, and tracking user-friction signals.

Read how Effective Conversational AI explains intent classification →

The Art of AI Product Development

The categorization of a search query into a type or intent that determines how it is processed or retrieved.

How it is used
Routes queries through different retrieval pipelines and prioritizes sources according to recognized intent.
How deep it goes
Explains classification through query categories and retrieval parameters, but does not detail its implementation.
Examples
Uses AI questions spanning technical advancements, market trends, product integration, healthcare, finance, SaaS, and workflow automation.
What you can do after
Operate/configure retrieval pipelines by assigning query types and setting intent-specific source priorities.

Read how The Art of AI Product Development explains intent classification →

Also covered in

What to know first

Related concepts

Questions about intent classification

What is intent classification?

Intent classification assigns an input, such as a query or utterance, to a category representing the purpose, goal, or information need it expresses.

Which Manning books explain intent classification?

Natural Language Processing in Action, Second Edition, AI-Powered Search, Effective Conversational AI and The Art of AI Product Development.

What should I know before learning intent classification?

Manning books that teach intent classification usually introduce language model, conversational ai and similarity search first.

What is intent classification also called?

Intent classification is also called intent recognition.

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.