azure_cognitiveservices_qnamakerruntime 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_qnamakerruntime.rb +47 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/context_dto.rb +73 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error.rb +108 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_code_type.rb +28 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_response.rb +48 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_response_error.rb +85 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/feedback_record_dto.rb +72 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/feedback_records_dto.rb +55 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb +62 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/metadata_dto.rb +65 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/prompt_dto.rb +86 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/prompt_dtoqna.rb +108 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_adto.rb +128 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_adtocontext.rb +63 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result.rb +130 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result_context.rb +63 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result_list.rb +55 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_context_dto.rb +57 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_dto.rb +137 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_dtocontext.rb +51 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/module_definition.rb +9 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/qnamaker_runtime_client.rb +127 -0
- data/lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/runtime.rb +214 -0
- data/lib/azure_cognitiveservices_qnamakerruntime.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/qnamakerruntime_profile_module.rb +135 -0
- data/lib/profiles/latest/qnamakerruntime_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/qnamakerruntime_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +147 -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/qnamakerruntime_module_definition'
|
6
|
+
require 'profiles/latest/modules/qnamakerruntime_profile_module'
|
7
|
+
|
8
|
+
module Azure::QnamakerRuntime::Profiles::Latest
|
9
|
+
#
|
10
|
+
# Client class for the Latest profile SDK.
|
11
|
+
#
|
12
|
+
class Client < QnamakerRuntimeDataClass
|
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::QnamakerRuntime end
|
7
|
+
module Azure::QnamakerRuntime::Profiles end
|
8
|
+
module Azure::QnamakerRuntime::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_cognitiveservices_qnamakerruntime
|
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: 2019-07-31 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.1
|
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.1
|
83
|
+
description:
|
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_qnamakerruntime.rb
|
91
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/context_dto.rb
|
92
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error.rb
|
93
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_code_type.rb
|
94
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_response.rb
|
95
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/error_response_error.rb
|
96
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/feedback_record_dto.rb
|
97
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/feedback_records_dto.rb
|
98
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb
|
99
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/metadata_dto.rb
|
100
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/prompt_dto.rb
|
101
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/prompt_dtoqna.rb
|
102
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_adto.rb
|
103
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_adtocontext.rb
|
104
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result.rb
|
105
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result_context.rb
|
106
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/qn_asearch_result_list.rb
|
107
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_context_dto.rb
|
108
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_dto.rb
|
109
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/query_dtocontext.rb
|
110
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/module_definition.rb
|
111
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/qnamaker_runtime_client.rb
|
112
|
+
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/runtime.rb
|
113
|
+
- lib/azure_cognitiveservices_qnamakerruntime.rb
|
114
|
+
- lib/module_definition.rb
|
115
|
+
- lib/profiles/latest/modules/qnamakerruntime_profile_module.rb
|
116
|
+
- lib/profiles/latest/qnamakerruntime_latest_profile_client.rb
|
117
|
+
- lib/profiles/latest/qnamakerruntime_module_definition.rb
|
118
|
+
- lib/version.rb
|
119
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
120
|
+
licenses:
|
121
|
+
- MIT
|
122
|
+
metadata:
|
123
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
124
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
125
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
126
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 2.0.0
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.7.8
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Official Ruby client library to consume CognitiveservicesQnamakerruntime
|
147
|
+
test_files: []
|