QnAMakerDialog.GetQnAMakerClientAsync(DialogContext) Methode

Definitie

Hiermee haalt u een IQnAMakerClient op voor toegang tot de QnA Maker-Knowledge Base.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient> GetQnAMakerClientAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc);
abstract member GetQnAMakerClientAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient>
override this.GetQnAMakerClientAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient>
Protected Overridable Function GetQnAMakerClientAsync (dc As DialogContext) As Task(Of IQnAMakerClient)

Parameters

dc
DialogContext

De DialogContext voor de huidige wending van het gesprek.

Retouren

Een Task die de asynchrone bewerking vertegenwoordigt.

Opmerkingen

Als de taak is geslaagd, bevat het resultaat de QnA Maker-client die moet worden gebruikt.

Van toepassing op