Compartilhar via


EntityRecognizer.RecognizeEntitiesAsync Método

Definição

Sobrecargas

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

RecognizeEntitiesAsync(DialogContext, String, String, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity>> RecognizeEntitiesAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity> entities, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
override this.RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
Public Overridable Function RecognizeEntitiesAsync (dialogContext As DialogContext, entities As IEnumerable(Of Entity), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Entity))

Parâmetros

dialogContext
DialogContext

O DialogContext para a virada atual da conversa.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, o CancellationToken da tarefa.

Retornos

Lista reconhecida Entity .

Aplica-se a

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity>> RecognizeEntitiesAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity> entities, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Schema.Activity * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
override this.RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Schema.Activity * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
Public Overridable Function RecognizeEntitiesAsync (dialogContext As DialogContext, activity As Activity, entities As IEnumerable(Of Entity), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Entity))

Parâmetros

dialogContext
DialogContext

O DialogContext para a virada atual da conversa.

activity
Activity

A caixa de diálogo é Activity.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, o CancellationToken da tarefa.

Retornos

Lista reconhecida Entity .

Aplica-se a

RecognizeEntitiesAsync(DialogContext, String, String, IEnumerable<Entity>, CancellationToken)

Reconhece entidades de uma Entity lista.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity>> RecognizeEntitiesAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, string text, string locale, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Entity> entities, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * string * string * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
override this.RecognizeEntitiesAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * string * string * seq<Microsoft.Bot.Schema.Entity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Entity>>
Public Overridable Function RecognizeEntitiesAsync (dialogContext As DialogContext, text As String, locale As String, entities As IEnumerable(Of Entity), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Entity))

Parâmetros

dialogContext
DialogContext

O DialogContext para a virada atual da conversa.

text
String

Texto a ser reconhecido.

locale
String

Localidade a usar.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, o CancellationToken da tarefa.

Retornos

Lista reconhecida Entity .

Aplica-se a