Jaa


EntityRecognizer.RecognizeEntitiesAsync Method

Definition

Overloads

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>, CancellationToken)

Recognizes entities from an Entity list.

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

Recognizes entities from an Entity list.

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

Recognizes entities from an Entity list.

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>, CancellationToken)

Recognizes entities from an Entity list.

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))

Parameters

dialogContext
DialogContext

The DialogContext for the current turn of conversation.

entities
IEnumerable<Entity>

The enumerated Entity to be recognized.

cancellationToken
CancellationToken

Optional, the CancellationToken from the task.

Returns

Recognized Entity list.

Applies to

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

Recognizes entities from an Entity list.

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))

Parameters

dialogContext
DialogContext

The DialogContext for the current turn of conversation.

activity
Activity

The dialog's Activity.

entities
IEnumerable<Entity>

The enumerated Entity to be recognized.

cancellationToken
CancellationToken

Optional, the CancellationToken from the task.

Returns

Recognized Entity list.

Applies to

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

Recognizes entities from an Entity list.

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))

Parameters

dialogContext
DialogContext

The DialogContext for the current turn of conversation.

text
String

Text to recognize.

locale
String

Locale to use.

entities
IEnumerable<Entity>

The enumerated Entity to be recognized.

cancellationToken
CancellationToken

Optional, the CancellationToken from the task.

Returns

Recognized Entity list.

Applies to