Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR cognitiveservices/data-plane/LUIS/Authoring] Refactor enum list of /definitions/ReadableType #4943

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ClosedListEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ClosedListEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class CompositeEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class CompositeEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class CustomPrebuiltModel(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class CustomPrebuiltModel(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class EntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class EntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class EntityModelInfo(ModelInfo):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class EntityModelInfo(ModelInfo):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ class HierarchicalChildEntity(ChildEntity):
:param readable_type: Possible values include: 'Entity Extractor',
'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regular
Expression Entity Extractor', 'Closed List Entity Extractor', 'Regex
Entity Extractor'
Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Closed
List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ class HierarchicalChildEntity(ChildEntity):
:param readable_type: Possible values include: 'Entity Extractor',
'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regular
Expression Entity Extractor', 'Closed List Entity Extractor', 'Regex
Entity Extractor'
Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Closed
List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class HierarchicalEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class HierarchicalEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class IntentClassifier(ModelInfo):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class IntentClassifier(ModelInfo):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ModelInfo(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ModelInfo(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ModelInfoResponse(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class ModelInfoResponse(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class PatternAnyEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class PatternAnyEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class PrebuiltEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class PrebuiltEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class RegexEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class RegexEntityExtractor(Model):
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regular Expression Entity Extractor', 'Closed List Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Closed List Entity Extractor', 'Regex Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down