azure_cognitiveservices_qnamaker 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/4.0/generated/azure_cognitiveservices_qnamaker.rb +63 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/alterations.rb +189 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/endpoint_keys.rb +194 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb +721 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/alterations_dto.rb +54 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/create_kb_dto.rb +111 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/create_kb_input_dto.rb +95 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/delete_kb_contents_dto.rb +74 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/endpoint_keys_dto.rb +79 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/environment_type.rb +16 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error.rb +108 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_code_type.rb +28 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_response.rb +48 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_response_error.rb +85 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/file_dto.rb +62 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/inner_error_model.rb +62 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebase_dto.rb +155 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebase_environment_type.rb +16 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebases_dto.rb +55 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/metadata_dto.rb +65 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/operation.rb +115 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/operation_state_type.rb +18 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/qn_adocuments_dto.rb +55 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/qn_adto.rb +116 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/replace_kb_dto.rb +57 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_contents_dto.rb +87 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dto.rb +74 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtoadd.rb +85 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtodelete.rb +67 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtoupdate.rb +76 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_metadata_dto.rb +77 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dto.rb +102 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dtometadata.rb +69 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dtoquestions.rb +67 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_questions_dto.rb +74 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/models/word_alterations_dto.rb +55 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/module_definition.rb +9 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/operations.rb +112 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamaker/qnamaker_client.rb +143 -0
- data/lib/azure_cognitiveservices_qnamaker.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/qnamaker_profile_module.rb +193 -0
- data/lib/profiles/latest/qnamaker_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/qnamaker_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +165 -0
@@ -0,0 +1,38 @@
|
|
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 'profiles/latest/qnamaker_module_definition'
|
6
|
+
require 'profiles/latest/modules/qnamaker_profile_module'
|
7
|
+
|
8
|
+
module Azure::Qnamaker::Profiles::Latest
|
9
|
+
#
|
10
|
+
# Client class for the Latest profile SDK.
|
11
|
+
#
|
12
|
+
class Client < QnamakerDataClass
|
13
|
+
include MsRestAzure::Common::Configurable
|
14
|
+
|
15
|
+
#
|
16
|
+
# Initializes a new instance of the Client class.
|
17
|
+
# @param options [Hash] hash of client options.
|
18
|
+
# options = {
|
19
|
+
# tenant_id: 'YOUR TENANT ID',
|
20
|
+
# client_id: 'YOUR CLIENT ID',
|
21
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
22
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
23
|
+
# credentials: credentials,
|
24
|
+
# active_directory_settings: active_directory_settings,
|
25
|
+
# base_url: 'YOUR BASE URL',
|
26
|
+
# options: options
|
27
|
+
# }
|
28
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
29
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
30
|
+
#
|
31
|
+
# Also, base_url, active_directory_settings & options are optional.
|
32
|
+
#
|
33
|
+
def initialize(options = {})
|
34
|
+
super(options)
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,8 @@
|
|
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
|
+
module Azure end
|
6
|
+
module Azure::Qnamaker end
|
7
|
+
module Azure::Qnamaker::Profiles end
|
8
|
+
module Azure::Qnamaker::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_cognitiveservices_qnamaker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.17.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ms_rest_azure
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.11.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.11.0
|
83
|
+
description: Microsoft Azure Cognitive Services QnAMaker Client Library for Ruby
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker.rb
|
91
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/alterations.rb
|
92
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/endpoint_keys.rb
|
93
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb
|
94
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/alterations_dto.rb
|
95
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/create_kb_dto.rb
|
96
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/create_kb_input_dto.rb
|
97
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/delete_kb_contents_dto.rb
|
98
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/endpoint_keys_dto.rb
|
99
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/environment_type.rb
|
100
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error.rb
|
101
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_code_type.rb
|
102
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_response.rb
|
103
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/error_response_error.rb
|
104
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/file_dto.rb
|
105
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/inner_error_model.rb
|
106
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebase_dto.rb
|
107
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebase_environment_type.rb
|
108
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/knowledgebases_dto.rb
|
109
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/metadata_dto.rb
|
110
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/operation.rb
|
111
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/operation_state_type.rb
|
112
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/qn_adocuments_dto.rb
|
113
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/qn_adto.rb
|
114
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/replace_kb_dto.rb
|
115
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_contents_dto.rb
|
116
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dto.rb
|
117
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtoadd.rb
|
118
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtodelete.rb
|
119
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_kb_operation_dtoupdate.rb
|
120
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_metadata_dto.rb
|
121
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dto.rb
|
122
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dtometadata.rb
|
123
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dtoquestions.rb
|
124
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_questions_dto.rb
|
125
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/models/word_alterations_dto.rb
|
126
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/module_definition.rb
|
127
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/operations.rb
|
128
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamaker/qnamaker_client.rb
|
129
|
+
- lib/azure_cognitiveservices_qnamaker.rb
|
130
|
+
- lib/module_definition.rb
|
131
|
+
- lib/profiles/latest/modules/qnamaker_profile_module.rb
|
132
|
+
- lib/profiles/latest/qnamaker_latest_profile_client.rb
|
133
|
+
- lib/profiles/latest/qnamaker_module_definition.rb
|
134
|
+
- lib/version.rb
|
135
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata:
|
139
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
140
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
141
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
142
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
143
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/data/azure_cognitiveservices_qnamaker
|
144
|
+
post_install_message:
|
145
|
+
rdoc_options: []
|
146
|
+
require_paths:
|
147
|
+
- lib
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.0.0
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
requirements: []
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 2.5.1
|
161
|
+
signing_key:
|
162
|
+
specification_version: 4
|
163
|
+
summary: Official Ruby client library to consume Microsoft Azure Cognitive Services
|
164
|
+
QnAMaker.
|
165
|
+
test_files: []
|