QnAMakerEndpoint 类

定义

定义用于连接到 QnA Maker 知识库的终结点。

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

构造函数

QnAMakerEndpoint()

初始化 QnAMakerEndpoint 类的新实例。

QnAMakerEndpoint(QnAMakerService)
已过时.

初始化 QnAMakerEndpoint 类的新实例。

属性

EndpointKey

获取或设置知识库的终结点密钥。

Host

获取或设置主机路径。 例如“https://westus.api.cognitive.microsoft.com/qnamaker/v2.0"。

KnowledgeBaseId

获取或设置知识库 ID。

QnAServiceType

获取或设置要查询 QnAMaker 或自定义问答知识库的 QnAServiceType。

适用于