QnAMakerDialog.GetQnAResponseOptionsAsync(DialogContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.