trieve_ruby_client 0.6.0 → 0.6.2

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.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -19
  3. data/docs/BookmarkData.md +1 -1
  4. data/docs/ChunkApi.md +8 -8
  5. data/docs/ChunkGroupApi.md +14 -14
  6. data/docs/ChunkMetadataWithScore.md +44 -0
  7. data/docs/CreateChunkGroupData.md +1 -1
  8. data/docs/GetEventsData.md +1 -1
  9. data/docs/GroupScoreChunk.md +22 -0
  10. data/docs/GroupScoreSlimChunks.md +20 -0
  11. data/docs/ScoreChunkDTO.md +1 -1
  12. data/docs/SearchOverGroupsResults.md +20 -0
  13. data/docs/SearchOverGroupsSlimResults.md +20 -0
  14. data/docs/SearchWithinGroupResults.md +22 -0
  15. data/docs/SearchWithinGroupSlimResults.md +22 -0
  16. data/docs/SlimChunkMetadataWithScore.md +38 -0
  17. data/docs/UserApi.md +2 -2
  18. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/chunk_api.rb +7 -7
  20. data/lib/trieve_ruby_client/api/chunk_group_api.rb +10 -10
  21. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  22. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  23. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  24. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  25. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  26. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  27. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  28. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  29. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  30. data/lib/trieve_ruby_client/api/user_api.rb +3 -3
  31. data/lib/trieve_ruby_client/api_client.rb +1 -1
  32. data/lib/trieve_ruby_client/api_error.rb +1 -1
  33. data/lib/trieve_ruby_client/configuration.rb +1 -1
  34. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  35. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  36. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  37. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  38. data/lib/trieve_ruby_client/models/bookmark_data.rb +2 -2
  39. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  40. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  41. data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
  42. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  43. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  44. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  45. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  46. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +387 -0
  47. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  48. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  49. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +2 -8
  50. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  51. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  52. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  53. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  54. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  55. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  56. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  57. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  58. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  59. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  60. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  61. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  62. data/lib/trieve_ruby_client/models/event.rb +1 -1
  63. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  64. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  65. data/lib/trieve_ruby_client/models/file.rb +1 -1
  66. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  67. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  68. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  69. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  70. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  71. data/lib/trieve_ruby_client/models/group_score_chunk.rb +249 -0
  72. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +239 -0
  73. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  74. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  75. data/lib/trieve_ruby_client/models/message.rb +1 -1
  76. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  77. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  78. data/lib/trieve_ruby_client/models/range.rb +1 -1
  79. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  80. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  81. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
  82. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  83. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  84. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +2 -2
  85. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  86. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  87. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  88. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +239 -0
  90. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +239 -0
  91. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_within_group_results.rb +255 -0
  94. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +255 -0
  95. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  96. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  97. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  98. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  99. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +345 -0
  100. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  101. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  102. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  103. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  104. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  105. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  106. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  113. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  115. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  116. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  117. data/lib/trieve_ruby_client/version.rb +2 -2
  118. data/lib/trieve_ruby_client.rb +9 -13
  119. data/openapi-generator.yaml +1 -1
  120. data/openapi.json +253 -191
  121. data/spec/models/chunk_metadata_with_score_spec.rb +114 -0
  122. data/spec/models/group_score_chunk_spec.rb +48 -0
  123. data/spec/models/group_score_slim_chunks_spec.rb +42 -0
  124. data/spec/models/search_over_groups_results_spec.rb +42 -0
  125. data/spec/models/search_over_groups_slim_results_spec.rb +42 -0
  126. data/spec/models/search_within_group_results_spec.rb +48 -0
  127. data/spec/models/search_within_group_slim_results_spec.rb +48 -0
  128. data/spec/models/slim_chunk_metadata_with_score_spec.rb +96 -0
  129. data/spec/spec_helper.rb +1 -1
  130. data/trieve_ruby_client-0.6.0.gem +0 -0
  131. data/trieve_ruby_client.gemspec +1 -1
  132. metadata +35 -2
