你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QnAMakerClient 类

QnAMaker 服务的 API

继承
QnAMakerClient

构造函数

QnAMakerClient(endpoint, credentials)

参数

endpoint
str
必需

支持的认知服务终结点 (,例如 https://< qnamaker-resource-name >.api.cognitiveservices.azure.com) 。

credentials
None
必需

唯一标识客户端订阅的订阅凭据。

变量

config
QnAMakerClientConfiguration

客户端的配置。

endpoint_settings
EndpointSettingsOperations

EndpointSettings 操作

endpoint_keys
EndpointKeysOperations

EndpointKeys 操作

alterations
AlterationsOperations

更改操作

knowledgebase
KnowledgebaseOperations

知识库操作

operations
Operations

操作操作

方法

close

如果keep_alive为 True,请关闭客户端。

close

如果keep_alive为 True,请关闭客户端。

close() -> None