azure_cognitiveservices_qnamakerruntime 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b286cf61164334c0ca56dce1840f921fbce19d7df323bbbacb262d27e4364f4
4
- data.tar.gz: 3965cbbf3890af8f977a6773fc20b7f89b87ee887c3c508629c194f93694b01f
3
+ metadata.gz: d02eb4a0d3cfcbbf789093c2fda4f87345be44e8308897df9179f98fca44e1e3
4
+ data.tar.gz: 49226502846e17fce6c4b73c334aca266e2686f40cff8a4b9550ffac952f40ec
5
5
  SHA512:
6
- metadata.gz: bab9405bc175263683862d287052986b04d23259102953ca026ae421fac860b7708967e5a075537861b9bf9718015bae47cfa3f5e68bb2ab8222f7dd560c746c
7
- data.tar.gz: cb3dfe2ab1ec22d1b3ecc1ca37b602999c77ec227d7313598d1f7559333c5040f4c99384a4bc5b7b9aea694b91093990db4fa0c7083909ba6d2592fccdb6becb
6
+ metadata.gz: 99c4138a7745cf0e3009f87a5957a7dafb0287f2c35973b9364d5930d72a2e92f990a01b7a0783aef2791a5ca480e7de7a370aabfd2fc48c9cec165e2ab86050
7
+ data.tar.gz: 4ce8a889f7fcae1294ffce7b4df6482b3a96059ffb1de133a6c437336fbb23049d3c55cf1a8f6b2e27be3478b608206d7b4d4bc7404a1b07d66996647783f4c5
@@ -36,6 +36,10 @@ module Azure::CognitiveServices::QnamakerRuntime::V4_0
36
36
  # information.
37
37
  attr_accessor :context
38
38
 
39
+ # @return [String] Optional field. Set to 'QuestionOnly' for using a
40
+ # question only Ranker.
41
+ attr_accessor :ranker_type
42
+
39
43
  # @return [Array<MetadataDTO>] Find only answers that contain these
40
44
  # metadata.
41
45
  attr_accessor :strict_filters
@@ -111,6 +115,14 @@ module Azure::CognitiveServices::QnamakerRuntime::V4_0
111
115
  class_name: 'QueryDTOContext'
112
116
  }
113
117
  },
118
+ ranker_type: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'rankerType',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
114
126
  strict_filters: {
115
127
  client_side_validation: true,
116
128
  required: false,
@@ -120,7 +120,7 @@ module Azure::CognitiveServices::QnamakerRuntime::V4_0
120
120
  #
121
121
  def add_telemetry
122
122
  sdk_information = 'azure_cognitiveservices_qnamakerruntime'
123
- sdk_information = "#{sdk_information}/0.17.0"
123
+ sdk_information = "#{sdk_information}/0.17.1"
124
124
  add_user_agent_information(sdk_information)
125
125
  end
126
126
  end
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Cognitiveservices::QnamakerRuntime
6
- VERSION = '0.17.0'
6
+ VERSION = '0.17.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_cognitiveservices_qnamakerruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.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-31 00:00:00.000000000 Z
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler