LUISRuntimeClientConfiguration Class
Configuration for LUISRuntimeClient Note that all parameters used to create this instance are saved as instance attributes.
- Inheritance
-
msrest.configuration.ConfigurationLUISRuntimeClientConfiguration
Constructor
LUISRuntimeClientConfiguration(endpoint, credentials)
Parameters
Name | Description |
---|---|
endpoint
Required
|
Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com). |
credentials
Required
|
Subscription credentials which uniquely identify client subscription. |
Methods
add_user_agent |
Add value to current user agent with a space. |
load | |
save |
Save current configuration to file. |
add_user_agent
Add value to current user agent with a space.
add_user_agent(value: str) -> None
Parameters
Name | Description |
---|---|
value
Required
|
value to add to user agent. |
load
load(filepath)
Parameters
Name | Description |
---|---|
filepath
Required
|
|
save
Save current configuration to file.
save(filepath)
Parameters
Name | Description |
---|---|
filepath
Required
|
Path to file where settings will be saved. |
Exceptions
Type | Description |
---|---|
ValueError if supplied filepath cannot be written to.
|
Attributes
enable_http_logger
user_agent
The current user agent value.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for Python