Freigeben über


Find.FindChoices Methode

Definition

Überlädt

FindChoices(String, IList<Choice>, FindChoicesOptions)

Vergleicht benutzereingaben mit einer Liste von Auswahlmöglichkeiten.

FindChoices(String, IList<String>, FindChoicesOptions)

Vergleicht benutzereingaben mit einer Liste von Auswahlmöglichkeiten.

FindChoices(String, IList<Choice>, FindChoicesOptions)

Vergleicht benutzereingaben mit einer Liste von Auswahlmöglichkeiten.

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

Parameter

utterance
String

Die Eingabe.

choices
IList<Choice>

Die Liste der Auswahlmöglichkeiten.

options
FindChoicesOptions

Optional, Optionen zum Steuern der Erkennungsstrategie.

Gibt zurück

Eine Liste der gefundenen Optionen, sortiert nach den relevantesten zuerst.

Gilt für:

FindChoices(String, IList<String>, FindChoicesOptions)

Vergleicht benutzereingaben mit einer Liste von Auswahlmöglichkeiten.

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

Parameter

utterance
String

Die Eingabe.

choices
IList<String>

Die Liste der Auswahlmöglichkeiten.

options
FindChoicesOptions

Optional, Optionen zum Steuern der Erkennungsstrategie.

Gibt zurück

Eine Liste der gefundenen Optionen, sortiert nach den relevantesten zuerst.

Gilt für: