Udostępnij przez


Find.FindChoices Metoda

Definicja

Przeciążenia

FindChoices(String, IList<Choice>, FindChoicesOptions)

Dopasuje dane wejściowe użytkownika do listy opcji wyboru.

FindChoices(String, IList<String>, FindChoicesOptions)

Dopasuje dane wejściowe użytkownika do listy opcji wyboru.

FindChoices(String, IList<Choice>, FindChoicesOptions)

Dopasuje dane wejściowe użytkownika do listy opcji wyboru.

public static System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.ModelResult<Microsoft.Bot.Builder.Dialogs.Choices.FoundChoice>> FindChoices(string utterance, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, Microsoft.Bot.Builder.Dialogs.Choices.FindChoicesOptions options = default);
static member FindChoices : string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * Microsoft.Bot.Builder.Dialogs.Choices.FindChoicesOptions -> System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.ModelResult<Microsoft.Bot.Builder.Dialogs.Choices.FoundChoice>>
Public Shared Function FindChoices (utterance As String, choices As IList(Of Choice), Optional options As FindChoicesOptions = Nothing) As List(Of ModelResult(Of FoundChoice))

Parametry

utterance
String

Dane wejściowe.

choices
IList<Choice>

Lista opcji wyboru.

options
FindChoicesOptions

Opcjonalnie opcje kontrolowania strategii rozpoznawania.

Zwraca

Lista znalezionych opcji posortowanych według najbardziej odpowiedniego pierwszego.

Dotyczy

FindChoices(String, IList<String>, FindChoicesOptions)

Dopasuje dane wejściowe użytkownika do listy opcji wyboru.

public static System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.ModelResult<Microsoft.Bot.Builder.Dialogs.Choices.FoundChoice>> FindChoices(string utterance, System.Collections.Generic.IList<string> choices, Microsoft.Bot.Builder.Dialogs.Choices.FindChoicesOptions options = default);
static member FindChoices : string * System.Collections.Generic.IList<string> * Microsoft.Bot.Builder.Dialogs.Choices.FindChoicesOptions -> System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.ModelResult<Microsoft.Bot.Builder.Dialogs.Choices.FoundChoice>>
Public Shared Function FindChoices (utterance As String, choices As IList(Of String), Optional options As FindChoicesOptions = Nothing) As List(Of ModelResult(Of FoundChoice))

Parametry

utterance
String

Dane wejściowe.

choices
IList<String>

Lista opcji wyboru.

options
FindChoicesOptions

Opcjonalnie opcje kontrolowania strategii rozpoznawania.

Zwraca

Lista znalezionych opcji posortowanych według najbardziej odpowiedniego pierwszego.

Dotyczy