PatternMatchingIntent Class

Definition

Represents a pattern matching intent used for intent recognition.

public sealed class PatternMatchingIntent
type PatternMatchingIntent = class
Public NotInheritable Class PatternMatchingIntent
Inheritance
PatternMatchingIntent

Constructors

PatternMatchingIntent(String, IEnumerable<String>)

Creates a pattern matching intent using the specified intent Id and collection of phrases.

PatternMatchingIntent(String, String[])

Creates a pattern matching intent using the specified intent Id.

PatternMatchingIntent(String)

Creates a pattern matching intent using the specified intent Id.

Properties

IntentId

An Id used to define this PatternMatchingIntent. This Id will be used in the IntentRecognitionResult returned from the IntentRecognizer.

Phrases

Phrases and patterns that will trigger this intent. At least one phrase must exist to be able to apply this intent to an IntentRecognizer.

Applies to