azure.cognitiveservices.language.luis.authoring.models module¶
Bases:
msrest.exceptions.HttpOperationErrorServer responsed with exception of type: ‘ErrorResponse’.
Parameters: - deserialize – A deserializer
- response – Server response to be deserialized.
Bases:
msrest.serialization.ModelDefines the entity type and position of the extracted entity within the example.
All required parameters must be populated in order to send to Azure.
Parameters:
Bases:
msrest.serialization.ModelProperties for creating a new LUIS Application.
All required parameters must be populated in order to send to Azure.
Parameters: - culture (str) – Required. The culture for the new application. It is the language that your app understands and speaks. E.g.: “en-us”. Note: the culture cannot be changed after the app is created.
- domain (str) – The domain for the new application. Optional. E.g.: Comics.
- description (str) – Description of the new application. Optional.
- initial_version_id (str) – The initial version ID. Optional. Default value is: “0.1”
- usage_scenario (str) – Defines the scenario for the new application. Optional. E.g.: IoT.
- name (str) – Required. The name for the new application.
Bases:
msrest.serialization.ModelA model object containing the name of the custom prebuilt entity and the name of the domain to which this model belongs.
Parameters: domain_name (str) – The domain name.
Bases:
msrest.serialization.ModelA prebuilt domain create object containing the name and culture of the domain.
Parameters:
Bases:
msrest.serialization.ModelA model object containing the name of the custom prebuilt intent or entity and the name of the domain to which this model belongs.
Parameters:
Bases:
msrest.serialization.ModelA Hierarchical Entity Extractor.
Parameters:
Bases:
msrest.serialization.ModelA composite entity.
Parameters:
Bases:
msrest.serialization.ModelExported Model - Extracted Entity from utterance.
All required parameters must be populated in order to send to Azure.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating an application’s settings.
Parameters: public (bool) – Setting your application as public allows other people to use your application’s endpoint using their own keys.
Bases:
msrest.serialization.ModelObject model for updating an application’s publish settings.
Parameters: - sentiment_analysis (bool) – Setting sentiment analysis as true returns the Sentiment of the input utterance along with the resopnse
- speech (bool) – Setting speech as public enables speech priming in your app
- spell_checker (bool) – Setting spell checker as public enables spell checking the input utterance.
Bases:
msrest.serialization.ModelA labeled example.
Parameters: - text (str) – The sample’s utterance.
- entity_labels (list[EntityLabelObject]) – The idenfied entities within the utterance.
- intent_name (str) – The idenfitied intent representing the utterance.
Bases:
msrest.serialization.ModelObject model for creating a phraselist model.
Parameters: - phrases (str) – List of comma-separated phrases that represent the Phraselist.
- name (str) – The Phraselist name.
- is_exchangeable (bool) – 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 .
Bases:
msrest.serialization.ModelSublist of items for a Closed list.
Parameters:
Bases:
azure.cognitiveservices.language.luis.authoring.models.sub_closed_list_py3.SubClosedListSublist of items for a Closed list.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating the name or description of an application.
Parameters:
Bases:
msrest.serialization.ModelExported Model - A Pattern feature.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating an existing Pattern feature.
Parameters:
Bases:
msrest.serialization.ModelExported Model - A Closed List.
Parameters: - name (str) – Name of the closed list feature.
- sub_lists (list[SubClosedList]) – Sublists for the feature.
- roles (list[str]) –
Bases:
msrest.serialization.ModelSublist of items for a Closed list.
Parameters:
Bases:
msrest.serialization.ModelObject model for adding a batch of sublists to an existing closedlist.
Parameters: sub_lists (list[WordListObject]) – Sublists to add.
Bases:
msrest.serialization.ModelExported Model - Phraselist Model Feature.
Parameters: - activated (bool) – Indicates if the feature is enabled.
- name (str) – The Phraselist name.
- words (str) – List of comma-separated phrases that represent the Phraselist.
- mode (bool) – 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.
Bases:
msrest.serialization.ModelObject model for creating a new entity extractor.
Parameters: name (str) – Name of the new entity extractor.
Bases:
msrest.serialization.ModelObject model for creating a Pattern feature.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating one of the closed list’s sublists.
Parameters:
Bases:
msrest.serialization.ModelExported Model - Utterance that was used to train the model.
Parameters: - text (str) – The utterance.
- intent (str) – The matched intent.
- entities (list[JSONEntity]) – The matched entities.
Bases:
msrest.serialization.ModelObject model for updating an intent classifier.
Parameters: name (str) – The entity’s new name.
Bases:
msrest.serialization.ModelObject model for updating a closed list.
Parameters: - sub_lists (list[WordListObject]) – The new sublists for the feature.
- name (str) – The new name of the closed list feature.
Bases:
msrest.serialization.ModelObject model for creating a closed list.
Parameters: - sub_lists (list[WordListObject]) – Sublists for the feature.
- name (str) – Name of the closed list feature.
Bases:
msrest.serialization.ModelObject model of an application version.
All required parameters must be populated in order to send to Azure.
Parameters: - version (str) – Required. The version ID. E.g.: “0.1”
- created_date_time (datetime) – The version’s creation timestamp.
- last_modified_date_time (datetime) – Timestamp of the last update.
- last_trained_date_time (datetime) – Timestamp of the last time the model was trained.
- last_published_date_time (datetime) – Timestamp when was last published.
- endpoint_url (str) – The Runtime endpoint URL for this model version.
- assigned_endpoint_key (dict[str, str]) – The endpoint key.
- external_api_keys (object) – External keys.
- intents_count (int) – Number of intents in this model.
- entities_count (int) – Number of entities in this model.
- endpoint_hits_count (int) – Number of calls made to this endpoint.
- training_status (str or TrainingStatus) – Required. The current training status. Possible values include: ‘NeedsTraining’, ‘InProgress’, ‘Trained’
Bases:
msrest.serialization.ModelObject model for cloning an application’s version.
Parameters: version (str) – The new version for the cloned model.
Bases:
msrest.serialization.ModelObject model for updating a Phraselist.
Parameters: - phrases (str) – List of comma-separated phrases that represent the Phraselist.
- name (str) – The Phraselist name.
- is_active (bool) – Indicates if the Phraselist is enabled. Default value: True .
- is_exchangeable (bool) – 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 .
Bases:
msrest.serialization.ModelPrebuiltDomainObject.
Parameters:
Bases:
msrest.serialization.ModelHierarchicalModel.
Parameters:
Bases:
msrest.serialization.ModelObject model for publishing a specific application version.
Parameters:
Bases:
msrest.serialization.ModelPattern.Any Entity Extractor.
Parameters:
Bases:
msrest.serialization.ModelRegular Expression Entity Extractor.
Parameters:
Bases:
msrest.serialization.ModelPrebuilt Entity Extractor.
Parameters:
Bases:
msrest.serialization.ModelPattern.
Parameters:
Bases:
msrest.serialization.ModelExported Model - An exported LUIS Application.
Parameters: - additional_properties (dict[str, object]) – Unmatched properties from the message are deserialized this collection
- name (str) – The name of the application.
- version_id (str) – The version ID of the application that was exported.
- desc (str) – The description of the application.
- culture (str) – The culture of the application. E.g.: en-us.
- intents (list[HierarchicalModel]) – List of intents.
- entities (list[HierarchicalModel]) – List of entities.
- closed_lists (list[ClosedList]) – List of closed lists.
- composites (list[HierarchicalModel]) – List of composite entities.
- pattern_any_entities (list[PatternAny]) – List of Pattern.Any entities.
- regex_entities (list[RegexEntity]) – List of regular expression entities.
- prebuilt_entities (list[PrebuiltEntity]) – List of prebuilt entities.
- regex_features (list[JSONRegexFeature]) – List of pattern features.
- model_features (list[JSONModelFeature]) – List of model features.
- patterns (list[PatternRule]) – List of patterns.
- utterances (list[JSONUtterance]) – List of sample utterances.
Bases:
msrest.serialization.ModelDefines the entity type and position of the extracted entity within the example.
All required parameters must be populated in order to send to Azure.
Parameters:
Bases:
msrest.serialization.ModelA suggested intent.
Parameters:
Bases:
msrest.serialization.ModelA suggested entity.
All required parameters must be populated in order to send to Azure.
Parameters: - entity_name (str) – Required. The entity’s name
- start_token_index (int) – Required. The index within the utterance where the extracted entity starts.
- end_token_index (int) – Required. The index within the utterance where the extracted entity ends.
- phrase (str) – Required. The actual token(s) that comprise the entity.
Bases:
msrest.serialization.ModelA prediction and label pair of an example.
Parameters: - id (int) – ID of Labeled Utterance.
- text (str) – The utterance. E.g.: what’s the weather like in seattle?
- tokenized_text (list[str]) – The utterance tokenized.
- intent_label (str) – The intent matching the example.
- entity_labels (list[EntityLabel]) – The entities matching the example.
- intent_predictions (list[IntentPrediction]) – List of suggested intents.
- entity_predictions (list[EntityPrediction]) – List of suggested entities.
Bases:
msrest.serialization.ModelPredicted/suggested intent.
Parameters: - text (str) – The utterance. E.g.: what’s the weather like in seattle?
- tokenized_text (list[str]) – The utterance tokenized.
- intent_predictions (list[IntentPrediction]) – Predicted/suggested intents.
- entity_predictions (list[EntityPrediction]) – Predicted/suggested entities.
Bases:
msrest.serialization.ModelPredicted/suggested entity.
Parameters: - text (str) – The utterance. E.g.: what’s the weather like in seattle?
- tokenized_text (list[str]) – The utterance tokenized.
- intent_predictions (list[IntentPrediction]) – Predicted/suggested intents.
- entity_predictions (list[EntityPrediction]) – Predicted/suggested entities.
Bases:
msrest.serialization.ModelResponse containing user’s endpoint keys and the endpoint URLs of the prebuilt Cortana applications.
Parameters:
Bases:
msrest.serialization.ModelBase type used in entity types.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
Bases:
msrest.serialization.ModelEntity extractor role.
Parameters:
Bases:
msrest.serialization.ModelThe base child entity type.
All required parameters must be populated in order to send to Azure.
Parameters:
Bases:
msrest.serialization.ModelExplicit list item.
Parameters: - id (long) – The explicit list item ID.
- explicit_list_item (str) – The explicit list item value.
Bases:
msrest.serialization.ModelAn application model info.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- children (list[ChildEntity]) – List of child entities.
- sub_lists (list[SubClosedListResponse]) – List of sub-lists.
- custom_prebuilt_domain_name (str) – The domain name.
- custom_prebuilt_model_name (str) – The intent name or entity name.
- regex_pattern (str) – The Regex entity pattern.
- explicit_list (list[ExplicitListItem]) –
Bases:
azure.cognitiveservices.language.luis.authoring.models.model_info_py3.ModelInfoAn Entity Extractor model info.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
Bases:
msrest.serialization.ModelHierarchical Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- children (list[ChildEntity]) – List of child entities.
Bases:
msrest.serialization.ModelA Composite Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- children (list[ChildEntity]) – List of child entities.
Bases:
msrest.serialization.ModelClosed List Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- sub_lists (list[SubClosedListResponse]) – List of sub-lists.
Bases:
msrest.serialization.ModelPrebuilt Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
Bases:
azure.cognitiveservices.language.luis.authoring.models.child_entity_py3.ChildEntityA Hierarchical Child Entity.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID (GUID) belonging to a child entity.
- name (str) – The name of a child entity.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – 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’
Bases:
msrest.serialization.ModelA Custom Prebuilt model.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- custom_prebuilt_domain_name (str) – The domain name.
- custom_prebuilt_model_name (str) – The intent name or entity name.
- roles (list[EntityRole]) –
Bases:
azure.cognitiveservices.language.luis.authoring.models.model_info_py3.ModelInfoIntent Classifier.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- custom_prebuilt_domain_name (str) – The domain name.
- custom_prebuilt_model_name (str) – The intent name or entity name.
Bases:
msrest.serialization.ModelEntity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- custom_prebuilt_domain_name (str) – The domain name.
- custom_prebuilt_model_name (str) – The intent name or entity name.
Bases:
azure.cognitiveservices.language.luis.authoring.models.feature_info_object_py3.FeatureInfoObjectPhraselist Feature.
Parameters: - id (int) – A six-digit ID used for Features.
- name (str) – The name of the Feature.
- is_active (bool) – Indicates if the feature is enabled.
- phrases (str) – A list of comma-separated values.
- is_exchangeable (bool) – 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.
Bases:
azure.cognitiveservices.language.luis.authoring.models.feature_info_object_py3.FeatureInfoObjectPattern feature.
Parameters:
Bases:
msrest.serialization.ModelModel Features, including Patterns and Phraselists.
Parameters: - phraselist_features (list[PhraseListFeatureInfo]) –
- pattern_features (list[PatternFeatureInfo]) –
Bases:
msrest.serialization.ModelThe base class Features-related response objects inherit from.
Parameters:
Bases:
msrest.serialization.ModelResponse when adding a labeled example.
Parameters:
Bases:
msrest.serialization.ModelResponse of an Operation status.
Parameters: - code (str or OperationStatusType) – Status Code. Possible values include: ‘Failed’, ‘FAILED’, ‘Success’
- message (str) – Status details.
Bases:
msrest.serialization.ModelResponse when adding a batch of labeled examples.
Parameters: - value (LabelExampleResponse) –
- has_error (bool) –
- error (OperationStatus) –
Bases:
msrest.serialization.ModelResponse containing the Application Info.
Parameters: - id (str) – The ID (GUID) of the application.
- name (str) – The name of the application.
- description (str) – The description of the application.
- culture (str) – The culture of the application. E.g.: en-us.
- usage_scenario (str) – Defines the scenario for the new application. Optional. E.g.: IoT.
- domain (str) – The domain for the new application. Optional. E.g.: Comics.
- versions_count (int) – Amount of model versions within the application.
- created_date_time (str) – The version’s creation timestamp.
- endpoints (object) – The Runtime endpoint URL for this model version.
- endpoint_hits_count (int) – Number of calls made to this endpoint.
- active_version (str) – The version ID currently marked as active.
Bases:
azure.cognitiveservices.language.luis.authoring.models.endpoint_info_py3.EndpointInfoProductionOrStagingEndpointInfo.
Parameters: - version_id (str) – The version ID to publish.
- is_staging (bool) – Indicates if the staging slot should be used, instead of the Production one.
- endpoint_url (str) – The Runtime endpoint URL for this model version.
- region (str) – The target region that the application is published to.
- assigned_endpoint_key (str) – The endpoint key.
- endpoint_region (str) – The endpoint’s region.
- published_date_time (str) – Timestamp when was last published.
Bases:
msrest.serialization.ModelThe base class “ProductionOrStagingEndpointInfo” inherits from.
Parameters: - version_id (str) – The version ID to publish.
- is_staging (bool) – Indicates if the staging slot should be used, instead of the Production one.
- endpoint_url (str) – The Runtime endpoint URL for this model version.
- region (str) – The target region that the application is published to.
- assigned_endpoint_key (str) – The endpoint key.
- endpoint_region (str) – The endpoint’s region.
- published_date_time (str) – Timestamp when was last published.
Bases:
msrest.serialization.ModelAvailable culture for using in a new application.
Parameters:
Bases:
msrest.serialization.ModelThe application settings.
All required parameters must be populated in order to send to Azure.
Parameters:
Bases:
msrest.serialization.ModelThe application publish settings.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The application ID.
- is_sentiment_analysis_enabled (bool) – Required. Setting sentiment analysis as true returns the Sentiment of the input utterance along with the resopnse
- is_speech_enabled (bool) – Required. Setting speech as public enables speech priming in your app
- is_spell_checker_enabled (bool) – Required. Setting spell checker as public enables spell checking the input utterance.
Bases:
msrest.serialization.ModelAvailable Prebuilt entity model for using in an application.
Parameters:
Bases:
msrest.serialization.ModelResponse model when requesting to train the model.
Parameters:
Bases:
msrest.serialization.ModelModel Training Details.
Parameters: - status_id (int) – The train request status ID.
- status (str or enum) – Possible values include: ‘Queued’, ‘InProgress’, ‘UpToDate’, ‘Fail’, ‘Success’
- example_count (int) – The count of examples used to train the model.
- training_date_time (datetime) – When the model was trained.
- failure_reason (str) – Reason for the training failure.
Bases:
msrest.serialization.ModelModel Training Info.
Parameters: - model_id (str) – The ID (GUID) of the model.
- details (ModelTrainingDetails) –
Bases:
msrest.serialization.ModelList of user permissions.
Parameters:
Bases:
msrest.serialization.ModelUserCollaborator.
Parameters: email (str) – The email address of the user.
Bases:
msrest.serialization.ModelCollaboratorsArray.
Parameters: emails (list[str]) – The email address of the users.
Bases:
msrest.serialization.ModelError response when invoking an operation on the API.
Parameters:
Bases:
msrest.serialization.ModelOperation error details when invoking an operation on the API.
Parameters:
Bases:
msrest.serialization.ModelPrebuiltDomainItem.
Parameters:
Bases:
msrest.serialization.ModelPrebuilt Domain.
Parameters: - name (str) –
- culture (str) –
- description (str) –
- examples (str) –
- intents (list[PrebuiltDomainItem]) –
- entities (list[PrebuiltDomainItem]) –
Bases:
msrest.serialization.ModelObject model for creating an entity role.
Parameters: name (str) – The entity role name.
Bases:
msrest.serialization.ModelModel object for creating a regex entity model.
Parameters:
Bases:
msrest.serialization.ModelModel object for creating a Pattern.Any entity model.
Parameters:
Bases:
msrest.serialization.ModelObject model for creating an explicit list item.
Parameters: explicit_list_item (str) – The explicit list item.
Bases:
msrest.serialization.ModelModel object for updating a regex entity model.
Parameters:
Bases:
msrest.serialization.ModelModel object for updating a Pattern.Any entity model.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating an entity role.
Parameters: name (str) – The entity role name.
Bases:
msrest.serialization.ModelModel object for updating an explicit list item.
Parameters: explicit_list_item (str) – The explicit list item.
Bases:
msrest.serialization.ModelObject model for creating a pattern.
Parameters:
Bases:
msrest.serialization.ModelObject model for updating a pattern.
Parameters:
Bases:
msrest.serialization.ModelRegex Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- regex_pattern (str) – The Regex entity pattern.
Bases:
msrest.serialization.ModelPattern.Any Entity Extractor.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The ID of the Entity Model.
- name (str) – Name of the Entity Model.
- type_id (int) – The type ID of the Entity Model.
- readable_type (str or enum) – Required. 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’
- roles (list[EntityRole]) –
- explicit_list (list[ExplicitListItem]) –
Bases:
msrest.serialization.ModelPattern rule.
Parameters:
Bases:
msrest.serialization.ModelAn object containing the example’s text.
Parameters:
Bases:
msrest.serialization.ModelHierarchicalChildModelUpdateObject.
Parameters: name (str) –
Bases:
msrest.serialization.ModelHierarchicalChildModelCreateObject.
Parameters: name (str) –
Bases:
msrest.serialization.ModelCompositeChildModelCreateObject.
Parameters: name (str) –