trieve_ruby_client 0.7.6 → 0.8.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 (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ChunkData.md +1 -1
  4. data/docs/ChunkMetadata.md +0 -2
  5. data/docs/ChunkMetadataWithScore.md +0 -2
  6. data/docs/CreateChunkGroupData.md +3 -1
  7. data/docs/GroupScoreSlimChunks.md +4 -0
  8. data/docs/OrganizationUsageCount.md +2 -0
  9. data/docs/RecommendChunksRequest.md +1 -1
  10. data/docs/RecommendGroupChunksRequest.md +1 -1
  11. data/docs/SearchChunkData.md +6 -4
  12. data/docs/SearchOverGroupsData.md +4 -2
  13. data/docs/SearchWithinGroupData.md +6 -4
  14. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  15. data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
  16. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  17. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  18. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  21. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  22. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  23. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  24. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  25. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  26. data/lib/trieve_ruby_client/api/user_api.rb +1 -1
  27. data/lib/trieve_ruby_client/api_client.rb +1 -1
  28. data/lib/trieve_ruby_client/api_error.rb +1 -1
  29. data/lib/trieve_ruby_client/configuration.rb +1 -1
  30. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  31. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  32. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  33. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  34. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  35. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  36. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  37. data/lib/trieve_ruby_client/models/chunk_data.rb +8 -2
  38. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  39. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  40. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  41. data/lib/trieve_ruby_client/models/chunk_metadata.rb +2 -18
  42. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +2 -18
  43. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  44. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  45. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +17 -6
  46. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  47. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  48. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  49. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  50. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  51. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  52. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  53. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  54. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  55. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  56. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  57. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  58. data/lib/trieve_ruby_client/models/event.rb +1 -1
  59. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  60. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  61. data/lib/trieve_ruby_client/models/file.rb +1 -1
  62. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  63. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  64. data/lib/trieve_ruby_client/models/geo_info.rb +1 -1
  65. data/lib/trieve_ruby_client/models/geo_types.rb +1 -1
  66. data/lib/trieve_ruby_client/models/get_chunks_data.rb +1 -1
  67. data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
  68. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  69. data/lib/trieve_ruby_client/models/get_tracking_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 +1 -1
  72. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +22 -2
  73. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  74. data/lib/trieve_ruby_client/models/location_bounding_box.rb +1 -1
  75. data/lib/trieve_ruby_client/models/location_polygon.rb +1 -1
  76. data/lib/trieve_ruby_client/models/location_radius.rb +1 -1
  77. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  78. data/lib/trieve_ruby_client/models/message.rb +1 -1
  79. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  80. data/lib/trieve_ruby_client/models/organization_usage_count.rb +18 -2
  81. data/lib/trieve_ruby_client/models/range.rb +1 -1
  82. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  83. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +2 -2
  84. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +2 -2
  85. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  86. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  87. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  88. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_chunk_data.rb +26 -15
  90. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +15 -4
  92. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  94. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  95. data/lib/trieve_ruby_client/models/search_within_group_data.rb +26 -15
  96. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  97. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  98. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  99. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  100. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  101. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  102. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  103. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  104. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  105. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  106. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  107. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  108. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  113. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  115. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  116. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +1 -1
  117. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  118. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  119. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  120. data/lib/trieve_ruby_client/version.rb +2 -2
  121. data/lib/trieve_ruby_client.rb +1 -1
  122. data/openapi-generator.yaml +1 -1
  123. data/openapi.json +150 -37
  124. data/spec/spec_helper.rb +1 -1
  125. data/trieve_ruby_client-0.7.6.gem +0 -0
  126. data/trieve_ruby_client-0.8.0.gem +0 -0
  127. data/trieve_ruby_client.gemspec +1 -1
  128. metadata +4 -2
@@ -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.7.6
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,8 +17,6 @@ module TrieveRubyClient
17
17
  class ChunkMetadata
18
18
  attr_accessor :chunk_html
19
19
 
20
- attr_accessor :content
21
-
22
20
  attr_accessor :created_at
23
21
 
24
22
  attr_accessor :dataset_id
@@ -47,7 +45,6 @@ module TrieveRubyClient
47
45
  def self.attribute_map
48
46
  {
49
47
  :'chunk_html' => :'chunk_html',
50
- :'content' => :'content',
51
48
  :'created_at' => :'created_at',
52
49
  :'dataset_id' => :'dataset_id',
53
50
  :'id' => :'id',
@@ -72,7 +69,6 @@ module TrieveRubyClient
72
69
  def self.openapi_types
73
70
  {
74
71
  :'chunk_html' => :'String',
75
- :'content' => :'String',
76
72
  :'created_at' => :'Time',
77
73
  :'dataset_id' => :'String',
78
74
  :'id' => :'String',
@@ -121,12 +117,6 @@ module TrieveRubyClient
121
117
  self.chunk_html = attributes[:'chunk_html']
122
118
  end
123
119
 
124
- if attributes.key?(:'content')
125
- self.content = attributes[:'content']
126
- else
127
- self.content = nil
128
- end
129
-
130
120
  if attributes.key?(:'created_at')
131
121
  self.created_at = attributes[:'created_at']
132
122
  else
@@ -191,10 +181,6 @@ module TrieveRubyClient
191
181
  def list_invalid_properties
192
182
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
193
183
  invalid_properties = Array.new
194
- if @content.nil?
195
- invalid_properties.push('invalid value for "content", content cannot be nil.')
196
- end
197
-
198
184
  if @created_at.nil?
199
185
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
200
186
  end
@@ -222,7 +208,6 @@ module TrieveRubyClient
222
208
  # @return true if the model is valid
223
209
  def valid?
224
210
  warn '[DEPRECATED] the `valid?` method is obsolete'
225
- return false if @content.nil?
226
211
  return false if @created_at.nil?
227
212
  return false if @dataset_id.nil?
228
213
  return false if @id.nil?
@@ -237,7 +222,6 @@ module TrieveRubyClient
237
222
  return true if self.equal?(o)
238
223
  self.class == o.class &&
239
224
  chunk_html == o.chunk_html &&
240
- content == o.content &&
241
225
  created_at == o.created_at &&
242
226
  dataset_id == o.dataset_id &&
243
227
  id == o.id &&
@@ -261,7 +245,7 @@ module TrieveRubyClient
261
245
  # Calculates hash code according to all attributes.
262
246
  # @return [Integer] Hash code
263
247
  def hash
264
- [chunk_html, content, created_at, dataset_id, id, link, location, metadata, qdrant_point_id, tag_set, time_stamp, tracking_id, updated_at, weight].hash
248
+ [chunk_html, created_at, dataset_id, id, link, location, metadata, qdrant_point_id, tag_set, time_stamp, tracking_id, updated_at, weight].hash
265
249
  end
266
250
 
267
251
  # Builds the object from hash
@@ -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.7.6
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,8 +17,6 @@ module TrieveRubyClient
17
17
  class ChunkMetadataWithScore
18
18
  attr_accessor :chunk_html
19
19
 
20
- attr_accessor :content
21
-
22
20
  attr_accessor :created_at
23
21
 
24
22
  attr_accessor :dataset_id
@@ -47,7 +45,6 @@ module TrieveRubyClient
47
45
  def self.attribute_map
48
46
  {
49
47
  :'chunk_html' => :'chunk_html',
50
- :'content' => :'content',
51
48
  :'created_at' => :'created_at',
52
49
  :'dataset_id' => :'dataset_id',
53
50
  :'id' => :'id',
@@ -72,7 +69,6 @@ module TrieveRubyClient
72
69
  def self.openapi_types
73
70
  {
74
71
  :'chunk_html' => :'String',
75
- :'content' => :'String',
76
72
  :'created_at' => :'Time',
77
73
  :'dataset_id' => :'String',
78
74
  :'id' => :'String',
@@ -120,12 +116,6 @@ module TrieveRubyClient
120
116
  self.chunk_html = attributes[:'chunk_html']
121
117
  end
122
118
 
123
- if attributes.key?(:'content')
124
- self.content = attributes[:'content']
125
- else
126
- self.content = nil
127
- end
128
-
129
119
  if attributes.key?(:'created_at')
130
120
  self.created_at = attributes[:'created_at']
131
121
  else
@@ -192,10 +182,6 @@ module TrieveRubyClient
192
182
  def list_invalid_properties
193
183
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
194
184
  invalid_properties = Array.new
195
- if @content.nil?
196
- invalid_properties.push('invalid value for "content", content cannot be nil.')
197
- end
198
-
199
185
  if @created_at.nil?
200
186
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
201
187
  end
@@ -227,7 +213,6 @@ module TrieveRubyClient
227
213
  # @return true if the model is valid
228
214
  def valid?
229
215
  warn '[DEPRECATED] the `valid?` method is obsolete'
230
- return false if @content.nil?
231
216
  return false if @created_at.nil?
232
217
  return false if @dataset_id.nil?
233
218
  return false if @id.nil?
@@ -243,7 +228,6 @@ module TrieveRubyClient
243
228
  return true if self.equal?(o)
244
229
  self.class == o.class &&
245
230
  chunk_html == o.chunk_html &&
246
- content == o.content &&
247
231
  created_at == o.created_at &&
248
232
  dataset_id == o.dataset_id &&
249
233
  id == o.id &&
@@ -267,7 +251,7 @@ module TrieveRubyClient
267
251
  # Calculates hash code according to all attributes.
268
252
  # @return [Integer] Hash code
269
253
  def hash
270
- [chunk_html, content, created_at, dataset_id, id, link, metadata, qdrant_point_id, score, tag_set, time_stamp, tracking_id, updated_at, weight].hash
254
+ [chunk_html, created_at, dataset_id, id, link, metadata, qdrant_point_id, score, tag_set, time_stamp, tracking_id, updated_at, weight].hash
271
255
  end
272
256
 
273
257
  # Builds the object from hash
@@ -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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -30,6 +30,9 @@ module TrieveRubyClient
30
30
  # Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group.
31
31
  attr_accessor :tracking_id
32
32
 
33
+ # Upsert when a chunk_group with the same tracking_id exists. By default this is false, and the request will fail if a chunk_group with the same tracking_id exists. If this is true, the chunk_group will be updated if a chunk_group with the same tracking_id exists.
34
+ attr_accessor :upsert_by_tracking_id
35
+
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
34
37
  def self.attribute_map
35
38
  {
@@ -37,7 +40,8 @@ module TrieveRubyClient
37
40
  :'metadata' => :'metadata',
38
41
  :'name' => :'name',
39
42
  :'tag_set' => :'tag_set',
40
- :'tracking_id' => :'tracking_id'
43
+ :'tracking_id' => :'tracking_id',
44
+ :'upsert_by_tracking_id' => :'upsert_by_tracking_id'
41
45
  }
42
46
  end
43
47
 
@@ -53,7 +57,8 @@ module TrieveRubyClient
53
57
  :'metadata' => :'Object',
54
58
  :'name' => :'String',
55
59
  :'tag_set' => :'Array<String>',
56
- :'tracking_id' => :'String'
60
+ :'tracking_id' => :'String',
61
+ :'upsert_by_tracking_id' => :'Boolean'
57
62
  }
58
63
  end
59
64
 
@@ -63,7 +68,8 @@ module TrieveRubyClient
63
68
  :'description',
64
69
  :'metadata',
65
70
  :'tag_set',
66
- :'tracking_id'
71
+ :'tracking_id',
72
+ :'upsert_by_tracking_id'
67
73
  ])
68
74
  end
69
75
 
@@ -105,6 +111,10 @@ module TrieveRubyClient
105
111
  if attributes.key?(:'tracking_id')
106
112
  self.tracking_id = attributes[:'tracking_id']
107
113
  end
114
+
115
+ if attributes.key?(:'upsert_by_tracking_id')
116
+ self.upsert_by_tracking_id = attributes[:'upsert_by_tracking_id']
117
+ end
108
118
  end
109
119
 
110
120
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -136,7 +146,8 @@ module TrieveRubyClient
136
146
  metadata == o.metadata &&
137
147
  name == o.name &&
138
148
  tag_set == o.tag_set &&
139
- tracking_id == o.tracking_id
149
+ tracking_id == o.tracking_id &&
150
+ upsert_by_tracking_id == o.upsert_by_tracking_id
140
151
  end
141
152
 
142
153
  # @see the `==` method
@@ -148,7 +159,7 @@ module TrieveRubyClient
148
159
  # Calculates hash code according to all attributes.
149
160
  # @return [Integer] Hash code
150
161
  def hash
151
- [description, metadata, name, tag_set, tracking_id].hash
162
+ [description, metadata, name, tag_set, tracking_id, upsert_by_tracking_id].hash
152
163
  end
153
164
 
154
165
  # Builds the object from hash
@@ -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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,12 +17,18 @@ module TrieveRubyClient
17
17
  class GroupScoreSlimChunks
18
18
  attr_accessor :group_id
19
19
 
20
+ attr_accessor :group_name
21
+
22
+ attr_accessor :group_tracking_id
23
+
20
24
  attr_accessor :metadata
21
25
 
22
26
  # Attribute mapping from ruby-style variable name to JSON key.
23
27
  def self.attribute_map
24
28
  {
25
29
  :'group_id' => :'group_id',
30
+ :'group_name' => :'group_name',
31
+ :'group_tracking_id' => :'group_tracking_id',
26
32
  :'metadata' => :'metadata'
27
33
  }
28
34
  end
@@ -36,6 +42,8 @@ module TrieveRubyClient
36
42
  def self.openapi_types
37
43
  {
38
44
  :'group_id' => :'String',
45
+ :'group_name' => :'String',
46
+ :'group_tracking_id' => :'String',
39
47
  :'metadata' => :'Array<ScoreSlimChunks>'
40
48
  }
41
49
  end
@@ -43,6 +51,8 @@ module TrieveRubyClient
43
51
  # List of attributes with nullable: true
44
52
  def self.openapi_nullable
45
53
  Set.new([
54
+ :'group_name',
55
+ :'group_tracking_id',
46
56
  ])
47
57
  end
48
58
 
@@ -67,6 +77,14 @@ module TrieveRubyClient
67
77
  self.group_id = nil
68
78
  end
69
79
 
80
+ if attributes.key?(:'group_name')
81
+ self.group_name = attributes[:'group_name']
82
+ end
83
+
84
+ if attributes.key?(:'group_tracking_id')
85
+ self.group_tracking_id = attributes[:'group_tracking_id']
86
+ end
87
+
70
88
  if attributes.key?(:'metadata')
71
89
  if (value = attributes[:'metadata']).is_a?(Array)
72
90
  self.metadata = value
@@ -107,6 +125,8 @@ module TrieveRubyClient
107
125
  return true if self.equal?(o)
108
126
  self.class == o.class &&
109
127
  group_id == o.group_id &&
128
+ group_name == o.group_name &&
129
+ group_tracking_id == o.group_tracking_id &&
110
130
  metadata == o.metadata
111
131
  end
112
132
 
@@ -119,7 +139,7 @@ module TrieveRubyClient
119
139
  # Calculates hash code according to all attributes.
120
140
  # @return [Integer] Hash code
121
141
  def hash
122
- [group_id, metadata].hash
142
+ [group_id, group_name, group_tracking_id, metadata].hash
123
143
  end
124
144
 
125
145
  # Builds the object from hash
@@ -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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.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.7.6
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0