QnAMakerDialog.GetQnAMakerOptionsAsync(DialogContext) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient les options du client QnA Maker que la boîte de dialogue utilisera pour interroger le base de connaissances.
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)
Paramètres
DialogContext pour la tournure actuelle de la conversation.
Retours
Task représentant l’opération asynchrone.
Remarques
Si la tâche réussit, le résultat contient les options QnA Maker à utiliser.