Partilhar 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 viragem atual da conversação.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, a CancellationToken partir da tarefa.

Devoluções

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 viragem atual da conversação.

activity
Activity

A caixa de diálogo é Activity.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, a CancellationToken partir da tarefa.

Devoluções

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 viragem atual da conversação.

text
String

Texto a reconhecer.

locale
String

Região a utilizar.

entities
IEnumerable<Entity>

O enumerado Entity a ser reconhecido.

cancellationToken
CancellationToken

Opcional, a CancellationToken partir da tarefa.

Devoluções

Lista reconhecida Entity .

Aplica-se a