Freigeben über


QnAMakerDialog.GetQnAMakerOptionsAsync(DialogContext) Methode

Definition

Ruft die Optionen für den QnA Maker-Client ab, den das Dialogfeld zum Abfragen der Wissensdatenbank verwendet.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions> GetQnAMakerOptionsAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc);
abstract member GetQnAMakerOptionsAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions>
override this.GetQnAMakerOptionsAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions>
Protected Overridable Function GetQnAMakerOptionsAsync (dc As DialogContext) As Task(Of QnAMakerOptions)

Parameter

dc
DialogContext

Die DialogContext für den aktuellen Unterhaltungswechsel.

Gibt zurück

Eine Task, die den asynchronen Vorgang darstellt

Hinweise

Wenn die Aufgabe erfolgreich ist, enthält das Ergebnis die zu verwendenden QnA Maker-Optionen.

Gilt für: