Jaa


QnAMakerDialog.GetQnAMakerOptionsAsync(DialogContext) Method

Definition

Gets the options for the QnA Maker client that the dialog will use to query the knowledge base.

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)

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 QnA Maker options to use.

Applies to