What is intent recognition?

In this overview, you will learn about the benefits and capabilities of intent recognition. The Cognitive Services Speech SDK provides two ways to recognize intents, both described below. An intent is something the user wants to do: book a flight, check the weather, or make a call. Using intent recognition, your applications, tools, and devices can determine what the user wants to initiate or do based on options you define in the Intent Recognizer or LUIS.

Pattern matching

The SDK provides an embedded pattern matcher that you can use to recognize intents in a very strict way. This is useful for when you need a quick offline solution. This works especially well when the user is going to be trained in some way or can be expected to use specific phrases to trigger intents. For example: "Go to floor seven", or "Turn on the lamp" etc. It is recommended to start here and if it no longer meets your needs, switch to using LUIS or a combination of the two.

LUIS (Language Understanding Intent Service)

The Microsoft LUIS service is available as a complete AI intent service that works well when your domain of possible intents is large and you are not really sure what the user will say. It supports many complex scenarios, intents, and entities.

LUIS key required

  • LUIS integrates with the Speech service to recognize intents from speech. You don't need a Speech service subscription, just LUIS.
  • Speech intent recognition is integrated with the Speech SDK. You can use a LUIS key with the Speech service.
  • Intent recognition through the Speech SDK is offered in a subset of regions supported by LUIS.

Get started

See this how-to to get started with pattern matching.

See this quickstart to get started with LUIS intent recognition.

Sample code

Sample code for intent recognition:

Reference docs

Next steps