語言

QnAMakerEndpoint 類別

定義

定義用來連線到 QnA Maker 知識庫的端點。

public class QnAMakerEndpoint
type QnAMakerEndpoint = class
Public Class QnAMakerEndpoint
繼承
QnAMakerEndpoint

建構函式

名稱 Description
QnAMakerEndpoint()

初始化 QnAMakerEndpoint 類別的新執行個體。

QnAMakerEndpoint(QnAMakerService)
已淘汰.

初始化 QnAMakerEndpoint 類別的新執行個體。

屬性

名稱 Description
EndpointKey

取得或設定知識庫的端點金鑰。

Host

取得或設定主機路徑。 例如 「https://westus.api.cognitive.microsoft.com/qnamaker/v2.0"」。

KnowledgeBaseId

取得或設定知識庫 ID。

QnAServiceType

取得或設定 QnAServiceType 以查詢 QnAMaker 或自訂問答知識庫。

適用於