azure_cognitiveservices_luisauthoring 0.17.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb +122 -60
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +43 -35
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb +32 -21
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/features.rb +161 -18
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/model.rb +766 -452
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +4 -4
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +2 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +4 -4
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +6 -6
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +22 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +11 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +5 -4
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_model.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +11 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +7 -10
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +5 -5
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +8 -11
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +3 -3
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +3 -5
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +5 -5
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +2 -2
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/pattern.rb +50 -34
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb +17 -9
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb +33 -13
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/train.rb +4 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb +37 -20
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring.rb +147 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/apps.rb +2511 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +489 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/examples.rb +519 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/features.rb +914 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +167 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/model.rb +12291 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +106 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +158 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +59 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +47 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +59 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +68 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +68 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +70 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +115 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/child_entity_model_create_object.rb +77 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +85 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +124 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +66 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +55 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +66 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +55 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +47 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +124 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +126 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +125 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +106 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +126 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +93 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +82 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_create_object.rb +66 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +87 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_model_update_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +81 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +79 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +80 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +75 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +92 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +47 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +124 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +118 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model_v2.rb +97 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +89 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +106 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/json_child.rb +98 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/json_model_feature_information.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +81 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +100 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +68 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +77 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +148 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +338 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/luis_app_v2.rb +329 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_feature_information.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +84 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +197 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +91 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/ndepth_entity_extractor.rb +146 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +17 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +84 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +124 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +78 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +68 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +68 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +74 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +99 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +91 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +107 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +119 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +47 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +69 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +58 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +104 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +100 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +71 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +80 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +76 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +115 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +57 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +70 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +46 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +17 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +47 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +177 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +65 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +9 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/pattern.rb +979 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/permissions.rb +435 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/settings.rb +257 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/train.rb +251 -0
- data/lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/versions.rb +1211 -0
- data/lib/azure_cognitiveservices_luisauthoring.rb +1 -0
- data/lib/profiles/latest/modules/luisauthoring_profile_module.rb +283 -263
- data/lib/version.rb +1 -1
- metadata +128 -5
@@ -22,17 +22,14 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
22
22
|
# Phraselist.
|
23
23
|
attr_accessor :words
|
24
24
|
|
25
|
-
# @return [Boolean] An
|
26
|
-
#
|
25
|
+
# @return [Boolean] An interchangeable phrase list feature serves as a
|
26
|
+
# list of synonyms for training. A non-exchangeable phrase list serves as
|
27
|
+
# separate features for training. So, if your non-interchangeable phrase
|
28
|
+
# list contains 5 phrases, they will be mapped to 5 separate features.
|
29
|
+
# You can think of the non-interchangeable phrase list as an additional
|
30
|
+
# bag of words to add to LUIS existing vocabulary features. It is used as
|
27
31
|
# a lexicon lookup feature where its value is 1 if the lexicon contains a
|
28
|
-
# given word or 0 if it doesn’t.
|
29
|
-
# list. A non-exchangeable phrase list feature has all the phrases in the
|
30
|
-
# list serve as separate features to the underlying training algorithm.
|
31
|
-
# So, if you your phrase list feature contains 5 phrases, they will be
|
32
|
-
# mapped to 5 separate features. You can think of the non-exchangeable
|
33
|
-
# phrase list feature as an additional bag of words that you are willing
|
34
|
-
# to add to LUIS existing vocabulary features. Think of a
|
35
|
-
# non-exchangeable as set of different words. Default value is true.
|
32
|
+
# given word or 0 if it doesn’t. Default value is true.
|
36
33
|
attr_accessor :mode
|
37
34
|
|
38
35
|
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
module Azure::CognitiveServices::LuisAuthoring::V2_0
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Response when adding a labeled example.
|
9
|
+
# Response when adding a labeled example utterance.
|
10
10
|
#
|
11
11
|
class LabelExampleResponse
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The
|
15
|
+
# @return [String] The example utterance.
|
16
16
|
attr_accessor :utterance_text
|
17
17
|
|
18
18
|
# @return [Integer] The newly created sample ID.
|
@@ -15,8 +15,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
15
15
|
# @return [Integer] ID of Labeled Utterance.
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
|
-
# @return [String] The utterance.
|
19
|
-
# seattle?
|
18
|
+
# @return [String] The utterance. For example, "What's the weather like
|
19
|
+
# in seattle?"
|
20
20
|
attr_accessor :text
|
21
21
|
|
22
22
|
# @return [Array<String>] The utterance tokenized.
|
@@ -34,7 +34,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
34
34
|
# @return [Array<HierarchicalModel>] List of entities.
|
35
35
|
attr_accessor :entities
|
36
36
|
|
37
|
-
# @return [Array<ClosedList>] List of
|
37
|
+
# @return [Array<ClosedList>] List of list entities.
|
38
38
|
attr_accessor :closed_lists
|
39
39
|
|
40
40
|
# @return [Array<HierarchicalModel>] List of composite entities.
|
@@ -58,7 +58,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
58
58
|
# @return [Array<PatternRule>] List of patterns.
|
59
59
|
attr_accessor :patterns
|
60
60
|
|
61
|
-
# @return [Array<JSONUtterance>] List of
|
61
|
+
# @return [Array<JSONUtterance>] List of example utterances.
|
62
62
|
attr_accessor :utterances
|
63
63
|
|
64
64
|
|
@@ -23,9 +23,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
23
23
|
|
24
24
|
# @return [Enum] Possible values include: 'Entity Extractor',
|
25
25
|
# 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
|
26
|
-
# 'Composite Entity Extractor', '
|
27
|
-
#
|
28
|
-
# 'Regex Entity Extractor'
|
26
|
+
# 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
|
27
|
+
# Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor',
|
28
|
+
# 'Closed List Entity Extractor', 'Regex Entity Extractor'
|
29
29
|
attr_accessor :readable_type
|
30
30
|
|
31
31
|
|
@@ -23,9 +23,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
23
23
|
|
24
24
|
# @return [Enum] Possible values include: 'Entity Extractor',
|
25
25
|
# 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
|
26
|
-
# 'Composite Entity Extractor', '
|
27
|
-
#
|
28
|
-
# 'Regex Entity Extractor'
|
26
|
+
# 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
|
27
|
+
# Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor',
|
28
|
+
# 'Closed List Entity Extractor', 'Regex Entity Extractor'
|
29
29
|
attr_accessor :readable_type
|
30
30
|
|
31
31
|
# @return [Array<EntityRole>]
|
@@ -34,7 +34,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
34
34
|
# @return [Array<ChildEntity>] List of child entities.
|
35
35
|
attr_accessor :children
|
36
36
|
|
37
|
-
# @return [Array<SubClosedListResponse>] List of
|
37
|
+
# @return [Array<SubClosedListResponse>] List of sublists.
|
38
38
|
attr_accessor :sub_lists
|
39
39
|
|
40
40
|
# @return [String] The domain name.
|
@@ -43,7 +43,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
43
43
|
# @return [String] The intent name or entity name.
|
44
44
|
attr_accessor :custom_prebuilt_model_name
|
45
45
|
|
46
|
-
# @return [String] The
|
46
|
+
# @return [String] The Regular Expression entity pattern.
|
47
47
|
attr_accessor :regex_pattern
|
48
48
|
|
49
49
|
# @return [Array<ExplicitListItem>]
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb
CHANGED
@@ -23,9 +23,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
23
23
|
|
24
24
|
# @return [Enum] Possible values include: 'Entity Extractor',
|
25
25
|
# 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
|
26
|
-
# 'Composite Entity Extractor', '
|
27
|
-
#
|
28
|
-
# 'Regex Entity Extractor'
|
26
|
+
# 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
|
27
|
+
# Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor',
|
28
|
+
# 'Closed List Entity Extractor', 'Regex Entity Extractor'
|
29
29
|
attr_accessor :readable_type
|
30
30
|
|
31
31
|
# @return [Array<EntityRole>]
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb
CHANGED
@@ -19,18 +19,15 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
19
19
|
# @return [String] The Phraselist name.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# @return [Boolean] An
|
23
|
-
#
|
22
|
+
# @return [Boolean] An interchangeable phrase list feature serves as a
|
23
|
+
# list of synonyms for training. A non-exchangeable phrase list serves as
|
24
|
+
# separate features for training. So, if your non-interchangeable phrase
|
25
|
+
# list contains 5 phrases, they will be mapped to 5 separate features.
|
26
|
+
# You can think of the non-interchangeable phrase list as an additional
|
27
|
+
# bag of words to add to LUIS existing vocabulary features. It is used as
|
24
28
|
# a lexicon lookup feature where its value is 1 if the lexicon contains a
|
25
|
-
# given word or 0 if it doesn’t.
|
26
|
-
#
|
27
|
-
# list serve as separate features to the underlying training algorithm.
|
28
|
-
# So, if you your phrase list feature contains 5 phrases, they will be
|
29
|
-
# mapped to 5 separate features. You can think of the non-exchangeable
|
30
|
-
# phrase list feature as an additional bag of words that you are willing
|
31
|
-
# to add to LUIS existing vocabulary features. Think of a
|
32
|
-
# non-exchangeable as set of different words. Default value is true.
|
33
|
-
# Default value: true .
|
29
|
+
# given word or 0 if it doesn’t. Default value is true. Default value:
|
30
|
+
# true .
|
34
31
|
attr_accessor :is_exchangeable
|
35
32
|
|
36
33
|
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb
CHANGED
@@ -23,9 +23,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
23
23
|
|
24
24
|
# @return [Enum] Possible values include: 'Entity Extractor',
|
25
25
|
# 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
|
26
|
-
# 'Composite Entity Extractor', '
|
27
|
-
#
|
28
|
-
# 'Regex Entity Extractor'
|
26
|
+
# 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
|
27
|
+
# Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor',
|
28
|
+
# 'Closed List Entity Extractor', 'Regex Entity Extractor'
|
29
29
|
attr_accessor :readable_type
|
30
30
|
|
31
31
|
# @return [Array<EntityRole>]
|
@@ -16,15 +16,13 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
18
|
# @return [Boolean] Setting sentiment analysis as true returns the
|
19
|
-
#
|
19
|
+
# sentiment of the input utterance along with the response
|
20
20
|
attr_accessor :is_sentiment_analysis_enabled
|
21
21
|
|
22
|
-
# @return [Boolean]
|
23
|
-
# your app
|
22
|
+
# @return [Boolean] Enables speech priming in your app
|
24
23
|
attr_accessor :is_speech_enabled
|
25
24
|
|
26
|
-
# @return [Boolean]
|
27
|
-
# checking the input utterance.
|
25
|
+
# @return [Boolean] Enables spell checking of the utterance.
|
28
26
|
attr_accessor :is_spell_checker_enabled
|
29
27
|
|
30
28
|
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::CognitiveServices::LuisAuthoring::V2_0
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Regular Expression Entity Extractor.
|
10
10
|
#
|
11
11
|
class RegexEntityExtractor
|
12
12
|
|
@@ -23,15 +23,15 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
23
23
|
|
24
24
|
# @return [Enum] Possible values include: 'Entity Extractor',
|
25
25
|
# 'Hierarchical Entity Extractor', 'Hierarchical Child Entity Extractor',
|
26
|
-
# 'Composite Entity Extractor', '
|
27
|
-
#
|
28
|
-
# 'Regex Entity Extractor'
|
26
|
+
# 'Composite Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity
|
27
|
+
# Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor',
|
28
|
+
# 'Closed List Entity Extractor', 'Regex Entity Extractor'
|
29
29
|
attr_accessor :readable_type
|
30
30
|
|
31
31
|
# @return [Array<EntityRole>]
|
32
32
|
attr_accessor :roles
|
33
33
|
|
34
|
-
# @return [String] The
|
34
|
+
# @return [String] The Regular Expression entity pattern.
|
35
35
|
attr_accessor :regex_pattern
|
36
36
|
|
37
37
|
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
module Azure::CognitiveServices::LuisAuthoring::V2_0
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Model object for creating a
|
9
|
+
# Model object for creating a regular expression entity model.
|
10
10
|
#
|
11
11
|
class RegexModelCreateObject
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The
|
15
|
+
# @return [String] The regular expression entity pattern.
|
16
16
|
attr_accessor :regex_pattern
|
17
17
|
|
18
18
|
# @return [String] The model name.
|
data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
module Azure::CognitiveServices::LuisAuthoring::V2_0
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Model object for updating a
|
9
|
+
# Model object for updating a regular expression entity model.
|
10
10
|
#
|
11
11
|
class RegexModelUpdateObject
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The
|
15
|
+
# @return [String] The regular expression entity pattern.
|
16
16
|
attr_accessor :regex_pattern
|
17
17
|
|
18
18
|
# @return [String] The model name.
|
@@ -22,7 +22,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
# Adds
|
25
|
+
# Adds a pattern to a version of the application.
|
26
26
|
#
|
27
27
|
# @param app_id The application ID.
|
28
28
|
# @param version_id [String] The version ID.
|
@@ -38,7 +38,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
38
38
|
end
|
39
39
|
|
40
40
|
#
|
41
|
-
# Adds
|
41
|
+
# Adds a pattern to a version of the application.
|
42
42
|
#
|
43
43
|
# @param app_id The application ID.
|
44
44
|
# @param version_id [String] The version ID.
|
@@ -53,7 +53,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
53
53
|
end
|
54
54
|
|
55
55
|
#
|
56
|
-
# Adds
|
56
|
+
# Adds a pattern to a version of the application.
|
57
57
|
#
|
58
58
|
# @param app_id The application ID.
|
59
59
|
# @param version_id [String] The version ID.
|
@@ -106,6 +106,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
106
106
|
end
|
107
107
|
|
108
108
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
109
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
110
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
109
111
|
# Deserialize Response
|
110
112
|
if status_code == 201
|
111
113
|
begin
|
@@ -124,7 +126,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
124
126
|
end
|
125
127
|
|
126
128
|
#
|
127
|
-
#
|
129
|
+
# Gets patterns in a version of the application.
|
128
130
|
#
|
129
131
|
# @param app_id The application ID.
|
130
132
|
# @param version_id [String] The version ID.
|
@@ -136,13 +138,13 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
136
138
|
#
|
137
139
|
# @return [Array] operation results.
|
138
140
|
#
|
139
|
-
def
|
140
|
-
response =
|
141
|
+
def list_patterns(app_id, version_id, skip:0, take:100, custom_headers:nil)
|
142
|
+
response = list_patterns_async(app_id, version_id, skip:skip, take:take, custom_headers:custom_headers).value!
|
141
143
|
response.body unless response.nil?
|
142
144
|
end
|
143
145
|
|
144
146
|
#
|
145
|
-
#
|
147
|
+
# Gets patterns in a version of the application.
|
146
148
|
#
|
147
149
|
# @param app_id The application ID.
|
148
150
|
# @param version_id [String] The version ID.
|
@@ -154,12 +156,12 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
154
156
|
#
|
155
157
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
156
158
|
#
|
157
|
-
def
|
158
|
-
|
159
|
+
def list_patterns_with_http_info(app_id, version_id, skip:0, take:100, custom_headers:nil)
|
160
|
+
list_patterns_async(app_id, version_id, skip:skip, take:take, custom_headers:custom_headers).value!
|
159
161
|
end
|
160
162
|
|
161
163
|
#
|
162
|
-
#
|
164
|
+
# Gets patterns in a version of the application.
|
163
165
|
#
|
164
166
|
# @param app_id The application ID.
|
165
167
|
# @param version_id [String] The version ID.
|
@@ -171,7 +173,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
171
173
|
#
|
172
174
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
173
175
|
#
|
174
|
-
def
|
176
|
+
def list_patterns_async(app_id, version_id, skip:0, take:100, custom_headers:nil)
|
175
177
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
176
178
|
fail ArgumentError, 'app_id is nil' if app_id.nil?
|
177
179
|
fail ArgumentError, 'version_id is nil' if version_id.nil?
|
@@ -210,6 +212,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
210
212
|
end
|
211
213
|
|
212
214
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
215
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
216
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
213
217
|
# Deserialize Response
|
214
218
|
if status_code == 200
|
215
219
|
begin
|
@@ -244,7 +248,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
244
248
|
end
|
245
249
|
|
246
250
|
#
|
247
|
-
# Updates patterns
|
251
|
+
# Updates patterns in a version of the application.
|
248
252
|
#
|
249
253
|
# @param app_id The application ID.
|
250
254
|
# @param version_id [String] The version ID.
|
@@ -261,7 +265,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
261
265
|
end
|
262
266
|
|
263
267
|
#
|
264
|
-
# Updates patterns
|
268
|
+
# Updates patterns in a version of the application.
|
265
269
|
#
|
266
270
|
# @param app_id The application ID.
|
267
271
|
# @param version_id [String] The version ID.
|
@@ -277,7 +281,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
277
281
|
end
|
278
282
|
|
279
283
|
#
|
280
|
-
# Updates patterns
|
284
|
+
# Updates patterns in a version of the application.
|
281
285
|
#
|
282
286
|
# @param app_id The application ID.
|
283
287
|
# @param version_id [String] The version ID.
|
@@ -347,6 +351,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
347
351
|
end
|
348
352
|
|
349
353
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
354
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
355
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
350
356
|
# Deserialize Response
|
351
357
|
if status_code == 200
|
352
358
|
begin
|
@@ -381,7 +387,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
381
387
|
end
|
382
388
|
|
383
389
|
#
|
384
|
-
# Adds a batch of patterns
|
390
|
+
# Adds a batch of patterns in a version of the application.
|
385
391
|
#
|
386
392
|
# @param app_id The application ID.
|
387
393
|
# @param version_id [String] The version ID.
|
@@ -398,7 +404,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
398
404
|
end
|
399
405
|
|
400
406
|
#
|
401
|
-
# Adds a batch of patterns
|
407
|
+
# Adds a batch of patterns in a version of the application.
|
402
408
|
#
|
403
409
|
# @param app_id The application ID.
|
404
410
|
# @param version_id [String] The version ID.
|
@@ -414,7 +420,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
414
420
|
end
|
415
421
|
|
416
422
|
#
|
417
|
-
# Adds a batch of patterns
|
423
|
+
# Adds a batch of patterns in a version of the application.
|
418
424
|
#
|
419
425
|
# @param app_id The application ID.
|
420
426
|
# @param version_id [String] The version ID.
|
@@ -484,6 +490,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
484
490
|
end
|
485
491
|
|
486
492
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
493
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
494
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
487
495
|
# Deserialize Response
|
488
496
|
if status_code == 201
|
489
497
|
begin
|
@@ -518,7 +526,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
518
526
|
end
|
519
527
|
|
520
528
|
#
|
521
|
-
# Deletes
|
529
|
+
# Deletes a list of patterns in a version of the application.
|
522
530
|
#
|
523
531
|
# @param app_id The application ID.
|
524
532
|
# @param version_id [String] The version ID.
|
@@ -534,7 +542,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
534
542
|
end
|
535
543
|
|
536
544
|
#
|
537
|
-
# Deletes
|
545
|
+
# Deletes a list of patterns in a version of the application.
|
538
546
|
#
|
539
547
|
# @param app_id The application ID.
|
540
548
|
# @param version_id [String] The version ID.
|
@@ -549,7 +557,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
549
557
|
end
|
550
558
|
|
551
559
|
#
|
552
|
-
# Deletes
|
560
|
+
# Deletes a list of patterns in a version of the application.
|
553
561
|
#
|
554
562
|
# @param app_id The application ID.
|
555
563
|
# @param version_id [String] The version ID.
|
@@ -617,6 +625,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
617
625
|
end
|
618
626
|
|
619
627
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
628
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
629
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
620
630
|
# Deserialize Response
|
621
631
|
if status_code == 200
|
622
632
|
begin
|
@@ -635,7 +645,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
635
645
|
end
|
636
646
|
|
637
647
|
#
|
638
|
-
# Updates a pattern
|
648
|
+
# Updates a pattern in a version of the application.
|
639
649
|
#
|
640
650
|
# @param app_id The application ID.
|
641
651
|
# @param version_id [String] The version ID.
|
@@ -652,7 +662,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
652
662
|
end
|
653
663
|
|
654
664
|
#
|
655
|
-
# Updates a pattern
|
665
|
+
# Updates a pattern in a version of the application.
|
656
666
|
#
|
657
667
|
# @param app_id The application ID.
|
658
668
|
# @param version_id [String] The version ID.
|
@@ -668,7 +678,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
668
678
|
end
|
669
679
|
|
670
680
|
#
|
671
|
-
# Updates a pattern
|
681
|
+
# Updates a pattern in a version of the application.
|
672
682
|
#
|
673
683
|
# @param app_id The application ID.
|
674
684
|
# @param version_id [String] The version ID.
|
@@ -723,6 +733,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
723
733
|
end
|
724
734
|
|
725
735
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
736
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
737
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
726
738
|
# Deserialize Response
|
727
739
|
if status_code == 200
|
728
740
|
begin
|
@@ -741,7 +753,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
741
753
|
end
|
742
754
|
|
743
755
|
#
|
744
|
-
# Deletes the pattern with the specified ID
|
756
|
+
# Deletes the pattern with the specified ID from a version of the application..
|
745
757
|
#
|
746
758
|
# @param app_id The application ID.
|
747
759
|
# @param version_id [String] The version ID.
|
@@ -757,7 +769,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
757
769
|
end
|
758
770
|
|
759
771
|
#
|
760
|
-
# Deletes the pattern with the specified ID
|
772
|
+
# Deletes the pattern with the specified ID from a version of the application..
|
761
773
|
#
|
762
774
|
# @param app_id The application ID.
|
763
775
|
# @param version_id [String] The version ID.
|
@@ -772,7 +784,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
772
784
|
end
|
773
785
|
|
774
786
|
#
|
775
|
-
# Deletes the pattern with the specified ID
|
787
|
+
# Deletes the pattern with the specified ID from a version of the application..
|
776
788
|
#
|
777
789
|
# @param app_id The application ID.
|
778
790
|
# @param version_id [String] The version ID.
|
@@ -818,6 +830,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
818
830
|
end
|
819
831
|
|
820
832
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
833
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
834
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
821
835
|
# Deserialize Response
|
822
836
|
if status_code == 200
|
823
837
|
begin
|
@@ -836,7 +850,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
836
850
|
end
|
837
851
|
|
838
852
|
#
|
839
|
-
# Returns patterns
|
853
|
+
# Returns patterns for the specific intent in a version of the application.
|
840
854
|
#
|
841
855
|
# @param app_id The application ID.
|
842
856
|
# @param version_id [String] The version ID.
|
@@ -849,13 +863,13 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
849
863
|
#
|
850
864
|
# @return [Array] operation results.
|
851
865
|
#
|
852
|
-
def
|
853
|
-
response =
|
866
|
+
def list_intent_patterns(app_id, version_id, intent_id, skip:0, take:100, custom_headers:nil)
|
867
|
+
response = list_intent_patterns_async(app_id, version_id, intent_id, skip:skip, take:take, custom_headers:custom_headers).value!
|
854
868
|
response.body unless response.nil?
|
855
869
|
end
|
856
870
|
|
857
871
|
#
|
858
|
-
# Returns patterns
|
872
|
+
# Returns patterns for the specific intent in a version of the application.
|
859
873
|
#
|
860
874
|
# @param app_id The application ID.
|
861
875
|
# @param version_id [String] The version ID.
|
@@ -868,12 +882,12 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
868
882
|
#
|
869
883
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
870
884
|
#
|
871
|
-
def
|
872
|
-
|
885
|
+
def list_intent_patterns_with_http_info(app_id, version_id, intent_id, skip:0, take:100, custom_headers:nil)
|
886
|
+
list_intent_patterns_async(app_id, version_id, intent_id, skip:skip, take:take, custom_headers:custom_headers).value!
|
873
887
|
end
|
874
888
|
|
875
889
|
#
|
876
|
-
# Returns patterns
|
890
|
+
# Returns patterns for the specific intent in a version of the application.
|
877
891
|
#
|
878
892
|
# @param app_id The application ID.
|
879
893
|
# @param version_id [String] The version ID.
|
@@ -886,7 +900,7 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
886
900
|
#
|
887
901
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
888
902
|
#
|
889
|
-
def
|
903
|
+
def list_intent_patterns_async(app_id, version_id, intent_id, skip:0, take:100, custom_headers:nil)
|
890
904
|
fail ArgumentError, '@client.endpoint is nil' if @client.endpoint.nil?
|
891
905
|
fail ArgumentError, 'app_id is nil' if app_id.nil?
|
892
906
|
fail ArgumentError, 'version_id is nil' if version_id.nil?
|
@@ -926,6 +940,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
|
|
926
940
|
end
|
927
941
|
|
928
942
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
943
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
944
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
929
945
|
# Deserialize Response
|
930
946
|
if status_code == 200
|
931
947
|
begin
|