QnAMakerDialog.GetQnAMakerOptionsAsync(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 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
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.