Jaa


QnAMakerDialog.GetQnAResponseOptionsAsync(DialogContext) Method

Definition

Gets the options the dialog will use to display query results to the user.

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

The DialogContext for the current turn of conversation.

Returns

A Task representing the asynchronous operation.

Remarks

If the task is successful, the result contains the response options to use.

Applies to