Jaa


EntityRecognizerSet.RecognizeEntitiesAsync Method

Definition

Overloads

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>)

Implement RecognizeEntities by iterating against the Recognizer pool.

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>)

Implement RecognizeEntities by iterating against the Recognizer pool.

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

Implement RecognizeEntities by iterating against the Recognizer pool.

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>)

Implement RecognizeEntities by iterating against the Recognizer pool.

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

Parameters

dialogContext
DialogContext

Context for the current turn of conversation.

entities
IEnumerable<Entity>

if no entities are passed in, it will generate a TextEntity for turnContext.Activity.Text and then generate entities off of that.

Returns

Entity list.

Applies to

RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>)

Implement RecognizeEntities by iterating against the Recognizer pool.

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

Parameters

dialogContext
DialogContext

Context for the current turn of conversation.

activity
Activity

activity to recognize against.

entities
IEnumerable<Entity>

if no entities are passed in, it will generate a TextEntity for turnContext.Activity.Text and then generate entities off of that.

Returns

Entity list.

Applies to

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

Implement RecognizeEntities by iterating against the Recognizer pool.

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

Parameters

dialogContext
DialogContext

Context for the current turn of conversation.

text
String

text to recognize.

locale
String

locale to use.

entities
IEnumerable<Entity>

if no entities are passed in, it will generate a TextEntity for turnContext.Activity.Text and then generate entities off of that.

Returns

Entity list.

Applies to