@@ -0,0 +1,345 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrieveRubyClient
17
+ class SlimChunkMetadataWithScore
18
+ attr_accessor :created_at
19
+
20
+ attr_accessor :id
21
+
22
+ attr_accessor :link
23
+
24
+ attr_accessor :metadata
25
+
26
+ attr_accessor :qdrant_point_id
27
+
28
+ attr_accessor :score
29
+
30
+ attr_accessor :tag_set
31
+
32
+ attr_accessor :time_stamp
33
+
34
+ attr_accessor :tracking_id
35
+
36
+ attr_accessor :updated_at
37
+
38
+ attr_accessor :weight
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ def self.attribute_map
42
+ {
43
+ :'created_at' => :'created_at',
44
+ :'id' => :'id',
45
+ :'link' => :'link',
46
+ :'metadata' => :'metadata',
47
+ :'qdrant_point_id' => :'qdrant_point_id',
48
+ :'score' => :'score',
49
+ :'tag_set' => :'tag_set',
50
+ :'time_stamp' => :'time_stamp',
51
+ :'tracking_id' => :'tracking_id',
52
+ :'updated_at' => :'updated_at',
53
+ :'weight' => :'weight'
54
+ }
55
+ end
56
+
57
+ # Returns all the JSON keys this model knows about
58
+ def self.acceptable_attributes
59
+ attribute_map.values
60
+ end
61
+
62
+ # Attribute type mapping.
63
+ def self.openapi_types
64
+ {
65
+ :'created_at' => :'Time',
66
+ :'id' => :'String',
67
+ :'link' => :'String',
68
+ :'metadata' => :'Object',
69
+ :'qdrant_point_id' => :'String',
70
+ :'score' => :'Float',
71
+ :'tag_set' => :'String',
72
+ :'time_stamp' => :'Time',
73
+ :'tracking_id' => :'String',
74
+ :'updated_at' => :'Time',
75
+ :'weight' => :'Float'
76
+ }
77
+ end
78
+
79
+ # List of attributes with nullable: true
80
+ def self.openapi_nullable
81
+ Set.new([
82
+ :'link',
83
+ :'metadata',
84
+ :'qdrant_point_id',
85
+ :'tag_set',
86
+ :'time_stamp',
87
+ :'tracking_id',
88
+ ])
89
+ end
90
+
91
+ # Initializes the object
92
+ # @param [Hash] attributes Model attributes in the form of hash
93
+ def initialize(attributes = {})
94
+ if (!attributes.is_a?(Hash))
95
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrieveRubyClient::SlimChunkMetadataWithScore` initialize method"
96
+ end
97
+
98
+ # check to see if the attribute exists and convert string to symbol for hash key
99
+ attributes = attributes.each_with_object({}) { |(k, v), h|
100
+ if (!self.class.attribute_map.key?(k.to_sym))
101
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrieveRubyClient::SlimChunkMetadataWithScore`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
102
+ end
103
+ h[k.to_sym] = v
104
+ }
105
+
106
+ if attributes.key?(:'created_at')
107
+ self.created_at = attributes[:'created_at']
108
+ else
109
+ self.created_at = nil
110
+ end
111
+
112
+ if attributes.key?(:'id')
113
+ self.id = attributes[:'id']
114
+ else
115
+ self.id = nil
116
+ end
117
+
118
+ if attributes.key?(:'link')
119
+ self.link = attributes[:'link']
120
+ end
121
+
122
+ if attributes.key?(:'metadata')
123
+ self.metadata = attributes[:'metadata']
124
+ end
125
+
126
+ if attributes.key?(:'qdrant_point_id')
127
+ self.qdrant_point_id = attributes[:'qdrant_point_id']
128
+ end
129
+
130
+ if attributes.key?(:'score')
131
+ self.score = attributes[:'score']
132
+ else
133
+ self.score = nil
134
+ end
135
+
136
+ if attributes.key?(:'tag_set')
137
+ self.tag_set = attributes[:'tag_set']
138
+ end
139
+
140
+ if attributes.key?(:'time_stamp')
141
+ self.time_stamp = attributes[:'time_stamp']
142
+ end
143
+
144
+ if attributes.key?(:'tracking_id')
145
+ self.tracking_id = attributes[:'tracking_id']
146
+ end
147
+
148
+ if attributes.key?(:'updated_at')
149
+ self.updated_at = attributes[:'updated_at']
150
+ else
151
+ self.updated_at = nil
152
+ end
153
+
154
+ if attributes.key?(:'weight')
155
+ self.weight = attributes[:'weight']
156
+ else
157
+ self.weight = nil
158
+ end
159
+ end
160
+
161
+ # Show invalid properties with the reasons. Usually used together with valid?
162
+ # @return Array for valid properties with the reasons
163
+ def list_invalid_properties
164
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
165
+ invalid_properties = Array.new
166
+ if @created_at.nil?
167
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
168
+ end
169
+
170
+ if @id.nil?
171
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
172
+ end
173
+
174
+ if @score.nil?
175
+ invalid_properties.push('invalid value for "score", score cannot be nil.')
176
+ end
177
+
178
+ if @updated_at.nil?
179
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
180
+ end
181
+
182
+ if @weight.nil?
183
+ invalid_properties.push('invalid value for "weight", weight cannot be nil.')
184
+ end
185
+
186
+ invalid_properties
187
+ end
188
+
189
+ # Check to see if the all the properties in the model are valid
190
+ # @return true if the model is valid
191
+ def valid?
192
+ warn '[DEPRECATED] the `valid?` method is obsolete'
193
+ return false if @created_at.nil?
194
+ return false if @id.nil?
195
+ return false if @score.nil?
196
+ return false if @updated_at.nil?
197
+ return false if @weight.nil?
198
+ true
199
+ end
200
+
201
+ # Checks equality by comparing each attribute.
202
+ # @param [Object] Object to be compared
203
+ def ==(o)
204
+ return true if self.equal?(o)
205
+ self.class == o.class &&
206
+ created_at == o.created_at &&
207
+ id == o.id &&
208
+ link == o.link &&
209
+ metadata == o.metadata &&
210
+ qdrant_point_id == o.qdrant_point_id &&
211
+ score == o.score &&
212
+ tag_set == o.tag_set &&
213
+ time_stamp == o.time_stamp &&
214
+ tracking_id == o.tracking_id &&
215
+ updated_at == o.updated_at &&
216
+ weight == o.weight
217
+ end
218
+
219
+ # @see the `==` method
220
+ # @param [Object] Object to be compared
221
+ def eql?(o)
222
+ self == o
223
+ end
224
+
225
+ # Calculates hash code according to all attributes.
226
+ # @return [Integer] Hash code
227
+ def hash
228
+ [created_at, id, link, metadata, qdrant_point_id, score, tag_set, time_stamp, tracking_id, updated_at, weight].hash
229
+ end
230
+
231
+ # Builds the object from hash
232
+ # @param [Hash] attributes Model attributes in the form of hash
233
+ # @return [Object] Returns the model itself
234
+ def self.build_from_hash(attributes)
235
+ return nil unless attributes.is_a?(Hash)
236
+ attributes = attributes.transform_keys(&:to_sym)
237
+ transformed_hash = {}
238
+ openapi_types.each_pair do |key, type|
239
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
240
+ transformed_hash["#{key}"] = nil
241
+ elsif type =~ /\AArray<(.*)>/i
242
+ # check to ensure the input is an array given that the attribute
243
+ # is documented as an array but the input is not
244
+ if attributes[attribute_map[key]].is_a?(Array)
245
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
246
+ end
247
+ elsif !attributes[attribute_map[key]].nil?
248
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
249
+ end
250
+ end
251
+ new(transformed_hash)
252
+ end
253
+
254
+ # Deserializes the data based on type
255
+ # @param string type Data type
256
+ # @param string value Value to be deserialized
257
+ # @return [Object] Deserialized data
258
+ def self._deserialize(type, value)
259
+ case type.to_sym
260
+ when :Time
261
+ Time.parse(value)
262
+ when :Date
263
+ Date.parse(value)
264
+ when :String
265
+ value.to_s
266
+ when :Integer
267
+ value.to_i
268
+ when :Float
269
+ value.to_f
270
+ when :Boolean
271
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
272
+ true
273
+ else
274
+ false
275
+ end
276
+ when :Object
277
+ # generic object (usually a Hash), return directly
278
+ value
279
+ when /\AArray<(?<inner_type>.+)>\z/
280
+ inner_type = Regexp.last_match[:inner_type]
281
+ value.map { |v| _deserialize(inner_type, v) }
282
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
283
+ k_type = Regexp.last_match[:k_type]
284
+ v_type = Regexp.last_match[:v_type]
285
+ {}.tap do |hash|
286
+ value.each do |k, v|
287
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
288
+ end
289
+ end
290
+ else # model
291
+ # models (e.g. Pet) or oneOf
292
+ klass = TrieveRubyClient.const_get(type)
293
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
294
+ end
295
+ end
296
+
297
+ # Returns the string representation of the object
298
+ # @return [String] String presentation of the object
299
+ def to_s
300
+ to_hash.to_s
301
+ end
302
+
303
+ # to_body is an alias to to_hash (backward compatibility)
304
+ # @return [Hash] Returns the object in the form of hash
305
+ def to_body
306
+ to_hash
307
+ end
308
+
309
+ # Returns the object in the form of hash
310
+ # @return [Hash] Returns the object in the form of hash
311
+ def to_hash
312
+ hash = {}
313
+ self.class.attribute_map.each_pair do |attr, param|
314
+ value = self.send(attr)
315
+ if value.nil?
316
+ is_nullable = self.class.openapi_nullable.include?(attr)
317
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
318
+ end
319
+
320
+ hash[param] = _to_hash(value)
321
+ end
322
+ hash
323
+ end
324
+
325
+ # Outputs non-array value in the form of hash
326
+ # For object, use to_hash. Otherwise, just return the value
327
+ # @param [Object] value Any valid value
328
+ # @return [Hash] Returns the value in the form of hash
329
+ def _to_hash(value)
330
+ if value.is_a?(Array)
331
+ value.compact.map { |v| _to_hash(v) }
332
+ elsif value.is_a?(Hash)
333
+ {}.tap do |hash|
334
+ value.each { |k, v| hash[k] = _to_hash(v) }
335
+ end
336
+ elsif value.respond_to? :to_hash
337
+ value.to_hash
338
+ else
339
+ value
340
+ end
341
+ end
342
+
343
+ end
344
+
345
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -11,5 +11,5 @@ Generator version: 7.4.0
11
11
  =end
12
12
 
13
13
  module TrieveRubyClient
14
- VERSION = '0.6.0'
14
+ VERSION = '0.6.2'
15
15
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.6.0
6
+ The version of the OpenAPI document: 0.6.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -29,7 +29,7 @@ require 'trieve_ruby_client/models/chunk_filter'
29
29
  require 'trieve_ruby_client/models/chunk_group'
30
30
  require 'trieve_ruby_client/models/chunk_group_and_file'
31
31
  require 'trieve_ruby_client/models/chunk_metadata'
32
- require 'trieve_ruby_client/models/chunk_metadata_with_file_data'
32
+ require 'trieve_ruby_client/models/chunk_metadata_with_score'
33
33
  require 'trieve_ruby_client/models/client_dataset_configuration'
34
34
  require 'trieve_ruby_client/models/create_chunk_data'
35
35
  require 'trieve_ruby_client/models/create_chunk_group_data'
@@ -54,8 +54,8 @@ require 'trieve_ruby_client/models/generate_chunks_request'
54
54
  require 'trieve_ruby_client/models/get_events_data'
55
55
  require 'trieve_ruby_client/models/get_groups_for_chunks_data'
56
56
  require 'trieve_ruby_client/models/group_data'
57
- require 'trieve_ruby_client/models/group_score_chunk_dto'
58
- require 'trieve_ruby_client/models/group_slim_chunks_dto'
57
+ require 'trieve_ruby_client/models/group_score_chunk'
58
+ require 'trieve_ruby_client/models/group_score_slim_chunks'
59
59
  require 'trieve_ruby_client/models/invitation_data'
60
60
  require 'trieve_ruby_client/models/match_condition'
61
61
  require 'trieve_ruby_client/models/message'
@@ -64,8 +64,6 @@ require 'trieve_ruby_client/models/organization_usage_count'
64
64
  require 'trieve_ruby_client/models/range'
65
65
  require 'trieve_ruby_client/models/range_condition'
66
66
  require 'trieve_ruby_client/models/recommend_chunks_request'
67
- require 'trieve_ruby_client/models/recommend_chunks_response_types'
68
- require 'trieve_ruby_client/models/recommend_group_chunk_response_types'
69
67
  require 'trieve_ruby_client/models/recommend_group_chunks_request'
70
68
  require 'trieve_ruby_client/models/regenerate_message_data'
71
69
  require 'trieve_ruby_client/models/return_queued_chunk'
@@ -73,20 +71,18 @@ require 'trieve_ruby_client/models/score_chunk_dto'
73
71
  require 'trieve_ruby_client/models/score_slim_chunks'
74
72
  require 'trieve_ruby_client/models/search_chunk_data'
75
73
  require 'trieve_ruby_client/models/search_chunk_query_response_body'
76
- require 'trieve_ruby_client/models/search_chunk_response_types'
77
- require 'trieve_ruby_client/models/search_group_slim_chunks_result'
78
- require 'trieve_ruby_client/models/search_groups_result'
79
74
  require 'trieve_ruby_client/models/search_over_groups_data'
