QnAMakerClient Třída

Rozhraní API pro službu QnAMaker

Dědičnost
QnAMakerClient

Konstruktor

QnAMakerClient(endpoint, credentials)

Parametry

endpoint
str
Vyžadováno

Podporovaný koncový bod služeb Cognitive Services (např . https://< název_prostředku qnamaker-resource-name >.api.cognitiveservices.azure.com)

credentials
None
Vyžadováno

Přihlašovací údaje předplatného, které jednoznačně identifikují předplatné klienta.

Proměnné

config
QnAMakerClientConfiguration

Konfigurace pro klienta

endpoint_settings
EndpointSettingsOperations

Operace endpointSettings

endpoint_keys
EndpointKeysOperations

Operace EndpointKeys

alterations
AlterationsOperations

Úpravy

knowledgebase
KnowledgebaseOperations

Operace znalostní báze

operations
Operations

Operace

Metody

close

Pokud má keep_alive hodnotu True, zavřete klienta.

close

Pokud má keep_alive hodnotu True, zavřete klienta.

close() -> None