Compartilhar via


EntityRecognizerSet.RecognizeEntitiesAsync Método

Definição

Sobrecargas

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>)

Implemente RecognizeEntities iterando no pool do Reconhecedor.

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>)

Implemente RecognizeEntities iterando no pool do Reconhecedor.

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

Implemente RecognizeEntities iterando no pool do Reconhecedor.

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>)

Implemente RecognizeEntities iterando no pool do Reconhecedor.

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

Parâmetros

dialogContext
DialogContext

Contexto para a virada atual da conversa.

entities
IEnumerable<Entity>

se nenhuma entidade for passada, ela gerará um TextEntity para turnContext.Activity.Text e, em seguida, gerará entidades fora disso.

Retornos

Entity Lista.

Aplica-se a

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>)

Implemente RecognizeEntities iterando no pool do Reconhecedor.

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

Parâmetros

dialogContext
DialogContext

Contexto para a virada atual da conversa.

activity
Activity

atividade a ser reconhecida.

entities
IEnumerable<Entity>

se nenhuma entidade for passada, ela gerará um TextEntity para turnContext.Activity.Text e, em seguida, gerará entidades fora disso.

Retornos

Entity Lista.

Aplica-se a

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

Implemente RecognizeEntities iterando no pool do Reconhecedor.

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

Parâmetros

dialogContext
DialogContext

Contexto para a virada atual da conversa.

text
String

texto a ser reconhecido.

locale
String

localidade a ser usada.

entities
IEnumerable<Entity>

se nenhuma entidade for passada, ela gerará um TextEntity para turnContext.Activity.Text e, em seguida, gerará entidades fora disso.

Retornos

Entity Lista.

Aplica-se a