80
- require 'trieve_ruby_client/models/search_over_groups_response_body'
81
- require 'trieve_ruby_client/models/search_over_groups_response_types'
82
- require 'trieve_ruby_client/models/search_over_groups_slim_chunks_response_body'
75
+ require 'trieve_ruby_client/models/search_over_groups_results'
76
+ require 'trieve_ruby_client/models/search_over_groups_slim_results'
83
77
  require 'trieve_ruby_client/models/search_slim_chunk_query_response_body'
84
78
  require 'trieve_ruby_client/models/search_within_group_data'
85
- require 'trieve_ruby_client/models/search_within_group_response_types'
79
+ require 'trieve_ruby_client/models/search_within_group_results'
80
+ require 'trieve_ruby_client/models/search_within_group_slim_results'
86
81
  require 'trieve_ruby_client/models/set_user_api_key_request'
87
82
  require 'trieve_ruby_client/models/set_user_api_key_response'
88
83
  require 'trieve_ruby_client/models/single_queued_chunk_response'
89
84
  require 'trieve_ruby_client/models/slim_chunk_metadata'
85
+ require 'trieve_ruby_client/models/slim_chunk_metadata_with_score'
90
86
  require 'trieve_ruby_client/models/slim_group'
91
87
  require 'trieve_ruby_client/models/slim_user'
92
88
  require 'trieve_ruby_client/models/stripe_plan'
@@ -5,5 +5,5 @@ gemHomepage: "https://trieve.ai"
5
5
  gemLicense: "MIT"
6
6
  gemName: "trieve_ruby_client"
7
7
  gemSummary: "Trieve Ruby API client"
8
- gemVersion: "0.6.0"
8
+ gemVersion: "0.6.2"
9
9
  moduleName: "TrieveRubyClient"