QnAMakerRecognizer.GetQnAMakerClientAsync(DialogContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 IQnAMakerClient的實例。
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)
參數
用來存取狀態的 DialogContext。
傳回
IQnAMakerClient的實例。