What is intent detection?

Intent detection is the classification task of assigning the purpose behind a user's written or spoken utterance to one or more of a set of predefined intent classes.

It is also called intent classification. Its relation to text classification is that of specific to general: text classification assigns categories to any text, while intent detection does so for assistant utterances to understand what the user wants. It usually works with slot filling: if the intent is card cancellation, the slot is which card.

Topic
Natural language processing and Turkish
Also known as
Intent classification, intent recognition

How intent detection works

  1. The organisation defines the jobs users may ask for as intent classes, such as billing disputes, password resets or address changes.
  2. Example utterances are collected for each intent; a model is trained on them or compares utterances by embedding similarity.
  3. Each incoming utterance gets a probability per intent and the most probable is chosen.
  4. Utterances matching no intent well are flagged out of scope and routed to a person or a general flow.

In more detail

Multiple intents and multi-turn context

Real-world user messages frequently contain multiple intents in a single turn (e.g. "block my card and send a new one to my updated address") or rely on prior conversation context ("cancel that one instead"). Production systems handle this with multi-label classification, utterance decomposition or context-aware conversational routing rather than single-turn single-label classifiers.

Turkish morphology, negation suffixes and mobile typing noise

In Turkish natural language processing, intent detection must cope with agglutinative morphology (e.g. negation suffixes inside a single word like "iptal ettiremedim"), colloquial abbreviations and missing Turkish diacritics in mobile typing (such as "kartim calindi"). Subword tokenisation, Turkish-aware encoders or embeddings and diacritic-tolerant normalisation and augmentation help prevent sharp accuracy drops in production.

Layered routing and confidence calibration

In current enterprise stacks, intent detection increasingly operates as a tiered routing pipeline: a fast embedding router (semantic routing) or lightweight encoder handles high-frequency deterministic intents and out-of-scope gating, while ambiguous or composite requests escalate to an LLM with structured tool calling. Calibration (e.g. temperature scaling) ensures confidence thresholds stay meaningful across evolving intent taxonomies.

Commonly confused terms

TermHow it differs
Sentiment analysisSentiment analysis measures emotional tone (positive, negative, frustrated) regardless of the requested action, whereas intent detection identifies what action or information the user is asking for.

Why intent detection matters for on-premises AI

In conversational in-house assistants intent detection decides which workflow, tool or knowledge source runs. A wrong intent sends the user down the wrong process, so out-of-scope detection and confidence thresholds matter as much as accuracy. Large language models can detect intents from a few examples, while for frequent critical intents a small in-house classifier gives more predictable results.

ON-PREMISES EXAMPLE

A bank's mobile assistant detects the intent of a customer typing “my card was stolen” as card blocking and routes it to that flow, leaving out-of-scope questions such as campaign queries to the general flow.

Common questions

What is the difference between intent detection and text classification?

Text classification is the general task of assigning categories to any text. Intent detection applies it to user utterances to find what the user wants to do.

Is a separate intent model needed when large language models exist?

With few intents and low traffic a language model may suffice. With many critical intents a small classifier is faster, cheaper and more consistent; the two can also work together.

Sources

In the glossary: Glossary, D to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.