azure_sdk 0.31.0 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b02c4573a687b9391951613002b708a03c5e25f131f4a60fbbb399805a0fc08
|
|
4
|
+
data.tar.gz: e11071c89fdb0b1086004d1e17f71feb2c1c0a5f93abdd49e79dc10d69c190b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1b1a0149dbc7069f8b4ff74059f16c3cf1bd37ff1525fe68b4a5d4f5140675f89315e0d184048883ebf02bed2b29ed04d40c6face6da6b800a079da6f0e751e
|
|
7
|
+
data.tar.gz: '0864fdb49460dcc1c002536255b53221e56d91f61678c88c4e7a48f5a1998fd495ea759c7603387b4d593a9813f43b5d7aed76b9a3d4b3414b6bb84f4014fd1b'
|
data/lib/azure_sdk/version.rb
CHANGED
|
@@ -115,6 +115,7 @@ require 'latest/modules/luisauthoring_profile_module'
|
|
|
115
115
|
require 'latest/modules/newssearch_profile_module'
|
|
116
116
|
require 'latest/modules/personalizer_profile_module'
|
|
117
117
|
require 'latest/modules/qnamaker_profile_module'
|
|
118
|
+
require 'latest/modules/qnamakerruntime_profile_module'
|
|
118
119
|
require 'latest/modules/spellcheck_profile_module'
|
|
119
120
|
require 'latest/modules/textanalytics_profile_module'
|
|
120
121
|
require 'latest/modules/videosearch_profile_module'
|
|
@@ -128,7 +129,7 @@ module Azure::Profiles::Latest
|
|
|
128
129
|
class Client
|
|
129
130
|
include MsRestAzure::Common::Configurable
|
|
130
131
|
|
|
131
|
-
attr_reader :adhybrid_health_service, :advisor, :alerts_management, :analysis_services, :api_management, :appconfiguration, :authorization, :automation, :azure_stack, :batch, :batch_ai, :billing, :bot_service, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :cost_management, :customer_insights, :data_box, :data_lake_analytics, :data_lake_store, :data_migration, :data_factory, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :migrate, :mixed_reality, :monitor, :managed_service_identity, :mysql, :net_app, :network, :notification_hubs, :operational_insights, :operations_management, :policy, :policy_insights, :postgresql, :power_bi_embedded, :power_bi_dedicated, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :personalizer, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
|
132
|
+
attr_reader :adhybrid_health_service, :advisor, :alerts_management, :analysis_services, :api_management, :appconfiguration, :authorization, :automation, :azure_stack, :batch, :batch_ai, :billing, :bot_service, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :cost_management, :customer_insights, :data_box, :data_lake_analytics, :data_lake_store, :data_migration, :data_factory, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :migrate, :mixed_reality, :monitor, :managed_service_identity, :mysql, :net_app, :network, :notification_hubs, :operational_insights, :operations_management, :policy, :policy_insights, :postgresql, :power_bi_embedded, :power_bi_dedicated, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :personalizer, :qnamaker, :qnamaker_runtime, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
|
132
133
|
|
|
133
134
|
#
|
|
134
135
|
# Initializes a new instance of the Client class.
|
|
@@ -272,6 +273,7 @@ module Azure::Profiles::Latest
|
|
|
272
273
|
@news_search = NewsSearchAdapter.new(self, base_url, sdk_options)
|
|
273
274
|
@personalizer = PersonalizerAdapter.new(self, base_url, sdk_options)
|
|
274
275
|
@qnamaker = QnamakerAdapter.new(self, base_url, sdk_options)
|
|
276
|
+
@qnamaker_runtime = QnamakerRuntimeAdapter.new(self, base_url, sdk_options)
|
|
275
277
|
@spell_check = SpellCheckAdapter.new(self, base_url, sdk_options)
|
|
276
278
|
@text_analytics = TextAnalyticsAdapter.new(self, base_url, sdk_options)
|
|
277
279
|
@video_search = VideoSearchAdapter.new(self, base_url, sdk_options)
|
|
@@ -1159,6 +1161,13 @@ module Azure::Profiles::Latest
|
|
|
1159
1161
|
end
|
|
1160
1162
|
end
|
|
1161
1163
|
|
|
1164
|
+
class QnamakerRuntimeAdapter < Azure::Profiles::Latest::QnamakerRuntime::QnamakerRuntimeDataClass
|
|
1165
|
+
|
|
1166
|
+
def initialize(context, base_url, options)
|
|
1167
|
+
super(context)
|
|
1168
|
+
end
|
|
1169
|
+
end
|
|
1170
|
+
|
|
1162
1171
|
class SpellCheckAdapter < Azure::Profiles::Latest::SpellCheck::SpellCheckDataClass
|
|
1163
1172
|
|
|
1164
1173
|
def initialize(context, base_url, options)
|
|
@@ -6,40 +6,50 @@ require 'azure_cognitiveservices_qnamaker'
|
|
|
6
6
|
|
|
7
7
|
module Azure::Profiles::Latest
|
|
8
8
|
module Qnamaker
|
|
9
|
+
EndpointSettings = Azure::CognitiveServices::Qnamaker::V4_0::EndpointSettings
|
|
9
10
|
EndpointKeys = Azure::CognitiveServices::Qnamaker::V4_0::EndpointKeys
|
|
10
11
|
Alterations = Azure::CognitiveServices::Qnamaker::V4_0::Alterations
|
|
11
12
|
Knowledgebase = Azure::CognitiveServices::Qnamaker::V4_0::Knowledgebase
|
|
12
13
|
Operations = Azure::CognitiveServices::Qnamaker::V4_0::Operations
|
|
13
14
|
|
|
14
15
|
module Models
|
|
16
|
+
FileDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
|
15
17
|
CreateKbInputDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
|
16
18
|
DeleteKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
|
17
|
-
|
|
19
|
+
EndpointSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
|
18
20
|
EndpointKeysDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
|
21
|
+
QnADTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
|
22
|
+
AlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
|
22
23
|
UpdateQnaDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
|
23
|
-
|
|
24
|
+
Operation = Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
|
24
25
|
UpdateQuestionsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
|
25
|
-
|
|
26
|
+
KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
|
26
27
|
UpdateMetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
|
27
|
-
|
|
28
|
+
QnADocumentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
|
29
|
+
PromptDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
|
30
|
+
CreateKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
|
28
31
|
UpdateKbOperationDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
|
29
|
-
|
|
32
|
+
ReplaceKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
|
30
33
|
UpdateKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
|
34
|
+
ContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
|
35
|
+
ActiveLearningSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
|
36
|
+
KnowledgebaseDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
|
37
|
+
WordAlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
|
31
38
|
ErrorResponse = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
|
39
|
+
UpdateContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
|
32
40
|
InnerErrorModel = Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
|
33
41
|
MetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::MetadataDTO
|
|
34
42
|
Error = Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
|
35
|
-
AlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
|
36
|
-
Operation = Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
|
37
43
|
UpdateKbOperationDTOAdd = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
|
38
44
|
UpdateKbOperationDTODelete = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete
|
|
39
45
|
UpdateKbOperationDTOUpdate = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate
|
|
40
46
|
UpdateQnaDTOQuestions = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
|
|
41
47
|
UpdateQnaDTOMetadata = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
|
48
|
+
UpdateQnaDTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
|
49
|
+
PromptDTOQna = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
|
50
|
+
QnADTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
|
42
51
|
ErrorResponseError = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
|
52
|
+
EndpointSettingsDTOActiveLearning = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
|
43
53
|
KnowledgebaseEnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
|
44
54
|
ErrorCodeType = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType
|
|
45
55
|
OperationStateType = Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType
|
|
@@ -47,7 +57,7 @@ module Azure::Profiles::Latest
|
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
class QnamakerDataClass
|
|
50
|
-
attr_reader :endpoint_keys, :alterations, :knowledgebase, :operations, :configurable, :base_url, :options, :model_classes
|
|
60
|
+
attr_reader :endpoint_settings, :endpoint_keys, :alterations, :knowledgebase, :operations, :configurable, :base_url, :options, :model_classes
|
|
51
61
|
|
|
52
62
|
def initialize(configurable, base_url=nil, options=nil)
|
|
53
63
|
@configurable, @base_url, @options = configurable, base_url, options
|
|
@@ -57,6 +67,7 @@ module Azure::Profiles::Latest
|
|
|
57
67
|
@client_0.subscription_id = configurable.subscription_id
|
|
58
68
|
end
|
|
59
69
|
add_telemetry(@client_0)
|
|
70
|
+
@endpoint_settings = @client_0.endpoint_settings
|
|
60
71
|
@endpoint_keys = @client_0.endpoint_keys
|
|
61
72
|
@alterations = @client_0.alterations
|
|
62
73
|
@knowledgebase = @client_0.knowledgebase
|
|
@@ -79,57 +90,78 @@ module Azure::Profiles::Latest
|
|
|
79
90
|
end
|
|
80
91
|
|
|
81
92
|
class ModelClasses
|
|
93
|
+
def file_dto
|
|
94
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
|
95
|
+
end
|
|
82
96
|
def create_kb_input_dto
|
|
83
97
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
|
84
98
|
end
|
|
85
99
|
def delete_kb_contents_dto
|
|
86
100
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
|
87
101
|
end
|
|
88
|
-
def
|
|
89
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
102
|
+
def endpoint_settings_dto
|
|
103
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
|
90
104
|
end
|
|
91
105
|
def endpoint_keys_dto
|
|
92
106
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
|
93
107
|
end
|
|
94
|
-
def
|
|
95
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
108
|
+
def qn_adto
|
|
109
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
|
96
110
|
end
|
|
97
|
-
def
|
|
98
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
111
|
+
def alterations_dto
|
|
112
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
|
113
|
+
end
|
|
114
|
+
def update_qna_dto
|
|
115
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
|
116
|
+
end
|
|
117
|
+
def operation
|
|
118
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
|
119
|
+
end
|
|
120
|
+
def update_questions_dto
|
|
121
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
|
99
122
|
end
|
|
100
123
|
def knowledgebases_dto
|
|
101
124
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
|
102
125
|
end
|
|
103
|
-
def
|
|
104
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
126
|
+
def update_metadata_dto
|
|
127
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
|
105
128
|
end
|
|
106
129
|
def qn_adocuments_dto
|
|
107
130
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
|
108
131
|
end
|
|
109
|
-
def
|
|
110
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
132
|
+
def prompt_dto
|
|
133
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
|
111
134
|
end
|
|
112
135
|
def create_kb_dto
|
|
113
136
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
|
114
137
|
end
|
|
115
|
-
def
|
|
116
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
138
|
+
def update_kb_operation_dto
|
|
139
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
|
117
140
|
end
|
|
118
141
|
def replace_kb_dto
|
|
119
142
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
|
120
143
|
end
|
|
121
|
-
def
|
|
122
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
144
|
+
def update_kb_contents_dto
|
|
145
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
|
146
|
+
end
|
|
147
|
+
def context_dto
|
|
148
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
|
149
|
+
end
|
|
150
|
+
def active_learning_settings_dto
|
|
151
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
|
123
152
|
end
|
|
124
153
|
def knowledgebase_dto
|
|
125
154
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
|
126
155
|
end
|
|
127
|
-
def
|
|
128
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::
|
|
156
|
+
def word_alterations_dto
|
|
157
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
|
129
158
|
end
|
|
130
159
|
def error_response
|
|
131
160
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
|
132
161
|
end
|
|
162
|
+
def update_context_dto
|
|
163
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
|
164
|
+
end
|
|
133
165
|
def inner_error_model
|
|
134
166
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
|
135
167
|
end
|
|
@@ -139,12 +171,6 @@ module Azure::Profiles::Latest
|
|
|
139
171
|
def error
|
|
140
172
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
|
141
173
|
end
|
|
142
|
-
def alterations_dto
|
|
143
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
|
144
|
-
end
|
|
145
|
-
def operation
|
|
146
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
|
147
|
-
end
|
|
148
174
|
def update_kb_operation_dtoadd
|
|
149
175
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
|
150
176
|
end
|
|
@@ -160,9 +186,21 @@ module Azure::Profiles::Latest
|
|
|
160
186
|
def update_qna_dtometadata
|
|
161
187
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
|
162
188
|
end
|
|
189
|
+
def update_qna_dtocontext
|
|
190
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
|
191
|
+
end
|
|
192
|
+
def prompt_dtoqna
|
|
193
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
|
194
|
+
end
|
|
195
|
+
def qn_adtocontext
|
|
196
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
|
197
|
+
end
|
|
163
198
|
def error_response_error
|
|
164
199
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
|
165
200
|
end
|
|
201
|
+
def endpoint_settings_dtoactive_learning
|
|
202
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
|
203
|
+
end
|
|
166
204
|
def knowledgebase_environment_type
|
|
167
205
|
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
|
168
206
|
end
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
|
|
5
|
+
require 'azure_cognitiveservices_qnamakerruntime'
|
|
6
|
+
|
|
7
|
+
module Azure::Profiles::Latest
|
|
8
|
+
module QnamakerRuntime
|
|
9
|
+
Runtime = Azure::CognitiveServices::QnamakerRuntime::V4_0::Runtime
|
|
10
|
+
|
|
11
|
+
module Models
|
|
12
|
+
Error = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
|
13
|
+
MetadataDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
|
14
|
+
ErrorResponse = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
|
15
|
+
InnerErrorModel = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
|
16
|
+
FeedbackRecordDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
|
17
|
+
QnASearchResult = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
|
18
|
+
ContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
|
19
|
+
QnADTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
|
20
|
+
QueryDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
|
21
|
+
QnASearchResultList = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
|
22
|
+
QueryContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
|
23
|
+
PromptDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
|
24
|
+
FeedbackRecordsDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
|
25
|
+
QnADTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
|
26
|
+
PromptDTOQna = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
|
27
|
+
ErrorResponseError = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
|
28
|
+
QueryDTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
|
29
|
+
QnASearchResultContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
|
30
|
+
ErrorCodeType = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
class QnamakerRuntimeDataClass
|
|
34
|
+
attr_reader :runtime, :configurable, :base_url, :options, :model_classes
|
|
35
|
+
|
|
36
|
+
def initialize(configurable, base_url=nil, options=nil)
|
|
37
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
|
38
|
+
|
|
39
|
+
@client_0 = Azure::CognitiveServices::QnamakerRuntime::V4_0::QnamakerRuntimeClient.new(configurable.credentials, options)
|
|
40
|
+
if(@client_0.respond_to?(:subscription_id))
|
|
41
|
+
@client_0.subscription_id = configurable.subscription_id
|
|
42
|
+
end
|
|
43
|
+
add_telemetry(@client_0)
|
|
44
|
+
@runtime = @client_0.runtime
|
|
45
|
+
|
|
46
|
+
@model_classes = ModelClasses.new
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def add_telemetry(client)
|
|
50
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/QnamakerRuntime"
|
|
51
|
+
client.add_user_agent_information(profile_information)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def method_missing(method, *args)
|
|
55
|
+
if @client_0.respond_to?method
|
|
56
|
+
@client_0.send(method, *args)
|
|
57
|
+
else
|
|
58
|
+
super
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
class ModelClasses
|
|
63
|
+
def error
|
|
64
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
|
65
|
+
end
|
|
66
|
+
def metadata_dto
|
|
67
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
|
68
|
+
end
|
|
69
|
+
def error_response
|
|
70
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
|
71
|
+
end
|
|
72
|
+
def inner_error_model
|
|
73
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
|
74
|
+
end
|
|
75
|
+
def feedback_record_dto
|
|
76
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
|
77
|
+
end
|
|
78
|
+
def qn_asearch_result
|
|
79
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
|
80
|
+
end
|
|
81
|
+
def context_dto
|
|
82
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
|
83
|
+
end
|
|
84
|
+
def qn_adto
|
|
85
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
|
86
|
+
end
|
|
87
|
+
def query_dto
|
|
88
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
|
89
|
+
end
|
|
90
|
+
def qn_asearch_result_list
|
|
91
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
|
92
|
+
end
|
|
93
|
+
def query_context_dto
|
|
94
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
|
95
|
+
end
|
|
96
|
+
def prompt_dto
|
|
97
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
|
98
|
+
end
|
|
99
|
+
def feedback_records_dto
|
|
100
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
|
101
|
+
end
|
|
102
|
+
def qn_adtocontext
|
|
103
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
|
104
|
+
end
|
|
105
|
+
def prompt_dtoqna
|
|
106
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
|
107
|
+
end
|
|
108
|
+
def error_response_error
|
|
109
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
|
110
|
+
end
|
|
111
|
+
def query_dtocontext
|
|
112
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
|
113
|
+
end
|
|
114
|
+
def qn_asearch_result_context
|
|
115
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
|
116
|
+
end
|
|
117
|
+
def error_code_type
|
|
118
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: azure_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.
|
|
4
|
+
version: 0.31.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-07-
|
|
11
|
+
date: 2019-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -128,14 +128,14 @@ dependencies:
|
|
|
128
128
|
requirements:
|
|
129
129
|
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 0.18.
|
|
131
|
+
version: 0.18.4
|
|
132
132
|
type: :runtime
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 0.18.
|
|
138
|
+
version: 0.18.4
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: azure_mgmt_appconfiguration
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1612,14 +1612,28 @@ dependencies:
|
|
|
1612
1612
|
requirements:
|
|
1613
1613
|
- - "~>"
|
|
1614
1614
|
- !ruby/object:Gem::Version
|
|
1615
|
-
version: 0.17.
|
|
1615
|
+
version: 0.17.2
|
|
1616
1616
|
type: :runtime
|
|
1617
1617
|
prerelease: false
|
|
1618
1618
|
version_requirements: !ruby/object:Gem::Requirement
|
|
1619
1619
|
requirements:
|
|
1620
1620
|
- - "~>"
|
|
1621
1621
|
- !ruby/object:Gem::Version
|
|
1622
|
-
version: 0.17.
|
|
1622
|
+
version: 0.17.2
|
|
1623
|
+
- !ruby/object:Gem::Dependency
|
|
1624
|
+
name: azure_cognitiveservices_qnamakerruntime
|
|
1625
|
+
requirement: !ruby/object:Gem::Requirement
|
|
1626
|
+
requirements:
|
|
1627
|
+
- - "~>"
|
|
1628
|
+
- !ruby/object:Gem::Version
|
|
1629
|
+
version: 0.17.0
|
|
1630
|
+
type: :runtime
|
|
1631
|
+
prerelease: false
|
|
1632
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
1633
|
+
requirements:
|
|
1634
|
+
- - "~>"
|
|
1635
|
+
- !ruby/object:Gem::Version
|
|
1636
|
+
version: 0.17.0
|
|
1623
1637
|
- !ruby/object:Gem::Dependency
|
|
1624
1638
|
name: azure_cognitiveservices_spellcheck
|
|
1625
1639
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1858,6 +1872,7 @@ files:
|
|
|
1858
1872
|
- lib/latest/modules/powerbiembedded_profile_module.rb
|
|
1859
1873
|
- lib/latest/modules/privatedns_profile_module.rb
|
|
1860
1874
|
- lib/latest/modules/qnamaker_profile_module.rb
|
|
1875
|
+
- lib/latest/modules/qnamakerruntime_profile_module.rb
|
|
1861
1876
|
- lib/latest/modules/recoveryservices_profile_module.rb
|
|
1862
1877
|
- lib/latest/modules/recoveryservicesbackup_profile_module.rb
|
|
1863
1878
|
- lib/latest/modules/recoveryservicessiterecovery_profile_module.rb
|
|
@@ -1937,7 +1952,7 @@ metadata:
|
|
|
1937
1952
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
|
1938
1953
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
|
1939
1954
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
|
1940
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.31.
|
|
1955
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.31.1
|
|
1941
1956
|
wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
|
|
1942
1957
|
post_install_message:
|
|
1943
1958
|
rdoc_options: []
|