QnAMakerDialog.GetQnAResponseOptionsAsync(DialogContext) Methode

Definitie

Hiermee worden de opties opgehaald die in het dialoogvenster worden gebruikt om queryresultaten weer te geven aan de gebruiker.

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

Parameters

dc
DialogContext

De DialogContext voor de huidige wending van het gesprek.

Retouren

Een Task die de asynchrone bewerking vertegenwoordigt.

Opmerkingen

Als de taak is geslaagd, bevat het resultaat de antwoordopties die moeten worden gebruikt.

Van toepassing op