IntentRecognizer.AddAllIntents Method

Definition

Overloads

AddAllIntents(LanguageUnderstandingModel)

Adds all intents from the specified Language Understanding Model. For PatternMatchingModel and ConversationalLanguageUnderstandingModel types, this will clear any existing models before enabling it.

AddAllIntents(LanguageUnderstandingModel, String)

Adds a single intent by name from the specified Language Understanding Model. For PatternMatchingModel and ConversationalLanguageUnderstandingModel types, this will clear any existing models before enabling it. For these types, the intentName is ignored.

AddAllIntents(LanguageUnderstandingModel)

Adds all intents from the specified Language Understanding Model. For PatternMatchingModel and ConversationalLanguageUnderstandingModel types, this will clear any existing models before enabling it.

public void AddAllIntents (Microsoft.CognitiveServices.Speech.Intent.LanguageUnderstandingModel model);
member this.AddAllIntents : Microsoft.CognitiveServices.Speech.Intent.LanguageUnderstandingModel -> unit
Public Sub AddAllIntents (model As LanguageUnderstandingModel)

Parameters

model
LanguageUnderstandingModel

The language understanding model containing the intents.

Applies to

AddAllIntents(LanguageUnderstandingModel, String)

Adds a single intent by name from the specified Language Understanding Model. For PatternMatchingModel and ConversationalLanguageUnderstandingModel types, this will clear any existing models before enabling it. For these types, the intentName is ignored.

public void AddAllIntents (Microsoft.CognitiveServices.Speech.Intent.LanguageUnderstandingModel model, string intentId);
member this.AddAllIntents : Microsoft.CognitiveServices.Speech.Intent.LanguageUnderstandingModel * string -> unit
Public Sub AddAllIntents (model As LanguageUnderstandingModel, intentId As String)

Parameters

model
LanguageUnderstandingModel

The language understanding model from Language Understanding service.

intentId
String

A custom string id to be returned in the IntentId property.

Applies to