azure_cognitiveservices_luisauthoring 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring.rb +142 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb +2212 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +453 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb +508 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/features.rb +668 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +167 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/model.rb +11482 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +106 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +158 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +59 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +70 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +85 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +123 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +66 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +55 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +66 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +55 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +123 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +125 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +125 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +106 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +125 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +71 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +71 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +87 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +81 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +78 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +75 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +77 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_create_object.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +123 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_model.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +97 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +89 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +106 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +70 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +90 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +77 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +148 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +318 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +83 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +196 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +91 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +17 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +84 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +123 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_create_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +70 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +68 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_update_object.rb +70 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +74 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +91 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +81 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +94 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +119 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +69 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +58 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +103 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +100 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +71 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +82 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +76 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +114 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +57 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +70 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +46 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +17 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +47 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +177 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +65 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +9 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/pattern.rb +963 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb +427 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb +237 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/train.rb +247 -0
- data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb +854 -0
- data/lib/azure_cognitiveservices_luisauthoring.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/luisauthoring_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/luisauthoring_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/luisauthoring_profile_module.rb +497 -0
- data/lib/version.rb +7 -0
- metadata +244 -0
@@ -0,0 +1,77 @@
|
|
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
|
+
# Exported Model - Utterance that was used to train the model.
|
10
|
+
#
|
11
|
+
class JSONUtterance
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The utterance.
|
16
|
+
attr_accessor :text
|
17
|
+
|
18
|
+
# @return [String] The matched intent.
|
19
|
+
attr_accessor :intent
|
20
|
+
|
21
|
+
# @return [Array<JSONEntity>] The matched entities.
|
22
|
+
attr_accessor :entities
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for JSONUtterance class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'JSONUtterance',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'JSONUtterance',
|
37
|
+
model_properties: {
|
38
|
+
text: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'text',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
intent: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'intent',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
entities: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'entities',
|
58
|
+
type: {
|
59
|
+
name: 'Sequence',
|
60
|
+
element: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'JSONEntityElementType',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'JSONEntity'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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 when adding a labeled example.
|
10
|
+
#
|
11
|
+
class LabelExampleResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The sample's utterance.
|
16
|
+
attr_accessor :utterance_text
|
17
|
+
|
18
|
+
# @return [Integer] The newly created sample ID.
|
19
|
+
attr_accessor :example_id
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for LabelExampleResponse class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'LabelExampleResponse',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'LabelExampleResponse',
|
34
|
+
model_properties: {
|
35
|
+
utterance_text: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'UtteranceText',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
example_id: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'ExampleId',
|
47
|
+
type: {
|
48
|
+
name: 'Number'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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
|
+
# An object containing the example's text.
|
10
|
+
#
|
11
|
+
class LabelTextObject
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The ID of the Label.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The text of the label.
|
19
|
+
attr_accessor :text
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for LabelTextObject class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'LabelTextObject',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'LabelTextObject',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'id',
|
39
|
+
type: {
|
40
|
+
name: 'Number'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
text: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'text',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,148 @@
|
|
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
|
+
# A prediction and label pair of an example.
|
10
|
+
#
|
11
|
+
class LabeledUtterance
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] ID of Labeled Utterance.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The utterance. E.g.: what's the weather like in
|
19
|
+
# seattle?
|
20
|
+
attr_accessor :text
|
21
|
+
|
22
|
+
# @return [Array<String>] The utterance tokenized.
|
23
|
+
attr_accessor :tokenized_text
|
24
|
+
|
25
|
+
# @return [String] The intent matching the example.
|
26
|
+
attr_accessor :intent_label
|
27
|
+
|
28
|
+
# @return [Array<EntityLabel>] The entities matching the example.
|
29
|
+
attr_accessor :entity_labels
|
30
|
+
|
31
|
+
# @return [Array<IntentPrediction>] List of suggested intents.
|
32
|
+
attr_accessor :intent_predictions
|
33
|
+
|
34
|
+
# @return [Array<EntityPrediction>] List of suggested entities.
|
35
|
+
attr_accessor :entity_predictions
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for LabeledUtterance class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'LabeledUtterance',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'LabeledUtterance',
|
50
|
+
model_properties: {
|
51
|
+
id: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'Number'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
text: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'text',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
tokenized_text: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'tokenizedText',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
intent_label: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'intentLabel',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
entity_labels: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'entityLabels',
|
95
|
+
type: {
|
96
|
+
name: 'Sequence',
|
97
|
+
element: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'EntityLabelElementType',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'EntityLabel'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
intent_predictions: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'intentPredictions',
|
112
|
+
type: {
|
113
|
+
name: 'Sequence',
|
114
|
+
element: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'IntentPredictionElementType',
|
118
|
+
type: {
|
119
|
+
name: 'Composite',
|
120
|
+
class_name: 'IntentPrediction'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
entity_predictions: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'entityPredictions',
|
129
|
+
type: {
|
130
|
+
name: 'Sequence',
|
131
|
+
element: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'EntityPredictionElementType',
|
135
|
+
type: {
|
136
|
+
name: 'Composite',
|
137
|
+
class_name: 'EntityPrediction'
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
@@ -0,0 +1,318 @@
|
|
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
|
+
# Exported Model - An exported LUIS Application.
|
10
|
+
#
|
11
|
+
class LuisApp
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return Unmatched properties from the message are deserialized this
|
16
|
+
# collection
|
17
|
+
attr_accessor :additional_properties
|
18
|
+
|
19
|
+
# @return [String] The name of the application.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] The version ID of the application that was exported.
|
23
|
+
attr_accessor :version_id
|
24
|
+
|
25
|
+
# @return [String] The description of the application.
|
26
|
+
attr_accessor :desc
|
27
|
+
|
28
|
+
# @return [String] The culture of the application. E.g.: en-us.
|
29
|
+
attr_accessor :culture
|
30
|
+
|
31
|
+
# @return [Array<HierarchicalModel>] List of intents.
|
32
|
+
attr_accessor :intents
|
33
|
+
|
34
|
+
# @return [Array<HierarchicalModel>] List of entities.
|
35
|
+
attr_accessor :entities
|
36
|
+
|
37
|
+
# @return [Array<ClosedList>] List of closed lists.
|
38
|
+
attr_accessor :closed_lists
|
39
|
+
|
40
|
+
# @return [Array<HierarchicalModel>] List of composite entities.
|
41
|
+
attr_accessor :composites
|
42
|
+
|
43
|
+
# @return [Array<PatternAny>] List of Pattern.Any entities.
|
44
|
+
attr_accessor :pattern_any_entities
|
45
|
+
|
46
|
+
# @return [Array<RegexEntity>] List of regular expression entities.
|
47
|
+
attr_accessor :regex_entities
|
48
|
+
|
49
|
+
# @return [Array<PrebuiltEntity>] List of prebuilt entities.
|
50
|
+
attr_accessor :prebuilt_entities
|
51
|
+
|
52
|
+
# @return [Array<JSONRegexFeature>] List of pattern features.
|
53
|
+
attr_accessor :regex_features
|
54
|
+
|
55
|
+
# @return [Array<JSONModelFeature>] List of model features.
|
56
|
+
attr_accessor :model_features
|
57
|
+
|
58
|
+
# @return [Array<PatternRule>] List of patterns.
|
59
|
+
attr_accessor :patterns
|
60
|
+
|
61
|
+
# @return [Array<JSONUtterance>] List of sample utterances.
|
62
|
+
attr_accessor :utterances
|
63
|
+
|
64
|
+
|
65
|
+
#
|
66
|
+
# Mapper for LuisApp class as Ruby Hash.
|
67
|
+
# This will be used for serialization/deserialization.
|
68
|
+
#
|
69
|
+
def self.mapper()
|
70
|
+
{
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'LuisApp',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'LuisApp',
|
77
|
+
model_properties: {
|
78
|
+
additional_properties: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
type: {
|
82
|
+
name: 'Dictionary',
|
83
|
+
value: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'ObjectElementType',
|
87
|
+
type: {
|
88
|
+
name: 'Object'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
name: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'name',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
version_id: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'versionId',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
desc: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'desc',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
culture: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'culture',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
intents: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'intents',
|
129
|
+
type: {
|
130
|
+
name: 'Sequence',
|
131
|
+
element: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'HierarchicalModelElementType',
|
135
|
+
type: {
|
136
|
+
name: 'Composite',
|
137
|
+
class_name: 'HierarchicalModel'
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
},
|
142
|
+
entities: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'entities',
|
146
|
+
type: {
|
147
|
+
name: 'Sequence',
|
148
|
+
element: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'HierarchicalModelElementType',
|
152
|
+
type: {
|
153
|
+
name: 'Composite',
|
154
|
+
class_name: 'HierarchicalModel'
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
},
|
159
|
+
closed_lists: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: false,
|
162
|
+
serialized_name: 'closedLists',
|
163
|
+
type: {
|
164
|
+
name: 'Sequence',
|
165
|
+
element: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'ClosedListElementType',
|
169
|
+
type: {
|
170
|
+
name: 'Composite',
|
171
|
+
class_name: 'ClosedList'
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
},
|
176
|
+
composites: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
serialized_name: 'composites',
|
180
|
+
type: {
|
181
|
+
name: 'Sequence',
|
182
|
+
element: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'HierarchicalModelElementType',
|
186
|
+
type: {
|
187
|
+
name: 'Composite',
|
188
|
+
class_name: 'HierarchicalModel'
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
},
|
193
|
+
pattern_any_entities: {
|
194
|
+
client_side_validation: true,
|
195
|
+
required: false,
|
196
|
+
serialized_name: 'patternAnyEntities',
|
197
|
+
type: {
|
198
|
+
name: 'Sequence',
|
199
|
+
element: {
|
200
|
+
client_side_validation: true,
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'PatternAnyElementType',
|
203
|
+
type: {
|
204
|
+
name: 'Composite',
|
205
|
+
class_name: 'PatternAny'
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
},
|
210
|
+
regex_entities: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
serialized_name: 'regex_entities',
|
214
|
+
type: {
|
215
|
+
name: 'Sequence',
|
216
|
+
element: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
serialized_name: 'RegexEntityElementType',
|
220
|
+
type: {
|
221
|
+
name: 'Composite',
|
222
|
+
class_name: 'RegexEntity'
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
},
|
227
|
+
prebuilt_entities: {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
serialized_name: 'prebuiltEntities',
|
231
|
+
type: {
|
232
|
+
name: 'Sequence',
|
233
|
+
element: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'PrebuiltEntityElementType',
|
237
|
+
type: {
|
238
|
+
name: 'Composite',
|
239
|
+
class_name: 'PrebuiltEntity'
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
},
|
244
|
+
regex_features: {
|
245
|
+
client_side_validation: true,
|
246
|
+
required: false,
|
247
|
+
serialized_name: 'regex_features',
|
248
|
+
type: {
|
249
|
+
name: 'Sequence',
|
250
|
+
element: {
|
251
|
+
client_side_validation: true,
|
252
|
+
required: false,
|
253
|
+
serialized_name: 'JSONRegexFeatureElementType',
|
254
|
+
type: {
|
255
|
+
name: 'Composite',
|
256
|
+
class_name: 'JSONRegexFeature'
|
257
|
+
}
|
258
|
+
}
|
259
|
+
}
|
260
|
+
},
|
261
|
+
model_features: {
|
262
|
+
client_side_validation: true,
|
263
|
+
required: false,
|
264
|
+
serialized_name: 'model_features',
|
265
|
+
type: {
|
266
|
+
name: 'Sequence',
|
267
|
+
element: {
|
268
|
+
client_side_validation: true,
|
269
|
+
required: false,
|
270
|
+
serialized_name: 'JSONModelFeatureElementType',
|
271
|
+
type: {
|
272
|
+
name: 'Composite',
|
273
|
+
class_name: 'JSONModelFeature'
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
},
|
278
|
+
patterns: {
|
279
|
+
client_side_validation: true,
|
280
|
+
required: false,
|
281
|
+
serialized_name: 'patterns',
|
282
|
+
type: {
|
283
|
+
name: 'Sequence',
|
284
|
+
element: {
|
285
|
+
client_side_validation: true,
|
286
|
+
required: false,
|
287
|
+
serialized_name: 'PatternRuleElementType',
|
288
|
+
type: {
|
289
|
+
name: 'Composite',
|
290
|
+
class_name: 'PatternRule'
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
},
|
295
|
+
utterances: {
|
296
|
+
client_side_validation: true,
|
297
|
+
required: false,
|
298
|
+
serialized_name: 'utterances',
|
299
|
+
type: {
|
300
|
+
name: 'Sequence',
|
301
|
+
element: {
|
302
|
+
client_side_validation: true,
|
303
|
+
required: false,
|
304
|
+
serialized_name: 'JSONUtteranceElementType',
|
305
|
+
type: {
|
306
|
+
name: 'Composite',
|
307
|
+
class_name: 'JSONUtterance'
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
}
|
315
|
+
end
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|