diff --git a/azure-cognitiveservices-language-luis/MANIFEST.in b/azure-cognitiveservices-language-luis/MANIFEST.in index 7f728a95d094..8d9b981dde9c 100644 --- a/azure-cognitiveservices-language-luis/MANIFEST.in +++ b/azure-cognitiveservices-language-luis/MANIFEST.in @@ -1,3 +1,4 @@ +recursive-include tests *.py *.yaml include *.rst include azure/__init__.py include azure/cognitiveservices/__init__.py diff --git a/azure-cognitiveservices-language-luis/README.rst b/azure-cognitiveservices-language-luis/README.rst index 72aa0880e806..c14ef3756354 100644 --- a/azure-cognitiveservices-language-luis/README.rst +++ b/azure-cognitiveservices-language-luis/README.rst @@ -22,3 +22,6 @@ Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the `Issues `__ section of the project. + + +.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-language-luis%2FREADME.png diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response.py index 8bfc55762b7c..2a4b10b814f9 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response.py @@ -21,12 +21,13 @@ class ApplicationInfoResponse(Model): :type name: str :param description: The description of the application. :type description: str - :param culture: The culture of the application. E.g.: en-us. + :param culture: The culture of the application. For example, "en-us". :type culture: str :param usage_scenario: Defines the scenario for the new application. - Optional. E.g.: IoT. + Optional. For example, IoT. :type usage_scenario: str - :param domain: The domain for the new application. Optional. E.g.: Comics. + :param domain: The domain for the new application. Optional. For example, + Comics. :type domain: str :param versions_count: Amount of model versions within the application. :type versions_count: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response_py3.py index 0aa99a4257c2..00228c3562c8 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_info_response_py3.py @@ -21,12 +21,13 @@ class ApplicationInfoResponse(Model): :type name: str :param description: The description of the application. :type description: str - :param culture: The culture of the application. E.g.: en-us. + :param culture: The culture of the application. For example, "en-us". :type culture: str :param usage_scenario: Defines the scenario for the new application. - Optional. E.g.: IoT. + Optional. For example, IoT. :type usage_scenario: str - :param domain: The domain for the new application. Optional. E.g.: Comics. + :param domain: The domain for the new application. Optional. For example, + Comics. :type domain: str :param versions_count: Amount of model versions within the application. :type versions_count: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object.py index b5c46a828235..9ba73d4fdd44 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object.py @@ -15,15 +15,15 @@ class ApplicationSettingUpdateObject(Model): """Object model for updating an application's settings. - :param public: Setting your application as public allows other people to - use your application's endpoint using their own keys. - :type public: bool + :param is_public: Setting your application as public allows other people + to use your application's endpoint using their own keys. + :type is_public: bool """ _attribute_map = { - 'public': {'key': 'public', 'type': 'bool'}, + 'is_public': {'key': 'public', 'type': 'bool'}, } def __init__(self, **kwargs): super(ApplicationSettingUpdateObject, self).__init__(**kwargs) - self.public = kwargs.get('public', None) + self.is_public = kwargs.get('is_public', None) diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object_py3.py index c5bcc5001375..dbeecd1c90c4 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_setting_update_object_py3.py @@ -15,15 +15,15 @@ class ApplicationSettingUpdateObject(Model): """Object model for updating an application's settings. - :param public: Setting your application as public allows other people to - use your application's endpoint using their own keys. - :type public: bool + :param is_public: Setting your application as public allows other people + to use your application's endpoint using their own keys. + :type is_public: bool """ _attribute_map = { - 'public': {'key': 'public', 'type': 'bool'}, + 'is_public': {'key': 'public', 'type': 'bool'}, } - def __init__(self, *, public: bool=None, **kwargs) -> None: + def __init__(self, *, is_public: bool=None, **kwargs) -> None: super(ApplicationSettingUpdateObject, self).__init__(**kwargs) - self.public = public + self.is_public = is_public diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings.py index c43606461e68..9d75d7dceda6 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings.py @@ -20,7 +20,8 @@ class ApplicationSettings(Model): :param id: Required. The application ID. :type id: str :param is_public: Required. Setting your application as public allows - other people to use your application's endpoint using their own keys. + other people to use your application's endpoint using their own keys for + billing purposes. :type is_public: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings_py3.py index 4f83bc503dd5..051fc16847ba 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/application_settings_py3.py @@ -20,7 +20,8 @@ class ApplicationSettings(Model): :param id: Required. The application ID. :type id: str :param is_public: Required. Setting your application as public allows - other people to use your application's endpoint using their own keys. + other people to use your application's endpoint using their own keys for + billing purposes. :type is_public: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py index edc9ef3ab968..e5f48833de36 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py @@ -13,15 +13,15 @@ class AzureAccountInfoObject(Model): - """Defines the azure account information object. + """Defines the Azure account information object. All required parameters must be populated in order to send to Azure. - :param azure_subscription_id: Required. The id for the azure subscription. + :param azure_subscription_id: Required. The id for the Azure subscription. :type azure_subscription_id: str - :param resource_group: Required. The azure resource group name. + :param resource_group: Required. The Azure resource group name. :type resource_group: str - :param account_name: Required. The azure account name. + :param account_name: Required. The Azure account name. :type account_name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_py3.py index e0cefd0de20e..0890a94d93e9 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_py3.py @@ -13,15 +13,15 @@ class AzureAccountInfoObject(Model): - """Defines the azure account information object. + """Defines the Azure account information object. All required parameters must be populated in order to send to Azure. - :param azure_subscription_id: Required. The id for the azure subscription. + :param azure_subscription_id: Required. The id for the Azure subscription. :type azure_subscription_id: str - :param resource_group: Required. The azure resource group name. + :param resource_group: Required. The Azure resource group name. :type resource_group: str - :param account_name: Required. The azure account name. + :param account_name: Required. The Azure account name. :type account_name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example.py index ef22dc4cc368..6006b6edd09d 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example.py @@ -13,7 +13,7 @@ class BatchLabelExample(Model): - """Response when adding a batch of labeled examples. + """Response when adding a batch of labeled example utterances. :param value: :type value: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example_py3.py index aeaaa11185eb..a75c133f5e1b 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/batch_label_example_py3.py @@ -13,7 +13,7 @@ class BatchLabelExample(Model): - """Response when adding a batch of labeled examples. + """Response when adding a batch of labeled example utterances. :param value: :type value: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list.py index 231dada76d24..2c296a204b22 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list.py @@ -13,11 +13,11 @@ class ClosedList(Model): - """Exported Model - A Closed List. + """Exported Model - A list entity. - :param name: Name of the closed list feature. + :param name: Name of the list entity. :type name: str - :param sub_lists: Sublists for the feature. + :param sub_lists: Sublists for the list entity. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedList] :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor.py index ee8ade0fdc75..85dbf2c3c7d1 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor.py @@ -13,7 +13,7 @@ class ClosedListEntityExtractor(Model): - """Closed List Entity Extractor. + """List Entity Extractor. All required parameters must be populated in order to send to Azure. @@ -25,15 +25,15 @@ class ClosedListEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: :type roles: list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole] - :param sub_lists: List of sub-lists. + :param sub_lists: List of sublists. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse] """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor_py3.py index 42ced309b058..d11ab5082362 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_entity_extractor_py3.py @@ -13,7 +13,7 @@ class ClosedListEntityExtractor(Model): - """Closed List Entity Extractor. + """List Entity Extractor. All required parameters must be populated in order to send to Azure. @@ -25,15 +25,15 @@ class ClosedListEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: :type roles: list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole] - :param sub_lists: List of sub-lists. + :param sub_lists: List of sublists. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse] """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object.py index d420e6791575..4c564dda428f 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object.py @@ -13,12 +13,12 @@ class ClosedListModelCreateObject(Model): - """Object model for creating a closed list. + """Object model for creating a list entity. :param sub_lists: Sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: Name of the closed list feature. + :param name: Name of the list entity. :type name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object_py3.py index bb71e1d40a46..75dea9e97cc5 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_create_object_py3.py @@ -13,12 +13,12 @@ class ClosedListModelCreateObject(Model): - """Object model for creating a closed list. + """Object model for creating a list entity. :param sub_lists: Sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: Name of the closed list feature. + :param name: Name of the list entity. :type name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object.py index d77e774cdda8..81647c3bdbd3 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object.py @@ -13,7 +13,7 @@ class ClosedListModelPatchObject(Model): - """Object model for adding a batch of sublists to an existing closedlist. + """Object model for adding a batch of sublists to an existing list entity. :param sub_lists: Sublists to add. :type sub_lists: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object_py3.py index cd1615f342bf..0f41d481322a 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_patch_object_py3.py @@ -13,7 +13,7 @@ class ClosedListModelPatchObject(Model): - """Object model for adding a batch of sublists to an existing closedlist. + """Object model for adding a batch of sublists to an existing list entity. :param sub_lists: Sublists to add. :type sub_lists: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object.py index c9a72314d9bf..2c8f5001f441 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object.py @@ -13,12 +13,12 @@ class ClosedListModelUpdateObject(Model): - """Object model for updating a closed list. + """Object model for updating a list entity. :param sub_lists: The new sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: The new name of the closed list feature. + :param name: The new name of the list entity. :type name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object_py3.py index 8ca10a2d1d7d..47b9612681d8 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object_py3.py @@ -13,12 +13,12 @@ class ClosedListModelUpdateObject(Model): - """Object model for updating a closed list. + """Object model for updating a list entity. :param sub_lists: The new sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: The new name of the closed list feature. + :param name: The new name of the list entity. :type name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_py3.py index 25c22b8b77ea..817550b3fa88 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_py3.py @@ -13,11 +13,11 @@ class ClosedList(Model): - """Exported Model - A Closed List. + """Exported Model - A list entity. - :param name: Name of the closed list feature. + :param name: Name of the list entity. :type name: str - :param sub_lists: Sublists for the feature. + :param sub_lists: Sublists for the list entity. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedList] :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor.py index 1ca4c346d9d9..300442e8a142 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor.py @@ -25,9 +25,9 @@ class CompositeEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor_py3.py index 1b190fe165e2..f1d4be02645a 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_extractor_py3.py @@ -25,9 +25,9 @@ class CompositeEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model.py index 39fdfc8fd2f4..26dbb4bc3605 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model.py @@ -13,7 +13,7 @@ class CompositeEntityModel(Model): - """A composite entity. + """A composite entity extractor. :param children: Child entities. :type children: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model_py3.py index bf35849c3f7d..fdb062e171be 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/composite_entity_model_py3.py @@ -13,7 +13,7 @@ class CompositeEntityModel(Model): - """A composite entity. + """A composite entity extractor. :param children: Child entities. :type children: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model.py index f19cb9c403dd..4b2ea6b2e274 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model.py @@ -25,9 +25,9 @@ class CustomPrebuiltModel(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param custom_prebuilt_domain_name: The domain name. diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model_py3.py index c627964e95fc..bfb0def7b513 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/custom_prebuilt_model_py3.py @@ -25,9 +25,9 @@ class CustomPrebuiltModel(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param custom_prebuilt_domain_name: The domain name. diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example.py index df07486d1d28..a81da30e5768 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example.py @@ -15,7 +15,8 @@ class EntitiesSuggestionExample(Model): """Predicted/suggested entity. - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str :param tokenized_text: The utterance tokenized. :type tokenized_text: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example_py3.py index 948832a55291..f5e70f1c19cb 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entities_suggestion_example_py3.py @@ -15,7 +15,8 @@ class EntitiesSuggestionExample(Model): """Predicted/suggested entity. - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str :param tokenized_text: The utterance tokenized. :type tokenized_text: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor.py index a822f047f14d..4c1205fe61e3 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor.py @@ -25,9 +25,9 @@ class EntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor_py3.py index 7dc4f3792f6d..879455f4c666 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_extractor_py3.py @@ -25,9 +25,9 @@ class EntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info.py index 1cd4997cf66e..2cd9920e0f55 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info.py @@ -25,9 +25,9 @@ class EntityModelInfo(ModelInfo): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info_py3.py index 74eec6f0838a..3948792c61b6 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/entity_model_info_py3.py @@ -25,9 +25,9 @@ class EntityModelInfo(ModelInfo): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object.py index 772fa64008cb..ccb43b67a742 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object.py @@ -13,14 +13,16 @@ class ExampleLabelObject(Model): - """A labeled example. + """A labeled example utterance. - :param text: The sample's utterance. + :param text: The example utterance. :type text: str - :param entity_labels: The identified entities within the utterance. + :param entity_labels: The identified entities within the example + utterance. :type entity_labels: list[~azure.cognitiveservices.language.luis.authoring.models.EntityLabelObject] - :param intent_name: The identified intent representing the utterance. + :param intent_name: The identified intent representing the example + utterance. :type intent_name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object_py3.py index e470ce415a49..8b144e5600ba 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/example_label_object_py3.py @@ -13,14 +13,16 @@ class ExampleLabelObject(Model): - """A labeled example. + """A labeled example utterance. - :param text: The sample's utterance. + :param text: The example utterance. :type text: str - :param entity_labels: The identified entities within the utterance. + :param entity_labels: The identified entities within the example + utterance. :type entity_labels: list[~azure.cognitiveservices.language.luis.authoring.models.EntityLabelObject] - :param intent_name: The identified intent representing the utterance. + :param intent_name: The identified intent representing the example + utterance. :type intent_name: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item.py index 86b51aaba7c7..b8c944b359b9 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item.py @@ -13,7 +13,7 @@ class ExplicitListItem(Model): - """Explicit list item. + """Explicit (exception) list item. :param id: The explicit list item ID. :type id: long diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object.py index 3aeb5af59be9..f88a89affe9c 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object.py @@ -13,7 +13,7 @@ class ExplicitListItemCreateObject(Model): - """Object model for creating an explicit list item. + """Object model for creating an explicit (exception) list item. :param explicit_list_item: The explicit list item. :type explicit_list_item: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object_py3.py index 7e67471f71a2..e91e49f60c2a 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_create_object_py3.py @@ -13,7 +13,7 @@ class ExplicitListItemCreateObject(Model): - """Object model for creating an explicit list item. + """Object model for creating an explicit (exception) list item. :param explicit_list_item: The explicit list item. :type explicit_list_item: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_py3.py index 36b7652da4e2..45fd86c60067 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_py3.py @@ -13,7 +13,7 @@ class ExplicitListItem(Model): - """Explicit list item. + """Explicit (exception) list item. :param id: The explicit list item ID. :type id: long diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object.py index cff018deba5a..8dba06e3bda6 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object.py @@ -13,7 +13,7 @@ class ExplicitListItemUpdateObject(Model): - """Model object for updating an explicit list item. + """Model object for updating an explicit (exception) list item. :param explicit_list_item: The explicit list item. :type explicit_list_item: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object_py3.py index 446cbfb32a55..28e0616c239c 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/explicit_list_item_update_object_py3.py @@ -13,7 +13,7 @@ class ExplicitListItemUpdateObject(Model): - """Model object for updating an explicit list item. + """Model object for updating an explicit (exception) list item. :param explicit_list_item: The explicit list item. :type explicit_list_item: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity.py index 87c2fbf3f79e..e078401fd8ee 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity.py @@ -25,9 +25,9 @@ class HierarchicalChildEntity(ChildEntity): :type type_id: int :param readable_type: Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor', - 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt - Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', - 'Regex Entity Extractor' + 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity + Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regular + Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity_py3.py index ee754559c193..ed85874c5d31 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_child_entity_py3.py @@ -25,9 +25,9 @@ class HierarchicalChildEntity(ChildEntity): :type type_id: int :param readable_type: Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor', - 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt - Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', - 'Regex Entity Extractor' + 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity + Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regular + Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor.py index a65f80e4ac0f..888cdd69e7d8 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor.py @@ -25,9 +25,9 @@ class HierarchicalEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor_py3.py index c5900ea9cfe1..e32f9924e05a 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_extractor_py3.py @@ -25,9 +25,9 @@ class HierarchicalEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model.py index 86ec000a0e78..1618dff670a2 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model.py @@ -13,7 +13,7 @@ class HierarchicalEntityModel(Model): - """A Hierarchical Entity Extractor. + """A hierarchical entity extractor. :param children: Child entities. :type children: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model_py3.py index 2c82cfddc4ac..4beb99061733 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/hierarchical_entity_model_py3.py @@ -13,7 +13,7 @@ class HierarchicalEntityModel(Model): - """A Hierarchical Entity Extractor. + """A hierarchical entity extractor. :param children: Child entities. :type children: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier.py index 88650f92a6ee..ec354874c88c 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier.py @@ -25,9 +25,9 @@ class IntentClassifier(ModelInfo): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param custom_prebuilt_domain_name: The domain name. diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier_py3.py index 91b05e3768d3..c012360fe512 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intent_classifier_py3.py @@ -25,9 +25,9 @@ class IntentClassifier(ModelInfo): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param custom_prebuilt_domain_name: The domain name. diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example.py index c4ba30053ab9..d42e8de5a477 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example.py @@ -15,9 +15,10 @@ class IntentsSuggestionExample(Model): """Predicted/suggested intent. - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str - :param tokenized_text: The utterance tokenized. + :param tokenized_text: The tokenized utterance. :type tokenized_text: list[str] :param intent_predictions: Predicted/suggested intents. :type intent_predictions: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example_py3.py index da45651d4f13..a0483b225522 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/intents_suggestion_example_py3.py @@ -15,9 +15,10 @@ class IntentsSuggestionExample(Model): """Predicted/suggested intent. - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str - :param tokenized_text: The utterance tokenized. + :param tokenized_text: The tokenized utterance. :type tokenized_text: list[str] :param intent_predictions: Predicted/suggested intents. :type intent_predictions: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature.py index 18c5fbba3192..5b27812297ba 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature.py @@ -22,17 +22,14 @@ class JSONModelFeature(Model): :param words: List of comma-separated phrases that represent the Phraselist. :type words: str - :param mode: An exchangeable phrase list feature are serves as single - feature to the LUIS underlying training algorithm. It is used as a lexicon + :param mode: An interchangeable phrase list feature serves as a list of + synonyms for training. A non-exchangeable phrase list serves as separate + features for training. So, if your non-interchangeable phrase list + contains 5 phrases, they will be mapped to 5 separate features. You can + think of the non-interchangeable phrase list as an additional bag of words + to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word - or 0 if it doesn’t. Think of an exchangeable as a synonyms list. A - non-exchangeable phrase list feature has all the phrases in the list serve - as separate features to the underlying training algorithm. So, if you your - phrase list feature contains 5 phrases, they will be mapped to 5 separate - features. You can think of the non-exchangeable phrase list feature as an - additional bag of words that you are willing to add to LUIS existing - vocabulary features. Think of a non-exchangeable as set of different - words. Default value is true. + or 0 if it doesn’t. Default value is true. :type mode: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature_py3.py index fc26406206e0..e3cd562fb3eb 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/json_model_feature_py3.py @@ -22,17 +22,14 @@ class JSONModelFeature(Model): :param words: List of comma-separated phrases that represent the Phraselist. :type words: str - :param mode: An exchangeable phrase list feature are serves as single - feature to the LUIS underlying training algorithm. It is used as a lexicon + :param mode: An interchangeable phrase list feature serves as a list of + synonyms for training. A non-exchangeable phrase list serves as separate + features for training. So, if your non-interchangeable phrase list + contains 5 phrases, they will be mapped to 5 separate features. You can + think of the non-interchangeable phrase list as an additional bag of words + to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word - or 0 if it doesn’t. Think of an exchangeable as a synonyms list. A - non-exchangeable phrase list feature has all the phrases in the list serve - as separate features to the underlying training algorithm. So, if you your - phrase list feature contains 5 phrases, they will be mapped to 5 separate - features. You can think of the non-exchangeable phrase list feature as an - additional bag of words that you are willing to add to LUIS existing - vocabulary features. Think of a non-exchangeable as set of different - words. Default value is true. + or 0 if it doesn’t. Default value is true. :type mode: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response.py index 2bf52c53b59a..6f1dfc9912c2 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response.py @@ -13,9 +13,9 @@ class LabelExampleResponse(Model): - """Response when adding a labeled example. + """Response when adding a labeled example utterance. - :param utterance_text: The sample's utterance. + :param utterance_text: The example utterance. :type utterance_text: str :param example_id: The newly created sample ID. :type example_id: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response_py3.py index a4a5280e1550..5897053d3e67 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_example_response_py3.py @@ -13,9 +13,9 @@ class LabelExampleResponse(Model): - """Response when adding a labeled example. + """Response when adding a labeled example utterance. - :param utterance_text: The sample's utterance. + :param utterance_text: The example utterance. :type utterance_text: str :param example_id: The newly created sample ID. :type example_id: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object.py index 0c87d2f09353..942e51cd18ac 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object.py @@ -13,7 +13,7 @@ class LabelTextObject(Model): - """An object containing the example's text. + """An object containing the example utterance's text. :param id: The ID of the Label. :type id: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object_py3.py index 598047479fb2..3d17046f0c29 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object_py3.py @@ -13,7 +13,7 @@ class LabelTextObject(Model): - """An object containing the example's text. + """An object containing the example utterance's text. :param id: The ID of the Label. :type id: int diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance.py index ec41a2e0e16c..74ce49f47185 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance.py @@ -17,7 +17,8 @@ class LabeledUtterance(Model): :param id: ID of Labeled Utterance. :type id: int - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str :param tokenized_text: The utterance tokenized. :type tokenized_text: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance_py3.py index 880eff8a2193..4959e2e9d03f 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/labeled_utterance_py3.py @@ -17,7 +17,8 @@ class LabeledUtterance(Model): :param id: ID of Labeled Utterance. :type id: int - :param text: The utterance. E.g.: what's the weather like in seattle? + :param text: The utterance. For example, "What's the weather like in + seattle?" :type text: str :param tokenized_text: The utterance tokenized. :type tokenized_text: list[str] diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app.py index aa605a52e0a8..1c77b47af788 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app.py @@ -32,7 +32,7 @@ class LuisApp(Model): :param entities: List of entities. :type entities: list[~azure.cognitiveservices.language.luis.authoring.models.HierarchicalModel] - :param closed_lists: List of closed lists. + :param closed_lists: List of list entities. :type closed_lists: list[~azure.cognitiveservices.language.luis.authoring.models.ClosedList] :param composites: List of composite entities. @@ -56,7 +56,7 @@ class LuisApp(Model): :param patterns: List of patterns. :type patterns: list[~azure.cognitiveservices.language.luis.authoring.models.PatternRule] - :param utterances: List of sample utterances. + :param utterances: List of example utterances. :type utterances: list[~azure.cognitiveservices.language.luis.authoring.models.JSONUtterance] """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app_py3.py index 1f2004d20a2d..b36b99ca8343 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/luis_app_py3.py @@ -32,7 +32,7 @@ class LuisApp(Model): :param entities: List of entities. :type entities: list[~azure.cognitiveservices.language.luis.authoring.models.HierarchicalModel] - :param closed_lists: List of closed lists. + :param closed_lists: List of list entities. :type closed_lists: list[~azure.cognitiveservices.language.luis.authoring.models.ClosedList] :param composites: List of composite entities. @@ -56,7 +56,7 @@ class LuisApp(Model): :param patterns: List of patterns. :type patterns: list[~azure.cognitiveservices.language.luis.authoring.models.PatternRule] - :param utterances: List of sample utterances. + :param utterances: List of example utterances. :type utterances: list[~azure.cognitiveservices.language.luis.authoring.models.JSONUtterance] """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info.py index e0c343a9962a..68f126777d79 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info.py @@ -25,9 +25,9 @@ class ModelInfo(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_py3.py index 1bad46dbe1ff..98158b6a1631 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_py3.py @@ -25,9 +25,9 @@ class ModelInfo(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response.py index 248f6804eb0c..25ffc396bb91 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response.py @@ -25,9 +25,9 @@ class ModelInfoResponse(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: @@ -36,14 +36,14 @@ class ModelInfoResponse(Model): :param children: List of child entities. :type children: list[~azure.cognitiveservices.language.luis.authoring.models.ChildEntity] - :param sub_lists: List of sub-lists. + :param sub_lists: List of sublists. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse] :param custom_prebuilt_domain_name: The domain name. :type custom_prebuilt_domain_name: str :param custom_prebuilt_model_name: The intent name or entity name. :type custom_prebuilt_model_name: str - :param regex_pattern: The Regex entity pattern. + :param regex_pattern: The Regular Expression entity pattern. :type regex_pattern: str :param explicit_list: :type explicit_list: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response_py3.py index 71c7a76372b8..6a29b3174888 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/model_info_response_py3.py @@ -25,9 +25,9 @@ class ModelInfoResponse(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: @@ -36,14 +36,14 @@ class ModelInfoResponse(Model): :param children: List of child entities. :type children: list[~azure.cognitiveservices.language.luis.authoring.models.ChildEntity] - :param sub_lists: List of sub-lists. + :param sub_lists: List of sublists. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse] :param custom_prebuilt_domain_name: The domain name. :type custom_prebuilt_domain_name: str :param custom_prebuilt_model_name: The intent name or entity name. :type custom_prebuilt_model_name: str - :param regex_pattern: The Regex entity pattern. + :param regex_pattern: The Regular Expression entity pattern. :type regex_pattern: str :param explicit_list: :type explicit_list: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor.py index 02734b005e2f..ed50e1c4c633 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor.py @@ -25,9 +25,9 @@ class PatternAnyEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor_py3.py index d314c1efef96..d46aa56b5428 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/pattern_any_entity_extractor_py3.py @@ -25,9 +25,9 @@ class PatternAnyEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object.py index 2b6c02589ace..e9ee48f74cf8 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object.py @@ -20,17 +20,14 @@ class PhraselistCreateObject(Model): :type phrases: str :param name: The Phraselist name. :type name: str - :param is_exchangeable: An exchangeable phrase list feature are serves as - single feature to the LUIS underlying training algorithm. It is used as a - lexicon lookup feature where its value is 1 if the lexicon contains a - given word or 0 if it doesn’t. Think of an exchangeable as a synonyms - list. A non-exchangeable phrase list feature has all the phrases in the - list serve as separate features to the underlying training algorithm. So, - if you your phrase list feature contains 5 phrases, they will be mapped to - 5 separate features. You can think of the non-exchangeable phrase list - feature as an additional bag of words that you are willing to add to LUIS - existing vocabulary features. Think of a non-exchangeable as set of - different words. Default value is true. Default value: True . + :param is_exchangeable: An interchangeable phrase list feature serves as a + list of synonyms for training. A non-exchangeable phrase list serves as + separate features for training. So, if your non-interchangeable phrase + list contains 5 phrases, they will be mapped to 5 separate features. You + can think of the non-interchangeable phrase list as an additional bag of + words to add to LUIS existing vocabulary features. It is used as a lexicon + lookup feature where its value is 1 if the lexicon contains a given word + or 0 if it doesn’t. Default value is true. Default value: True . :type is_exchangeable: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object_py3.py index d11a160ab5cf..d0a949d8e435 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/phraselist_create_object_py3.py @@ -20,17 +20,14 @@ class PhraselistCreateObject(Model): :type phrases: str :param name: The Phraselist name. :type name: str - :param is_exchangeable: An exchangeable phrase list feature are serves as - single feature to the LUIS underlying training algorithm. It is used as a - lexicon lookup feature where its value is 1 if the lexicon contains a - given word or 0 if it doesn’t. Think of an exchangeable as a synonyms - list. A non-exchangeable phrase list feature has all the phrases in the - list serve as separate features to the underlying training algorithm. So, - if you your phrase list feature contains 5 phrases, they will be mapped to - 5 separate features. You can think of the non-exchangeable phrase list - feature as an additional bag of words that you are willing to add to LUIS - existing vocabulary features. Think of a non-exchangeable as set of - different words. Default value is true. Default value: True . + :param is_exchangeable: An interchangeable phrase list feature serves as a + list of synonyms for training. A non-exchangeable phrase list serves as + separate features for training. So, if your non-interchangeable phrase + list contains 5 phrases, they will be mapped to 5 separate features. You + can think of the non-interchangeable phrase list as an additional bag of + words to add to LUIS existing vocabulary features. It is used as a lexicon + lookup feature where its value is 1 if the lexicon contains a given word + or 0 if it doesn’t. Default value is true. Default value: True . :type is_exchangeable: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor.py index 97a7074ab071..d7eb6691b7f1 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor.py @@ -25,9 +25,9 @@ class PrebuiltEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor_py3.py index b6c64eed7c91..38b7156ce5c6 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/prebuilt_entity_extractor_py3.py @@ -25,9 +25,9 @@ class PrebuiltEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings.py index 7dc6b8754515..4a9ec4ee1639 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings.py @@ -20,14 +20,13 @@ class PublishSettings(Model): :param id: Required. The application ID. :type id: str :param is_sentiment_analysis_enabled: Required. Setting sentiment analysis - as true returns the Sentiment of the input utterance along with the + as true returns the sentiment of the input utterance along with the response :type is_sentiment_analysis_enabled: bool - :param is_speech_enabled: Required. Setting speech as public enables - speech priming in your app + :param is_speech_enabled: Required. Enables speech priming in your app :type is_speech_enabled: bool - :param is_spell_checker_enabled: Required. Setting spell checker as public - enables spell checking the input utterance. + :param is_spell_checker_enabled: Required. Enables spell checking of the + utterance. :type is_spell_checker_enabled: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings_py3.py index f8ade900514e..de063e67733f 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/publish_settings_py3.py @@ -20,14 +20,13 @@ class PublishSettings(Model): :param id: Required. The application ID. :type id: str :param is_sentiment_analysis_enabled: Required. Setting sentiment analysis - as true returns the Sentiment of the input utterance along with the + as true returns the sentiment of the input utterance along with the response :type is_sentiment_analysis_enabled: bool - :param is_speech_enabled: Required. Setting speech as public enables - speech priming in your app + :param is_speech_enabled: Required. Enables speech priming in your app :type is_speech_enabled: bool - :param is_spell_checker_enabled: Required. Setting spell checker as public - enables spell checking the input utterance. + :param is_spell_checker_enabled: Required. Enables spell checking of the + utterance. :type is_spell_checker_enabled: bool """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor.py index 967a662542bf..06a3dbd4ba2e 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor.py @@ -13,7 +13,7 @@ class RegexEntityExtractor(Model): - """Regex Entity Extractor. + """Regular Expression Entity Extractor. All required parameters must be populated in order to send to Azure. @@ -25,15 +25,15 @@ class RegexEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: :type roles: list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole] - :param regex_pattern: The Regex entity pattern. + :param regex_pattern: The Regular Expression entity pattern. :type regex_pattern: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor_py3.py index 6537df3828bc..7048b8165166 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_entity_extractor_py3.py @@ -13,7 +13,7 @@ class RegexEntityExtractor(Model): - """Regex Entity Extractor. + """Regular Expression Entity Extractor. All required parameters must be populated in order to send to Azure. @@ -25,15 +25,15 @@ class RegexEntityExtractor(Model): :type type_id: int :param readable_type: Required. Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity - Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', + Extractor', 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity - Extractor', 'Regex Entity Extractor' + Extractor', 'Regular Expression Entity Extractor' :type readable_type: str or ~azure.cognitiveservices.language.luis.authoring.models.enum :param roles: :type roles: list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole] - :param regex_pattern: The Regex entity pattern. + :param regex_pattern: The Regular Expression entity pattern. :type regex_pattern: str """ diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object.py index 2ce2bf2070e8..11b67ed82d7c 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object.py @@ -13,9 +13,9 @@ class RegexModelCreateObject(Model): - """Model object for creating a regex entity model. + """Model object for creating a regular expression entity model. - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object_py3.py index d4731ac8c7e0..0f2dd75838d3 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_create_object_py3.py @@ -13,9 +13,9 @@ class RegexModelCreateObject(Model): - """Model object for creating a regex entity model. + """Model object for creating a regular expression entity model. - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object.py index f6032fbfac58..d62abe807d90 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object.py @@ -13,9 +13,9 @@ class RegexModelUpdateObject(Model): - """Model object for updating a regex entity model. + """Model object for updating a regular expression entity model. - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object_py3.py index 8ac545b33f84..835320778a40 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/regex_model_update_object_py3.py @@ -13,9 +13,9 @@ class RegexModelUpdateObject(Model): - """Model object for updating a regex entity model. + """Model object for updating a regular expression entity model. - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list.py index a17b5ccca12f..06ae81803e88 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list.py @@ -13,7 +13,7 @@ class SubClosedList(Model): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_py3.py index ebdf1743b646..fe10f781bcf8 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_py3.py @@ -13,7 +13,7 @@ class SubClosedList(Model): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response.py index c9eb9f3629e5..1110154fa89c 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response.py @@ -13,7 +13,7 @@ class SubClosedListResponse(SubClosedList): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response_py3.py index ece19c644cdd..9d9ab84f9d86 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/sub_closed_list_response_py3.py @@ -13,7 +13,7 @@ class SubClosedListResponse(SubClosedList): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object.py index 23e053d2f11d..385f9ec6da9b 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object.py @@ -13,7 +13,7 @@ class WordListBaseUpdateObject(Model): - """Object model for updating one of the closed list's sublists. + """Object model for updating one of the list entity's sublists. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object_py3.py index a8125b37bbe2..26c0dce689f2 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_base_update_object_py3.py @@ -13,7 +13,7 @@ class WordListBaseUpdateObject(Model): - """Object model for updating one of the closed list's sublists. + """Object model for updating one of the list entity's sublists. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object.py index e91704e7c45f..44f134b3d529 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object.py @@ -13,7 +13,7 @@ class WordListObject(Model): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object_py3.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object_py3.py index 7b739930233a..4600c305e961 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object_py3.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/word_list_object_py3.py @@ -13,7 +13,7 @@ class WordListObject(Model): - """Sublist of items for a Closed list. + """Sublist of items for a list entity. :param canonical_form: The standard form that the list represents. :type canonical_form: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/apps_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/apps_operations.py index 574f5e9dd4c9..21fcca5868cb 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/apps_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/apps_operations.py @@ -38,11 +38,11 @@ def add( self, application_create_object, custom_headers=None, raw=False, **operation_config): """Creates a new LUIS app. - :param application_create_object: A model containing Name, Description - (optional), Culture, Usage Scenario (optional), Domain (optional) and - initial version ID (optional) of the application. Default value for - the version ID is 0.1. Note: the culture cannot be changed after the - app is created. + :param application_create_object: An application containing Name, + Description (optional), Culture, Usage Scenario (optional), Domain + (optional) and initial version ID (optional) of the application. + Default value for the version ID is "0.1". Note: the culture cannot be + changed after the app is created. :type application_create_object: ~azure.cognitiveservices.language.luis.authoring.models.ApplicationCreateObject :param dict custom_headers: headers that will be added to the request @@ -96,7 +96,7 @@ def add( def list( self, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Lists all of the user applications. + """Lists all of the user's applications. :param skip: The number of entries to skip. Default value is 0. :type skip: int @@ -156,14 +156,15 @@ def list( def import_method( self, luis_app, app_name=None, custom_headers=None, raw=False, **operation_config): - """Imports an application to LUIS, the application's structure should be - included in the request body. + """Imports an application to LUIS, the application's structure is included + in the request body. :param luis_app: A LUIS application structure. :type luis_app: ~azure.cognitiveservices.language.luis.authoring.models.LuisApp :param app_name: The application name to create. If not specified, the - application name will be read from the imported object. + application name will be read from the imported object. If the + application name already exists, an error is returned. :type app_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -367,7 +368,9 @@ def list_usage_scenarios( def list_supported_cultures( self, custom_headers=None, raw=False, **operation_config): - """Gets the supported application cultures. + """Gets a list of supported cultures. Cultures are equivalent to the + written language and locale. For example,"en-us" represents the U.S. + variation of English. :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -418,7 +421,7 @@ def list_supported_cultures( def download_query_logs( self, app_id, custom_headers=None, raw=False, callback=None, **operation_config): - """Gets the query logs of the past month for the application. + """Gets the logs of the past month's endpoint queries for the application. :param app_id: The application ID. :type app_id: str @@ -719,7 +722,7 @@ def publish( def get_settings( self, app_id, custom_headers=None, raw=False, **operation_config): - """Get the application settings. + """Get the application settings including 'UseAllTrainingData'. :param app_id: The application ID. :type app_id: str @@ -772,14 +775,14 @@ def get_settings( get_settings.metadata = {'url': '/apps/{appId}/settings'} def update_settings( - self, app_id, public=None, custom_headers=None, raw=False, **operation_config): - """Updates the application settings. + self, app_id, is_public=None, custom_headers=None, raw=False, **operation_config): + """Updates the application settings including 'UseAllTrainingData'. :param app_id: The application ID. :type app_id: str - :param public: Setting your application as public allows other people - to use your application's endpoint using their own keys. - :type public: bool + :param is_public: Setting your application as public allows other + people to use your application's endpoint using their own keys. + :type is_public: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -792,7 +795,7 @@ def update_settings( :raises: :class:`ErrorResponseException` """ - application_setting_update_object = models.ApplicationSettingUpdateObject(public=public) + application_setting_update_object = models.ApplicationSettingUpdateObject(is_public=is_public) # Construct URL url = self.update_settings.metadata['url'] @@ -836,7 +839,7 @@ def update_settings( def get_publish_settings( self, app_id, custom_headers=None, raw=False, **operation_config): - """Get the application publish settings. + """Get the application publish settings including 'UseAllTrainingData'. :param app_id: The application ID. :type app_id: str @@ -890,7 +893,8 @@ def get_publish_settings( def update_publish_settings( self, app_id, publish_setting_update_object, custom_headers=None, raw=False, **operation_config): - """Updates the application publish settings. + """Updates the application publish settings including + 'UseAllTrainingData'. :param app_id: The application ID. :type app_id: str @@ -1055,7 +1059,8 @@ def list_available_custom_prebuilt_domains( def add_custom_prebuilt_domain( self, domain_name=None, culture=None, custom_headers=None, raw=False, **operation_config): - """Adds a prebuilt domain along with its models as a new application. + """Adds a prebuilt domain along with its intent and entity models as a new + application. :param domain_name: The domain name. :type domain_name: str @@ -1114,7 +1119,7 @@ def add_custom_prebuilt_domain( def list_available_custom_prebuilt_domains_for_culture( self, culture, custom_headers=None, raw=False, **operation_config): - """Gets all the available custom prebuilt domains for a specific culture. + """Gets all the available prebuilt domains for a specific culture. :param culture: Culture. :type culture: str @@ -1171,7 +1176,8 @@ def package_published_application_as_gzip( """package - Gets published LUIS application package in binary stream GZip format. - Packages published LUIS application as GZip. + Packages a published LUIS application as a GZip file to be used in the + LUIS container. :param app_id: The application ID. :type app_id: str @@ -1234,7 +1240,8 @@ def package_trained_application_as_gzip( """package - Gets trained LUIS application package in binary stream GZip format. - Packages trained LUIS application as GZip. + Packages trained LUIS application as GZip file to be used in the LUIS + container. :param app_id: The application ID. :type app_id: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/azure_accounts_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/azure_accounts_operations.py index dfe57349f549..c4b349962de2 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/azure_accounts_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/azure_accounts_operations.py @@ -35,13 +35,13 @@ def __init__(self, client, config, serializer, deserializer): def assign_to_app( self, app_id, azure_account_info_object=None, custom_headers=None, raw=False, **operation_config): - """apps - Assign a LUIS azure account to an application. + """apps - Assign a LUIS Azure account to an application. - Assigns an azure account to the application. + Assigns an Azure account to the application. :param app_id: The application ID. :type app_id: str - :param azure_account_info_object: The azure account information + :param azure_account_info_object: The Azure account information object. :type azure_account_info_object: ~azure.cognitiveservices.language.luis.authoring.models.AzureAccountInfoObject @@ -102,9 +102,9 @@ def assign_to_app( def get_assigned( self, app_id, custom_headers=None, raw=False, **operation_config): - """apps - Get LUIS azure accounts assigned to the application. + """apps - Get LUIS Azure accounts assigned to the application. - Gets the LUIS azure accounts assigned to the application for the user + Gets the LUIS Azure accounts assigned to the application for the user using his ARM token. :param app_id: The application ID. @@ -159,13 +159,13 @@ def get_assigned( def remove_from_app( self, app_id, azure_account_info_object=None, custom_headers=None, raw=False, **operation_config): - """apps - Removes an assigned LUIS azure account from an application. + """apps - Removes an assigned LUIS Azure account from an application. - Removes assigned azure account from the application. + Removes assigned Azure account from the application. :param app_id: The application ID. :type app_id: str - :param azure_account_info_object: The azure account information + :param azure_account_info_object: The Azure account information object. :type azure_account_info_object: ~azure.cognitiveservices.language.luis.authoring.models.AzureAccountInfoObject @@ -224,11 +224,11 @@ def remove_from_app( return deserialized remove_from_app.metadata = {'url': '/apps/{appId}/azureaccounts'} - def get_user_luis_accounts( + def list_user_luis_accounts( self, custom_headers=None, raw=False, **operation_config): - """user - Get LUIS azure accounts. + """user - Get LUIS Azure accounts. - Gets the LUIS azure accounts for the user using his ARM token. + Gets the LUIS Azure accounts for the user using his ARM token. :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -243,7 +243,7 @@ def get_user_luis_accounts( :class:`ErrorResponseException` """ # Construct URL - url = self.get_user_luis_accounts.metadata['url'] + url = self.list_user_luis_accounts.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True) } @@ -275,4 +275,4 @@ def get_user_luis_accounts( return client_raw_response return deserialized - get_user_luis_accounts.metadata = {'url': '/azureaccounts'} + list_user_luis_accounts.metadata = {'url': '/azureaccounts'} diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/examples_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/examples_operations.py index bf27cabcc64d..b874d3e47425 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/examples_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/examples_operations.py @@ -35,14 +35,14 @@ def __init__(self, client, config, serializer, deserializer): def add( self, app_id, version_id, example_label_object, custom_headers=None, raw=False, **operation_config): - """Adds a labeled example to the application. + """Adds a labeled example utterance in a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param example_label_object: An example label with the expected intent - and entities. + :param example_label_object: A labeled example utterance with the + expected intent and entities. :type example_label_object: ~azure.cognitiveservices.language.luis.authoring.models.ExampleLabelObject :param dict custom_headers: headers that will be added to the request @@ -100,13 +100,14 @@ def add( def batch( self, app_id, version_id, example_label_object_array, custom_headers=None, raw=False, **operation_config): - """Adds a batch of labeled examples to the application. + """Adds a batch of labeled example utterances to a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param example_label_object_array: Array of examples. + :param example_label_object_array: Array of example utterances. :type example_label_object_array: list[~azure.cognitiveservices.language.luis.authoring.models.ExampleLabelObject] :param dict custom_headers: headers that will be added to the request @@ -166,7 +167,8 @@ def batch( def list( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Returns examples to be reviewed. + """Returns example utterances to be reviewed from a version of the + application. :param app_id: The application ID. :type app_id: str @@ -232,7 +234,8 @@ def list( def delete( self, app_id, version_id, example_id, custom_headers=None, raw=False, **operation_config): - """Deletes the labeled example with the specified ID. + """Deletes the labeled example utterances with the specified ID from a + version of the application. :param app_id: The application ID. :type app_id: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/features_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/features_operations.py index 9219e51591a3..351b70599331 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/features_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/features_operations.py @@ -33,9 +33,76 @@ def __init__(self, client, config, serializer, deserializer): self.config = config + def list_application_version_pattern_features( + self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): + """[DEPRECATED NOTICE: This operation will soon be removed] Gets all the + pattern features. + + :param app_id: The application ID. + :type app_id: str + :param version_id: The version ID. + :type version_id: str + :param skip: The number of entries to skip. Default value is 0. + :type skip: int + :param take: The number of entries to return. Maximum page size is + 500. Default is 100. + :type take: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: list or ClientRawResponse if raw=true + :rtype: + list[~azure.cognitiveservices.language.luis.authoring.models.PatternFeatureInfo] + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.list_application_version_pattern_features.metadata['url'] + path_format_arguments = { + 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), + 'appId': self._serialize.url("app_id", app_id, 'str'), + 'versionId': self._serialize.url("version_id", version_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int', minimum=0) + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int', maximum=500, minimum=0) + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if custom_headers: + header_parameters.update(custom_headers) + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('[PatternFeatureInfo]', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list_application_version_pattern_features.metadata = {'url': '/apps/{appId}/versions/{versionId}/patterns'} + def add_phrase_list( self, app_id, version_id, phraselist_create_object, custom_headers=None, raw=False, **operation_config): - """Creates a new phraselist feature. + """Creates a new phraselist feature in a version of the application. :param app_id: The application ID. :type app_id: str @@ -99,7 +166,7 @@ def add_phrase_list( def list_phrase_lists( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets all the phraselist features. + """Gets all the phraselist features in a version of the application. :param app_id: The application ID. :type app_id: str @@ -165,7 +232,8 @@ def list_phrase_lists( def list( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets all the extraction features for the specified application version. + """Gets all the extraction phraselist and pattern features in a version of + the application. :param app_id: The application ID. :type app_id: str @@ -231,7 +299,7 @@ def list( def get_phrase_list( self, app_id, version_id, phraselist_id, custom_headers=None, raw=False, **operation_config): - """Gets phraselist feature info. + """Gets phraselist feature info in a version of the application. :param app_id: The application ID. :type app_id: str @@ -291,7 +359,8 @@ def get_phrase_list( def update_phrase_list( self, app_id, version_id, phraselist_id, phraselist_update_object=None, custom_headers=None, raw=False, **operation_config): - """Updates the phrases, the state and the name of the phraselist feature. + """Updates the phrases, the state and the name of the phraselist feature + in a version of the application. :param app_id: The application ID. :type app_id: str @@ -364,7 +433,7 @@ def update_phrase_list( def delete_phrase_list( self, app_id, version_id, phraselist_id, custom_headers=None, raw=False, **operation_config): - """Deletes a phraselist feature. + """Deletes a phraselist feature from a version of the application. :param app_id: The application ID. :type app_id: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/model_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/model_operations.py index 138cbbc9de8f..1bf6422998e0 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/model_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/model_operations.py @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): def add_intent( self, app_id, version_id, name=None, custom_headers=None, raw=False, **operation_config): - """Adds an intent classifier to the application. + """Adds an intent to a version of the application. :param app_id: The application ID. :type app_id: str @@ -99,7 +99,8 @@ def add_intent( def list_intents( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the intent models. + """Gets information about the intent models in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -165,7 +166,7 @@ def list_intents( def add_entity( self, app_id, version_id, name=None, custom_headers=None, raw=False, **operation_config): - """Adds a simple entity extractor to the application. + """Adds a simple entity extractor to a version of the application. :param app_id: The application ID. :type app_id: str @@ -228,7 +229,8 @@ def add_entity( def list_entities( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the entity models. + """Gets information about all the simple entity models in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -294,7 +296,7 @@ def list_entities( def add_hierarchical_entity( self, app_id, version_id, children=None, name=None, custom_headers=None, raw=False, **operation_config): - """Adds a hierarchical entity extractor to the application version. + """Adds a hierarchical entity extractor to a version of the application. :param app_id: The application ID. :type app_id: str @@ -359,7 +361,8 @@ def add_hierarchical_entity( def list_hierarchical_entities( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the hierarchical entity models. + """Gets information about all the hierarchical entity models in a version + of the application. :param app_id: The application ID. :type app_id: str @@ -425,7 +428,7 @@ def list_hierarchical_entities( def add_composite_entity( self, app_id, version_id, children=None, name=None, custom_headers=None, raw=False, **operation_config): - """Adds a composite entity extractor to the application. + """Adds a composite entity extractor to a version of the application. :param app_id: The application ID. :type app_id: str @@ -490,7 +493,8 @@ def add_composite_entity( def list_composite_entities( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the composite entity models. + """Gets information about all the composite entity models in a version of + the application. :param app_id: The application ID. :type app_id: str @@ -556,7 +560,8 @@ def list_composite_entities( def list_closed_lists( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the closedlist models. + """Gets information about all the list entity models in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -622,7 +627,7 @@ def list_closed_lists( def add_closed_list( self, app_id, version_id, sub_lists=None, name=None, custom_headers=None, raw=False, **operation_config): - """Adds a closed list model to the application. + """Adds a list entity model to a version of the application. :param app_id: The application ID. :type app_id: str @@ -631,7 +636,7 @@ def add_closed_list( :param sub_lists: Sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: Name of the closed list feature. + :param name: Name of the list entity. :type name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -688,7 +693,7 @@ def add_closed_list( def add_prebuilt( self, app_id, version_id, prebuilt_extractor_names, custom_headers=None, raw=False, **operation_config): - """Adds a list of prebuilt entity extractors to the application. + """Adds a list of prebuilt entities to a version of the application. :param app_id: The application ID. :type app_id: str @@ -752,7 +757,8 @@ def add_prebuilt( def list_prebuilts( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the prebuilt entity models. + """Gets information about all the prebuilt entities in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -818,7 +824,8 @@ def list_prebuilts( def list_prebuilt_entities( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets all the available prebuilt entity extractors for the application. + """Gets all the available prebuilt entities in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -875,7 +882,8 @@ def list_prebuilt_entities( def list_models( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the application version models. + """Gets information about all the intent and entity models in a version of + the application. :param app_id: The application ID. :type app_id: str @@ -941,7 +949,8 @@ def list_models( def examples_method( self, app_id, version_id, model_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets the utterances for the given model in the given app version. + """Gets the example utterances for the given intent or entity model in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -1010,7 +1019,8 @@ def examples_method( def get_intent( self, app_id, version_id, intent_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the intent model. + """Gets information about the intent model in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -1070,7 +1080,7 @@ def get_intent( def update_intent( self, app_id, version_id, intent_id, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the name of an intent classifier. + """Updates the name of an intent in a version of the application. :param app_id: The application ID. :type app_id: str @@ -1138,7 +1148,7 @@ def update_intent( def delete_intent( self, app_id, version_id, intent_id, delete_utterances=False, custom_headers=None, raw=False, **operation_config): - """Deletes an intent classifier from the application. + """Deletes an intent from a version of the application. :param app_id: The application ID. :type app_id: str @@ -1146,8 +1156,9 @@ def delete_intent( :type version_id: str :param intent_id: The intent classifier ID. :type intent_id: str - :param delete_utterances: Also delete the intent's utterances (true). - Or move the utterances to the None intent (false - the default value). + :param delete_utterances: If true, deletes the intent's example + utterances. If false, moves the example utterances to the None intent. + The default value is false. :type delete_utterances: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -1203,7 +1214,7 @@ def delete_intent( def get_entity( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the entity model. + """Gets information about an entity model in a version of the application. :param app_id: The application ID. :type app_id: str @@ -1263,7 +1274,7 @@ def get_entity( def update_entity( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the name of an entity extractor. + """Updates the name of an entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -1331,7 +1342,7 @@ def update_entity( def delete_entity( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes an entity extractor from the application. + """Deletes an entity from a version of the application. :param app_id: The application ID. :type app_id: str @@ -1391,7 +1402,8 @@ def delete_entity( def get_hierarchical_entity( self, app_id, version_id, h_entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the hierarchical entity model. + """Gets information about a hierarchical entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -1451,7 +1463,8 @@ def get_hierarchical_entity( def update_hierarchical_entity( self, app_id, version_id, h_entity_id, children=None, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the name and children of a hierarchical entity model. + """Updates the name and children of a hierarchical entity model in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -1521,7 +1534,7 @@ def update_hierarchical_entity( def delete_hierarchical_entity( self, app_id, version_id, h_entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes a hierarchical entity extractor from the application version. + """Deletes a hierarchical entity from a version of the application. :param app_id: The application ID. :type app_id: str @@ -1581,7 +1594,8 @@ def delete_hierarchical_entity( def get_composite_entity( self, app_id, version_id, c_entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the composite entity model. + """Gets information about a composite entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -1641,7 +1655,7 @@ def get_composite_entity( def update_composite_entity( self, app_id, version_id, c_entity_id, children=None, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the composite entity extractor. + """Updates a composite entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -1711,7 +1725,7 @@ def update_composite_entity( def delete_composite_entity( self, app_id, version_id, c_entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes a composite entity extractor from the application. + """Deletes a composite entity from a version of the application. :param app_id: The application ID. :type app_id: str @@ -1771,13 +1785,13 @@ def delete_composite_entity( def get_closed_list( self, app_id, version_id, cl_entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information of a closed list model. + """Gets information about a list entity in a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list model ID. + :param cl_entity_id: The list model ID. :type cl_entity_id: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -1831,18 +1845,18 @@ def get_closed_list( def update_closed_list( self, app_id, version_id, cl_entity_id, sub_lists=None, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the closed list model. + """Updates the list entity in a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list model ID. + :param cl_entity_id: The list model ID. :type cl_entity_id: str :param sub_lists: The new sublists for the feature. :type sub_lists: list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject] - :param name: The new name of the closed list feature. + :param name: The new name of the list entity. :type name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -1902,13 +1916,14 @@ def update_closed_list( def patch_closed_list( self, app_id, version_id, cl_entity_id, sub_lists=None, custom_headers=None, raw=False, **operation_config): - """Adds a batch of sublists to an existing closedlist. + """Adds a batch of sublists to an existing list entity in a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list model ID. + :param cl_entity_id: The list entity model ID. :type cl_entity_id: str :param sub_lists: Sublists to add. :type sub_lists: @@ -1971,13 +1986,13 @@ def patch_closed_list( def delete_closed_list( self, app_id, version_id, cl_entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes a closed list model from the application. + """Deletes a list entity model from a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list model ID. + :param cl_entity_id: The list entity model ID. :type cl_entity_id: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -2031,7 +2046,8 @@ def delete_closed_list( def get_prebuilt( self, app_id, version_id, prebuilt_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the prebuilt entity model. + """Gets information about a prebuilt entity model in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -2091,7 +2107,7 @@ def get_prebuilt( def delete_prebuilt( self, app_id, version_id, prebuilt_id, custom_headers=None, raw=False, **operation_config): - """Deletes a prebuilt entity extractor from the application. + """Deletes a prebuilt entity extractor from a version of the application. :param app_id: The application ID. :type app_id: str @@ -2151,16 +2167,17 @@ def delete_prebuilt( def delete_sub_list( self, app_id, version_id, cl_entity_id, sub_list_id, custom_headers=None, raw=False, **operation_config): - """Deletes a sublist of a specific closed list model. + """Deletes a sublist of a specific list entity model from a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list entity extractor ID. + :param cl_entity_id: The list entity extractor ID. :type cl_entity_id: str :param sub_list_id: The sublist ID. - :type sub_list_id: int + :type sub_list_id: long :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -2180,7 +2197,7 @@ def delete_sub_list( 'appId': self._serialize.url("app_id", app_id, 'str'), 'versionId': self._serialize.url("version_id", version_id, 'str'), 'clEntityId': self._serialize.url("cl_entity_id", cl_entity_id, 'str'), - 'subListId': self._serialize.url("sub_list_id", sub_list_id, 'int') + 'subListId': self._serialize.url("sub_list_id", sub_list_id, 'long') } url = self._client.format_url(url, **path_format_arguments) @@ -2214,16 +2231,17 @@ def delete_sub_list( def update_sub_list( self, app_id, version_id, cl_entity_id, sub_list_id, canonical_form=None, list=None, custom_headers=None, raw=False, **operation_config): - """Updates one of the closed list's sublists. + """Updates one of the list entity's sublists in a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list entity extractor ID. + :param cl_entity_id: The list entity extractor ID. :type cl_entity_id: str :param sub_list_id: The sublist ID. - :type sub_list_id: int + :type sub_list_id: long :param canonical_form: The standard form that the list represents. :type canonical_form: str :param list: List of synonym words. @@ -2249,7 +2267,7 @@ def update_sub_list( 'appId': self._serialize.url("app_id", app_id, 'str'), 'versionId': self._serialize.url("version_id", version_id, 'str'), 'clEntityId': self._serialize.url("cl_entity_id", cl_entity_id, 'str'), - 'subListId': self._serialize.url("sub_list_id", sub_list_id, 'int') + 'subListId': self._serialize.url("sub_list_id", sub_list_id, 'long') } url = self._client.format_url(url, **path_format_arguments) @@ -2285,9 +2303,10 @@ def update_sub_list( return deserialized update_sub_list.metadata = {'url': '/apps/{appId}/versions/{versionId}/closedlists/{clEntityId}/sublists/{subListId}'} - def get_intent_suggestions( + def list_intent_suggestions( self, app_id, version_id, intent_id, take=100, custom_headers=None, raw=False, **operation_config): - """Suggests examples that would improve the accuracy of the intent model. + """Suggests example utterances that would improve the accuracy of the + intent model in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2311,7 +2330,7 @@ def get_intent_suggestions( :class:`ErrorResponseException` """ # Construct URL - url = self.get_intent_suggestions.metadata['url'] + url = self.list_intent_suggestions.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -2348,12 +2367,12 @@ def get_intent_suggestions( return client_raw_response return deserialized - get_intent_suggestions.metadata = {'url': '/apps/{appId}/versions/{versionId}/intents/{intentId}/suggest'} + list_intent_suggestions.metadata = {'url': '/apps/{appId}/versions/{versionId}/intents/{intentId}/suggest'} - def get_entity_suggestions( + def list_entity_suggestions( self, app_id, version_id, entity_id, take=100, custom_headers=None, raw=False, **operation_config): - """Get suggestion examples that would improve the accuracy of the entity - model. + """Get suggested example utterances that would improve the accuracy of the + entity model in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2377,7 +2396,7 @@ def get_entity_suggestions( :class:`ErrorResponseException` """ # Construct URL - url = self.get_entity_suggestions.metadata['url'] + url = self.list_entity_suggestions.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -2414,17 +2433,18 @@ def get_entity_suggestions( return client_raw_response return deserialized - get_entity_suggestions.metadata = {'url': '/apps/{appId}/versions/{versionId}/entities/{entityId}/suggest'} + list_entity_suggestions.metadata = {'url': '/apps/{appId}/versions/{versionId}/entities/{entityId}/suggest'} def add_sub_list( self, app_id, version_id, cl_entity_id, canonical_form=None, list=None, custom_headers=None, raw=False, **operation_config): - """Adds a list to an existing closed list. + """Adds a sublist to an existing list entity in a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param cl_entity_id: The closed list entity extractor ID. + :param cl_entity_id: The list entity extractor ID. :type cl_entity_id: str :param canonical_form: The standard form that the list represents. :type canonical_form: str @@ -2435,8 +2455,8 @@ def add_sub_list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: int or ClientRawResponse if raw=true - :rtype: int or ~msrest.pipeline.ClientRawResponse + :return: long or ClientRawResponse if raw=true + :rtype: long or ~msrest.pipeline.ClientRawResponse :raises: :class:`ErrorResponseException` """ @@ -2475,7 +2495,7 @@ def add_sub_list( deserialized = None if response.status_code == 201: - deserialized = self._deserialize('int', response) + deserialized = self._deserialize('long', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -2486,8 +2506,8 @@ def add_sub_list( def add_custom_prebuilt_domain( self, app_id, version_id, domain_name=None, custom_headers=None, raw=False, **operation_config): - """Adds a customizable prebuilt domain along with all of its models to - this application. + """Adds a customizable prebuilt domain along with all of its intent and + entity models in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2550,7 +2570,8 @@ def add_custom_prebuilt_domain( def add_custom_prebuilt_intent( self, app_id, version_id, domain_name=None, model_name=None, custom_headers=None, raw=False, **operation_config): - """Adds a custom prebuilt intent model to the application. + """Adds a customizable prebuilt intent model to a version of the + application. :param app_id: The application ID. :type app_id: str @@ -2615,7 +2636,8 @@ def add_custom_prebuilt_intent( def list_custom_prebuilt_intents( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets custom prebuilt intents information of this application. + """Gets information about customizable prebuilt intents added to a version + of the application. :param app_id: The application ID. :type app_id: str @@ -2672,7 +2694,7 @@ def list_custom_prebuilt_intents( def add_custom_prebuilt_entity( self, app_id, version_id, domain_name=None, model_name=None, custom_headers=None, raw=False, **operation_config): - """Adds a custom prebuilt entity model to the application. + """Adds a prebuilt entity model to a version of the application. :param app_id: The application ID. :type app_id: str @@ -2737,7 +2759,7 @@ def add_custom_prebuilt_entity( def list_custom_prebuilt_entities( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets all custom prebuilt entities information of this application. + """Gets all prebuilt entities used in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2794,7 +2816,8 @@ def list_custom_prebuilt_entities( def list_custom_prebuilt_models( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets all custom prebuilt models information of this application. + """Gets all prebuilt intent and entity model information used in a version + of this application. :param app_id: The application ID. :type app_id: str @@ -2851,7 +2874,7 @@ def list_custom_prebuilt_models( def delete_custom_prebuilt_domain( self, app_id, version_id, domain_name, custom_headers=None, raw=False, **operation_config): - """Deletes a prebuilt domain's models from the application. + """Deletes a prebuilt domain's models in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2911,7 +2934,8 @@ def delete_custom_prebuilt_domain( def get_hierarchical_entity_child( self, app_id, version_id, h_entity_id, h_child_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the hierarchical entity child model. + """Gets information about the child's model contained in an hierarchical + entity child model in a version of the application. :param app_id: The application ID. :type app_id: str @@ -2974,7 +2998,8 @@ def get_hierarchical_entity_child( def update_hierarchical_entity_child( self, app_id, version_id, h_entity_id, h_child_id, name=None, custom_headers=None, raw=False, **operation_config): - """Renames a single child in an existing hierarchical entity model. + """Renames a single child in an existing hierarchical entity model in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -3045,7 +3070,8 @@ def update_hierarchical_entity_child( def delete_hierarchical_entity_child( self, app_id, version_id, h_entity_id, h_child_id, custom_headers=None, raw=False, **operation_config): - """Deletes a hierarchical entity extractor child from the application. + """Deletes a hierarchical entity extractor child in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -3108,7 +3134,8 @@ def delete_hierarchical_entity_child( def add_hierarchical_entity_child( self, app_id, version_id, h_entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Creates a single child in an existing hierarchical entity model. + """Creates a single child in an existing hierarchical entity model in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -3174,7 +3201,8 @@ def add_hierarchical_entity_child( def add_composite_entity_child( self, app_id, version_id, c_entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Creates a single child in an existing composite entity model. + """Creates a single child in an existing composite entity model in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -3240,7 +3268,8 @@ def add_composite_entity_child( def delete_composite_entity_child( self, app_id, version_id, c_entity_id, c_child_id, custom_headers=None, raw=False, **operation_config): - """Deletes a composite entity extractor child from the application. + """Deletes a composite entity extractor child from a version of the + application. :param app_id: The application ID. :type app_id: str @@ -3301,9 +3330,10 @@ def delete_composite_entity_child( return deserialized delete_composite_entity_child.metadata = {'url': '/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/children/{cChildId}'} - def get_regex_entity_infos( + def list_regex_entity_infos( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets information about the regex entity models. + """Gets information about the regular expression entity models in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -3327,7 +3357,7 @@ def get_regex_entity_infos( :class:`ErrorResponseException` """ # Construct URL - url = self.get_regex_entity_infos.metadata['url'] + url = self.list_regex_entity_infos.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3365,17 +3395,17 @@ def get_regex_entity_infos( return client_raw_response return deserialized - get_regex_entity_infos.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities'} + list_regex_entity_infos.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities'} def create_regex_entity_model( self, app_id, version_id, regex_pattern=None, name=None, custom_headers=None, raw=False, **operation_config): - """Adds a regex entity model to the application version. + """Adds a regular expression entity model to a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str @@ -3432,9 +3462,10 @@ def create_regex_entity_model( return deserialized create_regex_entity_model.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities'} - def get_pattern_any_entity_infos( + def list_pattern_any_entity_infos( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Get information about the Pattern.Any entity models. + """Get information about the Pattern.Any entity models in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -3458,7 +3489,7 @@ def get_pattern_any_entity_infos( :class:`ErrorResponseException` """ # Construct URL - url = self.get_pattern_any_entity_infos.metadata['url'] + url = self.list_pattern_any_entity_infos.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3496,11 +3527,11 @@ def get_pattern_any_entity_infos( return client_raw_response return deserialized - get_pattern_any_entity_infos.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities'} + list_pattern_any_entity_infos.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities'} def create_pattern_any_entity_model( self, app_id, version_id, name=None, explicit_list=None, custom_headers=None, raw=False, **operation_config): - """Adds a pattern.any entity extractor to the application. + """Adds a pattern.any entity extractor to a version of the application. :param app_id: The application ID. :type app_id: str @@ -3563,9 +3594,9 @@ def create_pattern_any_entity_model( return deserialized create_pattern_any_entity_model.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities'} - def get_entity_roles( + def list_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for an entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3586,7 +3617,7 @@ def get_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_entity_roles.metadata['url'] + url = self.list_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3621,11 +3652,11 @@ def get_entity_roles( return client_raw_response return deserialized - get_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/entities/{entityId}/roles'} + list_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/entities/{entityId}/roles'} def create_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create an entity role in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3689,9 +3720,9 @@ def create_entity_role( return deserialized create_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/entities/{entityId}/roles'} - def get_prebuilt_entity_roles( + def list_prebuilt_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get a prebuilt entity's roles in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3712,7 +3743,7 @@ def get_prebuilt_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_prebuilt_entity_roles.metadata['url'] + url = self.list_prebuilt_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3747,11 +3778,11 @@ def get_prebuilt_entity_roles( return client_raw_response return deserialized - get_prebuilt_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/prebuilts/{entityId}/roles'} + list_prebuilt_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/prebuilts/{entityId}/roles'} def create_prebuilt_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for a prebuilt entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3815,9 +3846,9 @@ def create_prebuilt_entity_role( return deserialized create_prebuilt_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/prebuilts/{entityId}/roles'} - def get_closed_list_entity_roles( + def list_closed_list_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a list entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3838,7 +3869,7 @@ def get_closed_list_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_closed_list_entity_roles.metadata['url'] + url = self.list_closed_list_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3873,11 +3904,11 @@ def get_closed_list_entity_roles( return client_raw_response return deserialized - get_closed_list_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/closedlists/{entityId}/roles'} + list_closed_list_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/closedlists/{entityId}/roles'} def create_closed_list_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for a list entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -3941,9 +3972,10 @@ def create_closed_list_entity_role( return deserialized create_closed_list_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/closedlists/{entityId}/roles'} - def get_regex_entity_roles( + def list_regex_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a regular expression entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -3964,7 +3996,7 @@ def get_regex_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_regex_entity_roles.metadata['url'] + url = self.list_regex_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -3999,11 +4031,12 @@ def get_regex_entity_roles( return client_raw_response return deserialized - get_regex_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities/{entityId}/roles'} + list_regex_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities/{entityId}/roles'} def create_regex_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for an regular expression entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -4067,9 +4100,9 @@ def create_regex_entity_role( return deserialized create_regex_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/regexentities/{entityId}/roles'} - def get_composite_entity_roles( + def list_composite_entity_roles( self, app_id, version_id, c_entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a composite entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -4090,7 +4123,7 @@ def get_composite_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_composite_entity_roles.metadata['url'] + url = self.list_composite_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -4125,11 +4158,11 @@ def get_composite_entity_roles( return client_raw_response return deserialized - get_composite_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles'} + list_composite_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles'} def create_composite_entity_role( self, app_id, version_id, c_entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for a composite entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -4193,9 +4226,9 @@ def create_composite_entity_role( return deserialized create_composite_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles'} - def get_pattern_any_entity_roles( + def list_pattern_any_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a Pattern.any entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -4216,7 +4249,7 @@ def get_pattern_any_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_pattern_any_entity_roles.metadata['url'] + url = self.list_pattern_any_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -4251,11 +4284,12 @@ def get_pattern_any_entity_roles( return client_raw_response return deserialized - get_pattern_any_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities/{entityId}/roles'} + list_pattern_any_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities/{entityId}/roles'} def create_pattern_any_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for an Pattern.any entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -4319,9 +4353,10 @@ def create_pattern_any_entity_role( return deserialized create_pattern_any_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternanyentities/{entityId}/roles'} - def get_hierarchical_entity_roles( + def list_hierarchical_entity_roles( self, app_id, version_id, h_entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a hierarchical entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -4342,7 +4377,7 @@ def get_hierarchical_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_hierarchical_entity_roles.metadata['url'] + url = self.list_hierarchical_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -4377,11 +4412,12 @@ def get_hierarchical_entity_roles( return client_raw_response return deserialized - get_hierarchical_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/roles'} + list_hierarchical_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/roles'} def create_hierarchical_entity_role( self, app_id, version_id, h_entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for an hierarchical entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -4445,9 +4481,9 @@ def create_hierarchical_entity_role( return deserialized create_hierarchical_entity_role.metadata = {'url': '/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/roles'} - def get_custom_prebuilt_entity_roles( + def list_custom_prebuilt_entity_roles( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get All Entity Roles for a given entity. + """Get all roles for a prebuilt entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -4468,7 +4504,7 @@ def get_custom_prebuilt_entity_roles( :class:`ErrorResponseException` """ # Construct URL - url = self.get_custom_prebuilt_entity_roles.metadata['url'] + url = self.list_custom_prebuilt_entity_roles.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -4503,11 +4539,11 @@ def get_custom_prebuilt_entity_roles( return client_raw_response return deserialized - get_custom_prebuilt_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/customprebuiltentities/{entityId}/roles'} + list_custom_prebuilt_entity_roles.metadata = {'url': '/apps/{appId}/versions/{versionId}/customprebuiltentities/{entityId}/roles'} def create_custom_prebuilt_entity_role( self, app_id, version_id, entity_id, name=None, custom_headers=None, raw=False, **operation_config): - """Create an entity role for an entity in the application. + """Create a role for a prebuilt entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -4573,7 +4609,8 @@ def create_custom_prebuilt_entity_role( def get_explicit_list( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Get the explicit list of the pattern.any entity. + """Get the explicit (exception) list of the pattern.any entity in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -4633,7 +4670,8 @@ def get_explicit_list( def add_explicit_list_item( self, app_id, version_id, entity_id, explicit_list_item=None, custom_headers=None, raw=False, **operation_config): - """Add a new item to the explicit list for the Pattern.Any entity. + """Add a new exception to the explicit list for the Pattern.Any entity in + a version of the application. :param app_id: The application ID. :type app_id: str @@ -4699,13 +4737,14 @@ def add_explicit_list_item( def get_regex_entity_entity_info( self, app_id, version_id, regex_entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information of a regex entity model. + """Gets information about a regular expression entity in a version of the + application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param regex_entity_id: The regex entity model ID. + :param regex_entity_id: The regular expression entity model ID. :type regex_entity_id: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -4759,15 +4798,15 @@ def get_regex_entity_entity_info( def update_regex_entity_model( self, app_id, version_id, regex_entity_id, regex_pattern=None, name=None, custom_headers=None, raw=False, **operation_config): - """Updates the regex entity model . + """Updates the regular expression entity in a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param regex_entity_id: The regex entity extractor ID. + :param regex_entity_id: The regular expression entity extractor ID. :type regex_entity_id: str - :param regex_pattern: The regex entity pattern. + :param regex_pattern: The regular expression entity pattern. :type regex_pattern: str :param name: The model name. :type name: str @@ -4829,13 +4868,13 @@ def update_regex_entity_model( def delete_regex_entity_model( self, app_id, version_id, regex_entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes a regex entity model from the application. + """Deletes a regular expression entity from a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param regex_entity_id: The regex entity extractor ID. + :param regex_entity_id: The regular expression entity extractor ID. :type regex_entity_id: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -4889,7 +4928,8 @@ def delete_regex_entity_model( def get_pattern_any_entity_info( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Gets information about the application version's Pattern.Any model. + """Gets information about the Pattern.Any model in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -4949,7 +4989,8 @@ def get_pattern_any_entity_info( def update_pattern_any_entity_model( self, app_id, version_id, entity_id, name=None, explicit_list=None, custom_headers=None, raw=False, **operation_config): - """Updates the name and explicit list of a Pattern.Any entity model. + """Updates the name and explicit (exception) list of a Pattern.Any entity + model in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5019,7 +5060,8 @@ def update_pattern_any_entity_model( def delete_pattern_any_entity_model( self, app_id, version_id, entity_id, custom_headers=None, raw=False, **operation_config): - """Deletes a Pattern.Any entity extractor from the application. + """Deletes a Pattern.Any entity extractor from a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5079,7 +5121,7 @@ def delete_pattern_any_entity_model( def get_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5142,7 +5184,7 @@ def get_entity_role( def update_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5213,7 +5255,7 @@ def update_entity_role( def delete_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete an entity role in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5276,7 +5318,8 @@ def delete_entity_role( def get_prebuilt_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given prebuilt entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5339,7 +5382,8 @@ def get_prebuilt_entity_role( def update_prebuilt_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given prebuilt entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5410,7 +5454,7 @@ def update_prebuilt_entity_role( def delete_prebuilt_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role in a prebuilt entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5473,7 +5517,7 @@ def delete_prebuilt_entity_role( def get_closed_list_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given list entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5536,7 +5580,7 @@ def get_closed_list_entity_role( def update_closed_list_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given list entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5607,7 +5651,7 @@ def update_closed_list_entity_role( def delete_closed_list_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given list entity in a version of the application. :param app_id: The application ID. :type app_id: str @@ -5670,7 +5714,8 @@ def delete_closed_list_entity_role( def get_regex_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given regular expression entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5733,7 +5778,8 @@ def get_regex_entity_role( def update_regex_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given regular expression entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5804,7 +5850,8 @@ def update_regex_entity_role( def delete_regex_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given regular expression in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5867,7 +5914,8 @@ def delete_regex_entity_role( def get_composite_entity_role( self, app_id, version_id, c_entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given composite entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -5930,7 +5978,8 @@ def get_composite_entity_role( def update_composite_entity_role( self, app_id, version_id, c_entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given composite entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6001,7 +6050,8 @@ def update_composite_entity_role( def delete_composite_entity_role( self, app_id, version_id, c_entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given composite entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6064,7 +6114,8 @@ def delete_composite_entity_role( def get_pattern_any_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given Pattern.any entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6127,7 +6178,8 @@ def get_pattern_any_entity_role( def update_pattern_any_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given Pattern.any entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6198,7 +6250,8 @@ def update_pattern_any_entity_role( def delete_pattern_any_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given Pattern.any entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6261,7 +6314,8 @@ def delete_pattern_any_entity_role( def get_hierarchical_entity_role( self, app_id, version_id, h_entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given hierarchical entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6324,7 +6378,8 @@ def get_hierarchical_entity_role( def update_hierarchical_entity_role( self, app_id, version_id, h_entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given hierarchical entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6395,7 +6450,8 @@ def update_hierarchical_entity_role( def delete_hierarchical_entity_role( self, app_id, version_id, h_entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given hierarchical role in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6458,7 +6514,8 @@ def delete_hierarchical_entity_role( def get_custom_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Get one entity role for a given entity. + """Get one role for a given prebuilt entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6521,7 +6578,8 @@ def get_custom_entity_role( def update_custom_prebuilt_entity_role( self, app_id, version_id, entity_id, role_id, name=None, custom_headers=None, raw=False, **operation_config): - """Update an entity role for a given entity. + """Update a role for a given prebuilt entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6592,7 +6650,8 @@ def update_custom_prebuilt_entity_role( def delete_custom_entity_role( self, app_id, version_id, entity_id, role_id, custom_headers=None, raw=False, **operation_config): - """Delete an entity role. + """Delete a role for a given prebuilt entity in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -6655,7 +6714,8 @@ def delete_custom_entity_role( def get_explicit_list_item( self, app_id, version_id, entity_id, item_id, custom_headers=None, raw=False, **operation_config): - """Get the explicit list of the pattern.any entity. + """Get the explicit (exception) list of the pattern.any entity in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -6718,7 +6778,8 @@ def get_explicit_list_item( def update_explicit_list_item( self, app_id, version_id, entity_id, item_id, explicit_list_item=None, custom_headers=None, raw=False, **operation_config): - """Updates an explicit list item for a Pattern.Any entity. + """Updates an explicit (exception) list item for a Pattern.Any entity in a + version of the application. :param app_id: The application ID. :type app_id: str @@ -6789,7 +6850,8 @@ def update_explicit_list_item( def delete_explicit_list_item( self, app_id, version_id, entity_id, item_id, custom_headers=None, raw=False, **operation_config): - """Delete the explicit list item from the Pattern.any explicit list. + """Delete an item from the explicit (exception) list for a Pattern.any + entity in a version of the application. :param app_id: The application ID. :type app_id: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/pattern_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/pattern_operations.py index 1f10eca9da23..08dde91b3595 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/pattern_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/pattern_operations.py @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): def add_pattern( self, app_id, version_id, pattern=None, intent=None, custom_headers=None, raw=False, **operation_config): - """Adds one pattern to the specified application. + """Adds a pattern to a version of the application. :param app_id: The application ID. :type app_id: str @@ -100,9 +100,9 @@ def add_pattern( return deserialized add_pattern.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternrule'} - def get_patterns( + def list_patterns( self, app_id, version_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Returns an application version's patterns. + """Gets patterns in a version of the application. :param app_id: The application ID. :type app_id: str @@ -126,7 +126,7 @@ def get_patterns( :class:`ErrorResponseException` """ # Construct URL - url = self.get_patterns.metadata['url'] + url = self.list_patterns.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -164,11 +164,11 @@ def get_patterns( return client_raw_response return deserialized - get_patterns.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternrules'} + list_patterns.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternrules'} def update_patterns( self, app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config): - """Updates patterns. + """Updates patterns in a version of the application. :param app_id: The application ID. :type app_id: str @@ -232,7 +232,7 @@ def update_patterns( def batch_add_patterns( self, app_id, version_id, patterns, custom_headers=None, raw=False, **operation_config): - """Adds a batch of patterns to the specified application. + """Adds a batch of patterns in a version of the application. :param app_id: The application ID. :type app_id: str @@ -296,7 +296,7 @@ def batch_add_patterns( def delete_patterns( self, app_id, version_id, pattern_ids, custom_headers=None, raw=False, **operation_config): - """Deletes the patterns with the specified IDs. + """Deletes a list of patterns in a version of the application. :param app_id: The application ID. :type app_id: str @@ -359,7 +359,7 @@ def delete_patterns( def update_pattern( self, app_id, version_id, pattern_id, pattern, custom_headers=None, raw=False, **operation_config): - """Updates a pattern. + """Updates a pattern in a version of the application. :param app_id: The application ID. :type app_id: str @@ -426,7 +426,8 @@ def update_pattern( def delete_pattern( self, app_id, version_id, pattern_id, custom_headers=None, raw=False, **operation_config): - """Deletes the pattern with the specified ID. + """Deletes the pattern with the specified ID from a version of the + application.. :param app_id: The application ID. :type app_id: str @@ -484,9 +485,10 @@ def delete_pattern( return deserialized delete_pattern.metadata = {'url': '/apps/{appId}/versions/{versionId}/patternrules/{patternId}'} - def get_intent_patterns( + def list_intent_patterns( self, app_id, version_id, intent_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Returns patterns to be retrieved for the specific intent. + """Returns patterns for the specific intent in a version of the + application. :param app_id: The application ID. :type app_id: str @@ -512,7 +514,7 @@ def get_intent_patterns( :class:`ErrorResponseException` """ # Construct URL - url = self.get_intent_patterns.metadata['url'] + url = self.list_intent_patterns.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'appId': self._serialize.url("app_id", app_id, 'str'), @@ -551,4 +553,4 @@ def get_intent_patterns( return client_raw_response return deserialized - get_intent_patterns.metadata = {'url': '/apps/{appId}/versions/{versionId}/intents/{intentId}/patternrules'} + list_intent_patterns.metadata = {'url': '/apps/{appId}/versions/{versionId}/intents/{intentId}/patternrules'} diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/permissions_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/permissions_operations.py index b79917aa1207..e14a2769fc46 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/permissions_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/permissions_operations.py @@ -216,8 +216,9 @@ def delete( def update( self, app_id, emails=None, custom_headers=None, raw=False, **operation_config): - """Replaces the current users access list with the one sent in the body. - If an empty list is sent, all access to other users will be removed. + """Replaces the current user access list with the new list sent in the + body. If an empty list is sent, all access to other users will be + removed. :param app_id: The application ID. :type app_id: str diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/settings_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/settings_operations.py index e5850e0c0e5b..8bf9fb6ab526 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/settings_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/settings_operations.py @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): def list( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets the application version settings. + """Gets the settings in a version of the application. :param app_id: The application ID. :type app_id: str @@ -91,17 +91,17 @@ def list( list.metadata = {'url': '/apps/{appId}/versions/{versionId}/settings'} def update( - self, app_id, version_id, name=None, value=None, custom_headers=None, raw=False, **operation_config): - """Updates the application version settings. + self, app_id, version_id, list_of_app_version_setting_object, custom_headers=None, raw=False, **operation_config): + """Updates the settings in a version of the application. :param app_id: The application ID. :type app_id: str :param version_id: The version ID. :type version_id: str - :param name: The application version setting name. - :type name: str - :param value: The application version setting value. - :type value: str + :param list_of_app_version_setting_object: A list of the updated + application version settings. + :type list_of_app_version_setting_object: + list[~azure.cognitiveservices.language.luis.authoring.models.AppVersionSettingObject] :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -114,8 +114,6 @@ def update( :raises: :class:`ErrorResponseException` """ - list_of_app_version_setting_object = models.AppVersionSettingObject(name=name, value=value) - # Construct URL url = self.update.metadata['url'] path_format_arguments = { @@ -136,7 +134,7 @@ def update( header_parameters.update(custom_headers) # Construct body - body_content = self._serialize.body(list_of_app_version_setting_object, 'AppVersionSettingObject') + body_content = self._serialize.body(list_of_app_version_setting_object, '[AppVersionSettingObject]') # Construct and send request request = self._client.put(url, query_parameters, header_parameters, body_content) diff --git a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/versions_operations.py b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/versions_operations.py index 45142ac03856..bc8618a7c34b 100644 --- a/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/versions_operations.py +++ b/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/operations/versions_operations.py @@ -35,8 +35,7 @@ def __init__(self, client, config, serializer, deserializer): def clone( self, app_id, version_id, version=None, custom_headers=None, raw=False, **operation_config): - """Creates a new version using the current snapshot of the selected - application version. + """Creates a new version from the selected version. :param app_id: The application ID. :type app_id: str @@ -54,9 +53,7 @@ def clone( :raises: :class:`ErrorResponseException` """ - version_clone_object = None - if version is not None: - version_clone_object = models.TaskUpdateObject(version=version) + version_clone_object = models.TaskUpdateObject(version=version) # Construct URL url = self.clone.metadata['url'] @@ -78,10 +75,7 @@ def clone( header_parameters.update(custom_headers) # Construct body - if version_clone_object is not None: - body_content = self._serialize.body(version_clone_object, 'TaskUpdateObject') - else: - body_content = None + body_content = self._serialize.body(version_clone_object, 'TaskUpdateObject') # Construct and send request request = self._client.post(url, query_parameters, header_parameters, body_content) @@ -104,7 +98,7 @@ def clone( def list( self, app_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config): - """Gets the application versions info. + """Gets a list of versions for this application ID. :param app_id: The application ID. :type app_id: str @@ -167,7 +161,9 @@ def list( def get( self, app_id, version_id, custom_headers=None, raw=False, **operation_config): - """Gets the version info. + """Gets the version information such as date created, last modified date, + endpoint URL, count of intents and entities, training and publishing + status. :param app_id: The application ID. :type app_id: str @@ -467,7 +463,7 @@ def import_method( def delete_unlabelled_utterance( self, app_id, version_id, utterance, custom_headers=None, raw=False, **operation_config): - """Deleted an unlabelled utterance. + """Deleted an unlabelled utterance in a version of the application. :param app_id: The application ID. :type app_id: str