Compartir a través de


IntentRecognizer.AddAllIntents Método

Definición

Sobrecargas

AddAllIntents(LanguageUnderstandingModel)

Agrega todas las intenciones del modelo de Language Understanding especificado. Para los tipos PatternMatchingModel y ConversationalLanguageUnderstandingModel, se borrarán los modelos existentes antes de habilitarlo.

AddAllIntents(LanguageUnderstandingModel, String)

Agrega una única intención por nombre del modelo de Language Understanding especificado. Para los tipos PatternMatchingModel y ConversationalLanguageUnderstandingModel, se borrarán los modelos existentes antes de habilitarlo. Para estos tipos, se omite intentName.

AddAllIntents(LanguageUnderstandingModel)

Agrega todas las intenciones del modelo de Language Understanding especificado. Para los tipos PatternMatchingModel y ConversationalLanguageUnderstandingModel, se borrarán los modelos existentes antes de habilitarlo.

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

Parámetros

model
LanguageUnderstandingModel

Modelo de Language Understanding que contiene las intenciones.

Se aplica a

AddAllIntents(LanguageUnderstandingModel, String)

Agrega una única intención por nombre del modelo de Language Understanding especificado. Para los tipos PatternMatchingModel y ConversationalLanguageUnderstandingModel, se borrarán los modelos existentes antes de habilitarlo. Para estos tipos, se omite intentName.

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)

Parámetros

model
LanguageUnderstandingModel

Modelo de Language Understanding del servicio Language Understanding.

intentId
String

Identificador de cadena personalizado que se va a devolver en la IntentId propiedad .

Se aplica a