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