Find.FindChoices Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| FindChoices(String, IList<Choice>, FindChoicesOptions) |
Hiermee wordt gebruikersinvoer vergeleken met een lijst met keuzes. |
| FindChoices(String, IList<String>, FindChoicesOptions) |
Hiermee wordt gebruikersinvoer vergeleken met een lijst met keuzes. |
FindChoices(String, IList<Choice>, FindChoicesOptions)
Hiermee wordt gebruikersinvoer vergeleken met een lijst met keuzes.
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))
Parameters
- utterance
- String
De invoer.
- options
- FindChoicesOptions
Optioneel, opties voor het beheren van de herkenningsstrategie.
Retouren
Een lijst met gevonden keuzes, eerst gesorteerd op meest relevante.
Van toepassing op
FindChoices(String, IList<String>, FindChoicesOptions)
Hiermee wordt gebruikersinvoer vergeleken met een lijst met keuzes.
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))
Parameters
- utterance
- String
De invoer.
- options
- FindChoicesOptions
Optioneel, opties voor het beheren van de herkenningsstrategie.
Retouren
Een lijst met gevonden keuzes, eerst gesorteerd op meest relevante.