-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restapi auto cognitiveservices data plane luis (#4945)
* [AutoPR] cognitiveservices/data-plane/LUIS/Runtime (#4260) * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Add dispatch child to LUIS Runtime response (#4245) * Generated from 59e0c9edb7b7859abb45c76c118343b7998eb5c0 Add dispatch child to LUIS Runtime response * Packaging update of azure-cognitiveservices-language-luis * [AutoPR cognitiveservices/data-plane/LUIS/Runtime] LUIS runtime changes (#4611) * Generated from faaca6c0dec3efe45b35a48607afa09ed360645a LUIS runtime changes * Packaging update of azure-cognitiveservices-language-luis * Generated from 1e7415ddfdb783e444a35846cf77aeedce475373 Reverting some changes * Packaging update of azure-cognitiveservices-language-luis * [AutoPR] cognitiveservices/data-plane/LUIS/Authoring (#4389) * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] [Cogsvcs] LUIS - add text to simple entity description (#4375) * Generated from 0fe50266ddf3f2e10f2e203fd4367222d4f79081 [Cogsvcs] LUIS - add text to simple entity description * Packaging update of azure-cognitiveservices-language-luis * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Revert changes in authoring (#4639) * Generated from 26e4b3a45f476fc81fa11213eb459a361aea59b9 Revert changes in authoring * Packaging update of azure-cognitiveservices-language-luis * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Add ErrorResponse to "AddIntent" post (#4940) * Generated from 58571b3e7758b12f19fec873785626ac9fe4f14f Adjust enums of /definitions/ReadableType - Add "Closed List Entity Extractor "to enum list - Add "Regex Entity Extractor" to enum list * Packaging update of azure-cognitiveservices-language-luis * Generated from 8c91543d1c9aa00008e73aec18bad84fd597bcea (#4943) Refactor enum list of /definitions/ReadableType - Remove unnecessary "Regular Expression Entity Extractor" * Manually fix LUIS * ChangeLog
- Loading branch information
Showing
116 changed files
with
1,428 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/cognitiveservices/__init__.py | ||
include azure/cognitiveservices/language/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...luis/azure/cognitiveservices/language/luis/authoring/models/app_version_setting_object.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AppVersionSettingObject(Model): | ||
"""Object model of an application version setting. | ||
:param name: The application version setting name. | ||
:type name: str | ||
:param value: The application version setting value. | ||
:type value: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'value': {'key': 'value', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AppVersionSettingObject, self).__init__(**kwargs) | ||
self.name = kwargs.get('name', None) | ||
self.value = kwargs.get('value', None) |
32 changes: 32 additions & 0 deletions
32
.../azure/cognitiveservices/language/luis/authoring/models/app_version_setting_object_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AppVersionSettingObject(Model): | ||
"""Object model of an application version setting. | ||
:param name: The application version setting name. | ||
:type name: str | ||
:param value: The application version setting value. | ||
:type value: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'value': {'key': 'value', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None: | ||
super(AppVersionSettingObject, self).__init__(**kwargs) | ||
self.name = name | ||
self.value = value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AzureAccountInfoObject(Model): | ||
"""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. | ||
:type azure_subscription_id: str | ||
:param resource_group: Required. The Azure resource group name. | ||
:type resource_group: str | ||
:param account_name: Required. The Azure account name. | ||
:type account_name: str | ||
""" | ||
|
||
_validation = { | ||
'azure_subscription_id': {'required': True}, | ||
'resource_group': {'required': True}, | ||
'account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'azure_subscription_id': {'key': 'azureSubscriptionId', 'type': 'str'}, | ||
'resource_group': {'key': 'resourceGroup', 'type': 'str'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureAccountInfoObject, self).__init__(**kwargs) | ||
self.azure_subscription_id = kwargs.get('azure_subscription_id', None) | ||
self.resource_group = kwargs.get('resource_group', None) | ||
self.account_name = kwargs.get('account_name', None) |
Oops, something went wrong.