ragie_ruby_sdk 1.0.17 → 1.0.18

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: cfe3b2c480ab35d9b6d15864337fc784d9b643beb15b5c7c68ebea233b3a8751
4
- data.tar.gz: 2e4ced50df79622c78e0cfe6d6d02261ccc8053ca27098b5f713d0d3eba538df
3
+ metadata.gz: dcb41b85be852cce3aa9b68ce3050546c0087cdb4b8b34b98b8241d2443ea619
4
+ data.tar.gz: 3eeaaa36171ba6bfdab19859c30f7979732b8eb1a6b32f545ffd15b032a18e3e
5
5
  SHA512:
6
- metadata.gz: 5257c810502691db0ff9859d2e00373ea666bfdd4c45efd36050395d696511b631cf789a06decc9808862ccad597c1043d48fe632326ade4be1ba144ae73db0c
7
- data.tar.gz: 0fb5cb55e4f833c2afa6ede62547fd2bd2d196424ccdcf390c80a246d6556b1eccf845d817baf7ae777b5b4ea3cff0fb01c04c7dee8e44de01a804b9d2140dd6
6
+ metadata.gz: c9eade4450a39a4c1488501b83c837366395126da728c597249010b43f1af48b23471c249774614781bc6a3b790c5cca681d8420927fbb17794117b80f013bd9
7
+ data.tar.gz: 51da453e45a230d632095ffeb4cd4007240c787cd3e09cbc8a6926f518c2f7093a54aad6224db500888e1ee7d28ef7482fe57e4ab16f8e00e09d79a3ff4c590a
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.0.16
10
+ - Package version: 1.0.17
11
11
  - Generator version: 7.17.0-SNAPSHOT
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build ragie_ruby_sdk.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ragie_ruby_sdk-1.0.16.gem
27
+ gem install ./ragie_ruby_sdk-1.0.17.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.16.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.17.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ragie_ruby_sdk', '~> 1.0.16'
36
+ gem 'ragie_ruby_sdk', '~> 1.0.17'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/Reasoning.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **effort** | **String** | | |
8
- | **summary** | **Object** | | [optional] |
8
+ | **summary** | [**Null**](Null.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
data/docs/Response.md CHANGED
@@ -9,9 +9,9 @@
9
9
  | **created_at** | **Integer** | | |
10
10
  | **status** | **String** | | |
11
11
  | **error** | **String** | | [optional] |
12
- | **incomplete_details** | **Object** | | [optional] |
12
+ | **incomplete_details** | [**Null**](Null.md) | | [optional] |
13
13
  | **instructions** | **String** | | [optional] |
14
- | **max_output_tokens** | **Object** | | [optional] |
14
+ | **max_output_tokens** | [**Null**](Null.md) | | [optional] |
15
15
  | **model** | **String** | | [optional][default to 'deep-search'] |
16
16
  | **output** | [**Array<ResponseOutputInner>**](ResponseOutputInner.md) | | |
17
17
  | **output_parsed** | [**FinalAnswer**](FinalAnswer.md) | | [optional] |
@@ -25,7 +25,7 @@
25
25
  | **top_p** | **Float** | | [optional][default to 1.0] |
26
26
  | **truncation** | **String** | | [optional][default to 'disabled'] |
27
27
  | **usage** | [**RagieApiSchemaResponseUsage**](RagieApiSchemaResponseUsage.md) | | |
28
- | **user** | **Object** | | [optional] |
28
+ | **user** | [**Null**](Null.md) | | [optional] |
29
29
  | **metadata** | **Hash<String, Object>** | | [optional] |
30
30
 
31
31
  ## Example
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **type** | **String** | | [optional][default to 'search'] |
8
+ | **think** | **String** | | |
9
+ | **current_question** | **String** | | |
8
10
  | **search** | [**Search**](Search.md) | The search request to be made. | |
9
11
  | **query_details** | [**Array<QueryDetails>**](QueryDetails.md) | | [optional] |
10
12
  | **search_log** | **String** | A log of the search results you found. | [optional][default to ''] |
@@ -16,6 +18,8 @@ require 'ragie_ruby_sdk'
16
18
 
17
19
  instance = RagieRubySdk::SearchStepWithQueryDetails.new(
18
20
  type: null,
21
+ think: null,
22
+ current_question: null,
19
23
  search: null,
20
24
  query_details: null,
21
25
  search_log: null
@@ -63,14 +63,13 @@ module RagieRubySdk
63
63
  def self.openapi_types
64
64
  {
65
65
  :'effort' => :'String',
66
- :'summary' => :'Object'
66
+ :'summary' => :'Null'
67
67
  }
68
68
  end
69
69
 
70
70
  # List of attributes with nullable: true
71
71
  def self.openapi_nullable
72
72
  Set.new([
73
- :'summary'
74
73
  ])
75
74
  end
76
75
 
@@ -130,9 +130,9 @@ module RagieRubySdk
130
130
  :'created_at' => :'Integer',
131
131
  :'status' => :'String',
132
132
  :'error' => :'String',
133
- :'incomplete_details' => :'Object',
133
+ :'incomplete_details' => :'Null',
134
134
  :'instructions' => :'String',
135
- :'max_output_tokens' => :'Object',
135
+ :'max_output_tokens' => :'Null',
136
136
  :'model' => :'String',
137
137
  :'output' => :'Array<ResponseOutputInner>',
138
138
  :'output_parsed' => :'FinalAnswer',
@@ -146,7 +146,7 @@ module RagieRubySdk
146
146
  :'top_p' => :'Float',
147
147
  :'truncation' => :'String',
148
148
  :'usage' => :'RagieApiSchemaResponseUsage',
149
- :'user' => :'Object',
149
+ :'user' => :'Null',
150
150
  :'metadata' => :'Hash<String, Object>'
151
151
  }
152
152
  end
@@ -155,12 +155,9 @@ module RagieRubySdk
155
155
  def self.openapi_nullable
156
156
  Set.new([
157
157
  :'error',
158
- :'incomplete_details',
159
158
  :'instructions',
160
- :'max_output_tokens',
161
159
  :'output_parsed',
162
160
  :'previous_response_id',
163
- :'user',
164
161
  ])
165
162
  end
166
163
 
@@ -17,6 +17,10 @@ module RagieRubySdk
17
17
  class SearchStepWithQueryDetails
18
18
  attr_accessor :type
19
19
 
20
+ attr_accessor :think
21
+
22
+ attr_accessor :current_question
23
+
20
24
  # The search request to be made.
21
25
  attr_accessor :search
22
26
 
@@ -51,6 +55,8 @@ module RagieRubySdk
51
55
  def self.attribute_map
52
56
  {
53
57
  :'type' => :'type',
58
+ :'think' => :'think',
59
+ :'current_question' => :'current_question',
54
60
  :'search' => :'search',
55
61
  :'query_details' => :'query_details',
56
62
  :'search_log' => :'search_log'
@@ -71,6 +77,8 @@ module RagieRubySdk
71
77
  def self.openapi_types
72
78
  {
73
79
  :'type' => :'String',
80
+ :'think' => :'String',
81
+ :'current_question' => :'String',
74
82
  :'search' => :'Search',
75
83
  :'query_details' => :'Array<QueryDetails>',
76
84
  :'search_log' => :'String'
@@ -105,6 +113,18 @@ module RagieRubySdk
105
113
  self.type = 'search'
106
114
  end
107
115
 
116
+ if attributes.key?(:'think')
117
+ self.think = attributes[:'think']
118
+ else
119
+ self.think = nil
120
+ end
121
+
122
+ if attributes.key?(:'current_question')
123
+ self.current_question = attributes[:'current_question']
124
+ else
125
+ self.current_question = nil
126
+ end
127
+
108
128
  if attributes.key?(:'search')
109
129
  self.search = attributes[:'search']
110
130
  else
@@ -129,6 +149,14 @@ module RagieRubySdk
129
149
  def list_invalid_properties
130
150
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
131
151
  invalid_properties = Array.new
152
+ if @think.nil?
153
+ invalid_properties.push('invalid value for "think", think cannot be nil.')
154
+ end
155
+
156
+ if @current_question.nil?
157
+ invalid_properties.push('invalid value for "current_question", current_question cannot be nil.')
158
+ end
159
+
132
160
  if @search.nil?
133
161
  invalid_properties.push('invalid value for "search", search cannot be nil.')
134
162
  end
@@ -142,6 +170,8 @@ module RagieRubySdk
142
170
  warn '[DEPRECATED] the `valid?` method is obsolete'
143
171
  type_validator = EnumAttributeValidator.new('String', ["search"])
144
172
  return false unless type_validator.valid?(@type)
173
+ return false if @think.nil?
174
+ return false if @current_question.nil?
145
175
  return false if @search.nil?
146
176
  true
147
177
  end
@@ -156,6 +186,26 @@ module RagieRubySdk
156
186
  @type = type
157
187
  end
158
188
 
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] think Value to be assigned
191
+ def think=(think)
192
+ if think.nil?
193
+ fail ArgumentError, 'think cannot be nil'
194
+ end
195
+
196
+ @think = think
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] current_question Value to be assigned
201
+ def current_question=(current_question)
202
+ if current_question.nil?
203
+ fail ArgumentError, 'current_question cannot be nil'
204
+ end
205
+
206
+ @current_question = current_question
207
+ end
208
+
159
209
  # Custom attribute writer method with validation
160
210
  # @param [Object] search Value to be assigned
161
211
  def search=(search)
@@ -172,6 +222,8 @@ module RagieRubySdk
172
222
  return true if self.equal?(o)
173
223
  self.class == o.class &&
174
224
  type == o.type &&
225
+ think == o.think &&
226
+ current_question == o.current_question &&
175
227
  search == o.search &&
176
228
  query_details == o.query_details &&
177
229
  search_log == o.search_log
@@ -186,7 +238,7 @@ module RagieRubySdk
186
238
  # Calculates hash code according to all attributes.
187
239
  # @return [Integer] Hash code
188
240
  def hash
189
- [type, search, query_details, search_log].hash
241
+ [type, think, current_question, search, query_details, search_log].hash
190
242
  end
191
243
 
192
244
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.17.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module RagieRubySdk
14
- VERSION = '1.0.17'
14
+ VERSION = '1.0.18'
15
15
  end
@@ -37,6 +37,18 @@ describe RagieRubySdk::SearchStepWithQueryDetails do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "think"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "current_question"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
40
52
  describe 'test attribute "search"' do
41
53
  it 'should work' do
42
54
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragie_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator