QnAMakerClient Klasa

Interfejs API dla usługi QnAMaker

Dziedziczenie
QnAMakerClient

Konstruktor

QnAMakerClient(endpoint, credentials)

Parametry

endpoint
str
Wymagane

Obsługiwany punkt końcowy usług Cognitive Services (np. https://< qnamaker-resource-name >.api.cognitiveservices.azure.com).

credentials
None
Wymagane

Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

Zmienne

config
QnAMakerClientConfiguration

Konfiguracja klienta.

endpoint_settings
EndpointSettingsOperations

Operacje EndpointSettings

endpoint_keys
EndpointKeysOperations

Operacje EndpointKeys

alterations
AlterationsOperations

Operacje zmiany

knowledgebase
KnowledgebaseOperations

Operacje bazy wiedzy

operations
Operations

Operacje operacyjne

Metody

close

Zamknij klienta, jeśli keep_alive ma wartość True.

close

Zamknij klienta, jeśli keep_alive ma wartość True.

close() -> None