azure_cognitiveservices_luisauthoring 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring.rb +142 -0
  4. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb +2212 -0
  5. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +453 -0
  6. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb +508 -0
  7. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/features.rb +668 -0
  8. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +167 -0
  9. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/model.rb +11482 -0
  10. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +57 -0
  11. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +106 -0
  12. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +158 -0
  13. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +59 -0
  14. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +47 -0
  15. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +58 -0
  16. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +57 -0
  17. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +57 -0
  18. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +68 -0
  19. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +68 -0
  20. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +70 -0
  21. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +57 -0
  22. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +85 -0
  23. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +123 -0
  24. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +66 -0
  25. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +55 -0
  26. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +66 -0
  27. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +55 -0
  28. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +47 -0
  29. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +123 -0
  30. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +65 -0
  31. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +125 -0
  32. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +125 -0
  33. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +58 -0
  34. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +106 -0
  35. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +125 -0
  36. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +71 -0
  37. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +71 -0
  38. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +87 -0
  39. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +81 -0
  40. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +57 -0
  41. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +46 -0
  42. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +46 -0
  43. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +65 -0
  44. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +78 -0
  45. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +57 -0
  46. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +46 -0
  47. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +46 -0
  48. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +68 -0
  49. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +75 -0
  50. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +77 -0
  51. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_create_object.rb +47 -0
  52. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +47 -0
  53. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +123 -0
  54. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_model.rb +65 -0
  55. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +97 -0
  56. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +89 -0
  57. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +57 -0
  58. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +106 -0
  59. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +70 -0
  60. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +90 -0
  61. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +68 -0
  62. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +77 -0
  63. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +57 -0
  64. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +57 -0
  65. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +148 -0
  66. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +318 -0
  67. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +46 -0
  68. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +83 -0
  69. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +196 -0
  70. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +91 -0
  71. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +58 -0
  72. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +46 -0
  73. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +57 -0
  74. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +58 -0
  75. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +17 -0
  76. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +84 -0
  77. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +123 -0
  78. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +65 -0
  79. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +65 -0
  80. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_create_object.rb +57 -0
  81. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +70 -0
  82. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +57 -0
  83. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +57 -0
  84. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +68 -0
  85. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +68 -0
  86. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_update_object.rb +70 -0
  87. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +74 -0
  88. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +91 -0
  89. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +81 -0
  90. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +94 -0
  91. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +119 -0
  92. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +47 -0
  93. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +58 -0
  94. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +69 -0
  95. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +58 -0
  96. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +58 -0
  97. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +65 -0
  98. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +103 -0
  99. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +100 -0
  100. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +71 -0
  101. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +82 -0
  102. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +76 -0
  103. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +114 -0
  104. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +57 -0
  105. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +57 -0
  106. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +65 -0
  107. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +70 -0
  108. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +46 -0
  109. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +17 -0
  110. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +65 -0
  111. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +47 -0
  112. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +177 -0
  113. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +65 -0
  114. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +65 -0
  115. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +9 -0
  116. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/pattern.rb +963 -0
  117. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb +427 -0
  118. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb +237 -0
  119. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/train.rb +247 -0
  120. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb +854 -0
  121. data/lib/azure_cognitiveservices_luisauthoring.rb +6 -0
  122. data/lib/module_definition.rb +7 -0
  123. data/lib/profiles/latest/luisauthoring_latest_profile_client.rb +38 -0
  124. data/lib/profiles/latest/luisauthoring_module_definition.rb +8 -0
  125. data/lib/profiles/latest/modules/luisauthoring_profile_module.rb +497 -0
  126. data/lib/version.rb +7 -0
  127. metadata +244 -0
