IntentRecognizer.AddAllIntents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The language understanding model from Language Understanding service.