@@ -0,0 +1,70 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Object model for updating an existing Pattern feature.
10
+ #
11
+ class PatternUpdateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Regular Expression to match.
16
+ attr_accessor :pattern
17
+
18
+ # @return [String] Name of the feature.
19
+ attr_accessor :name
20
+
21
+ # @return [Boolean] Indicates if the Pattern feature is enabled. Default
22
+ # value: true .
23
+ attr_accessor :is_active
24
+
25
+
26
+ #
27
+ # Mapper for PatternUpdateObject class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'PatternUpdateObject',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'PatternUpdateObject',
38
+ model_properties: {
39
+ pattern: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'pattern',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'name',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ is_active: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'isActive',
59
+ default_value: true,
60
+ type: {
61
+ name: 'Boolean'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Response containing user's endpoint keys and the endpoint URLs of the
10
+ # prebuilt Cortana applications.
11
+ #
12
+ class PersonalAssistantsResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return
17
+ attr_accessor :endpoint_keys
18
+
19
+ # @return [Hash{String => String}]
20
+ attr_accessor :endpoint_urls
21
+
22
+
23
+ #
24
+ # Mapper for PersonalAssistantsResponse class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'PersonalAssistantsResponse',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'PersonalAssistantsResponse',
35
+ model_properties: {
36
+ endpoint_keys: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'endpointKeys',
40
+ type: {
41
+ name: 'Sequence',
42
+ element: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'UuidElementType',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ },
52
+ endpoint_urls: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'endpointUrls',
56
+ type: {
57
+ name: 'Dictionary',
58
+ value: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'StringElementType',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,91 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Phraselist Feature.
10
+ #
11
+ class PhraseListFeatureInfo < FeatureInfoObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] A list of comma-separated values.
16
+ attr_accessor :phrases
17
+
18
+ # @return [Boolean] An exchangeable phrase list feature are serves as
19
+ # single feature to the LUIS underlying training algorithm. It is used as
20
+ # a lexicon lookup feature where its value is 1 if the lexicon contains a
21
+ # given word or 0 if it doesn’t. Think of an exchangeable as a synonyms
22
+ # list. A non-exchangeable phrase list feature has all the phrases in the
23
+ # list serve as separate features to the underlying training algorithm.
24
+ # So, if you your phrase list feature contains 5 phrases, they will be
25
+ # mapped to 5 separate features. You can think of the non-exchangeable
26
+ # phrase list feature as an additional bag of words that you are willing
27
+ # to add to LUIS existing vocabulary features. Think of a
28
+ # non-exchangeable as set of different words. Default value is true.
29
+ attr_accessor :is_exchangeable
30
+
31
+
32
+ #
33
+ # Mapper for PhraseListFeatureInfo class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'PhraseListFeatureInfo',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'PhraseListFeatureInfo',
44
+ model_properties: {
45
+ id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'Number'
51
+ }
52
+ },
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ is_active: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'isActive',
65
+ type: {
66
+ name: 'Boolean'
67
+ }
68
+ },
69
+ phrases: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'phrases',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ is_exchangeable: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'isExchangeable',
81
+ type: {
82
+ name: 'Boolean'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,81 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Object model for creating a phraselist model.
10
+ #
11
+ class PhraselistCreateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] List of comma-separated phrases that represent the
16
+ # Phraselist.
17
+ attr_accessor :phrases
18
+
19
+ # @return [String] The Phraselist name.
20
+ attr_accessor :name
21
+
22
+ # @return [Boolean] An exchangeable phrase list feature are serves as
23
+ # single feature to the LUIS underlying training algorithm. It is used as
24
+ # a lexicon lookup feature where its value is 1 if the lexicon contains a
25
+ # given word or 0 if it doesn’t. Think of an exchangeable as a synonyms
26
+ # list. A non-exchangeable phrase list feature has all the phrases in the
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 .
34
+ attr_accessor :is_exchangeable
35
+
36
+
37
+ #
38
+ # Mapper for PhraselistCreateObject class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'PhraselistCreateObject',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'PhraselistCreateObject',
49
+ model_properties: {
50
+ phrases: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'phrases',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ name: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ is_exchangeable: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'isExchangeable',
70
+ default_value: true,
71
+ type: {
72
+ name: 'Boolean'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,94 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Object model for updating a Phraselist.
10
+ #
11
+ class PhraselistUpdateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] List of comma-separated phrases that represent the
16
+ # Phraselist.
17
+ attr_accessor :phrases
18
+
19
+ # @return [String] The Phraselist name.
20
+ attr_accessor :name
21
+
22
+ # @return [Boolean] Indicates if the Phraselist is enabled. Default
23
+ # value: true .
24
+ attr_accessor :is_active
25
+
26
+ # @return [Boolean] An exchangeable phrase list feature are serves as
27
+ # single feature to the LUIS underlying training algorithm. It is used as
28
+ # a lexicon lookup feature where its value is 1 if the lexicon contains a
29
+ # given word or 0 if it doesn’t. Think of an exchangeable as a synonyms
30
+ # list. A non-exchangeable phrase list feature has all the phrases in the
31
+ # list serve as separate features to the underlying training algorithm.
32
+ # So, if you your phrase list feature contains 5 phrases, they will be
33
+ # mapped to 5 separate features. You can think of the non-exchangeable
34
+ # phrase list feature as an additional bag of words that you are willing
35
+ # to add to LUIS existing vocabulary features. Think of a
36
+ # non-exchangeable as set of different words. Default value is true.
37
+ # Default value: true .
38
+ attr_accessor :is_exchangeable
39
+
40
+
41
+ #
42
+ # Mapper for PhraselistUpdateObject class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'PhraselistUpdateObject',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'PhraselistUpdateObject',
53
+ model_properties: {
54
+ phrases: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'phrases',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ name: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ is_active: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'isActive',
74
+ default_value: true,
75
+ type: {
76
+ name: 'Boolean'
77
+ }
78
+ },
79
+ is_exchangeable: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'isExchangeable',
83
+ default_value: true,
84
+ type: {
85
+ name: 'Boolean'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,119 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Prebuilt Domain.
10
+ #
11
+ class PrebuiltDomain
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :name
17
+
18
+ # @return [String]
19
+ attr_accessor :culture
20
+
21
+ # @return [String]
22
+ attr_accessor :description
23
+
24
+ # @return [String]
25
+ attr_accessor :examples
26
+
27
+ # @return [Array<PrebuiltDomainItem>]
28
+ attr_accessor :intents
29
+
30
+ # @return [Array<PrebuiltDomainItem>]
31
+ attr_accessor :entities
32
+
33
+
34
+ #
35
+ # Mapper for PrebuiltDomain class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'PrebuiltDomain',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'PrebuiltDomain',
46
+ model_properties: {
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'name',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ culture: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'culture',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ description: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'description',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ examples: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'examples',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ intents: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'intents',
83
+ type: {
84
+ name: 'Sequence',
85
+ element: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'PrebuiltDomainItemElementType',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'PrebuiltDomainItem'
92
+ }
93
+ }
94
+ }
95
+ },
96
+ entities: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'entities',
100
+ type: {
101
+ name: 'Sequence',
102
+ element: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'PrebuiltDomainItemElementType',
106
+ type: {
107
+ name: 'Composite',
108
+ class_name: 'PrebuiltDomainItem'
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ end
117
+ end
118
+ end
119
+ end