trieve_ruby_client 0.6.9 → 0.7.6

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 (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -8
  3. data/docs/ChunkApi.md +158 -10
  4. data/docs/ChunkData.md +2 -2
  5. data/docs/ChunkMetadata.md +2 -0
  6. data/docs/ClientDatasetConfiguration.md +2 -0
  7. data/docs/CreateMessageData.md +0 -2
  8. data/docs/CreateTopicData.md +3 -3
  9. data/docs/EditMessageData.md +0 -2
  10. data/docs/FieldCondition.md +6 -0
  11. data/docs/FileApi.md +4 -6
  12. data/docs/GenerateChunksRequest.md +0 -2
  13. data/docs/GeoInfo.md +20 -0
  14. data/docs/GeoTypes.md +49 -0
  15. data/docs/GetChunksData.md +18 -0
  16. data/docs/GetEventsData.md +1 -1
  17. data/docs/GetTrackingChunksData.md +18 -0
  18. data/docs/LocationBoundingBox.md +20 -0
  19. data/docs/LocationPolygon.md +20 -0
  20. data/docs/LocationRadius.md +20 -0
  21. data/docs/RangeCondition.md +2 -0
  22. data/docs/RegenerateMessageData.md +0 -2
  23. data/docs/SlimChunkMetadata.md +4 -0
  24. data/docs/Topic.md +3 -3
  25. data/docs/TopicApi.md +17 -17
  26. data/docs/UpdateChunkData.md +2 -0
  27. data/docs/UpdateUserOrgRoleData.md +22 -0
  28. data/docs/UserApi.md +9 -10
  29. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  30. data/lib/trieve_ruby_client/api/chunk_api.rb +161 -11
  31. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  32. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  33. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  34. data/lib/trieve_ruby_client/api/file_api.rb +4 -11
  35. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  36. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  37. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  38. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  39. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  40. data/lib/trieve_ruby_client/api/topic_api.rb +20 -20
  41. data/lib/trieve_ruby_client/api/user_api.rb +14 -14
  42. data/lib/trieve_ruby_client/api_client.rb +1 -1
  43. data/lib/trieve_ruby_client/api_error.rb +1 -1
  44. data/lib/trieve_ruby_client/configuration.rb +1 -1
  45. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  46. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  47. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  48. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  49. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  50. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  51. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  52. data/lib/trieve_ruby_client/models/chunk_data.rb +12 -13
  53. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  54. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  55. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  56. data/lib/trieve_ruby_client/models/chunk_metadata.rb +12 -2
  57. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
  58. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +18 -2
  59. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  60. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  61. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  62. data/lib/trieve_ruby_client/models/create_message_data.rb +2 -13
  63. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  64. data/lib/trieve_ruby_client/models/create_topic_data.rb +23 -17
  65. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  66. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  67. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  68. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  69. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  70. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  71. data/lib/trieve_ruby_client/models/edit_message_data.rb +2 -13
  72. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  73. data/lib/trieve_ruby_client/models/event.rb +1 -1
  74. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  75. data/lib/trieve_ruby_client/models/field_condition.rb +32 -2
  76. data/lib/trieve_ruby_client/models/file.rb +1 -1
  77. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  78. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +2 -13
  79. data/lib/trieve_ruby_client/models/geo_info.rb +237 -0
  80. data/lib/trieve_ruby_client/models/geo_types.rb +105 -0
  81. data/lib/trieve_ruby_client/models/get_chunks_data.rb +223 -0
  82. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  83. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  84. data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +223 -0
  85. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  86. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  87. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
  88. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  89. data/lib/trieve_ruby_client/models/location_bounding_box.rb +237 -0
  90. data/lib/trieve_ruby_client/models/location_polygon.rb +235 -0
  91. data/lib/trieve_ruby_client/models/location_radius.rb +237 -0
  92. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  93. data/lib/trieve_ruby_client/models/message.rb +1 -1
  94. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  95. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  96. data/lib/trieve_ruby_client/models/range.rb +1 -1
  97. data/lib/trieve_ruby_client/models/range_condition.rb +2 -1
  98. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  99. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
  100. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +2 -13
  101. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  102. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  103. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  104. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  105. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  106. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  108. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  109. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  110. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  112. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  113. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  114. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  115. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  116. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +28 -2
  117. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  118. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  119. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  120. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  121. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  122. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  123. data/lib/trieve_ruby_client/models/topic.rb +21 -21
  124. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  125. data/lib/trieve_ruby_client/models/update_chunk_data.rb +12 -2
  126. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  127. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  128. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  129. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  130. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  131. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +250 -0
  132. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  133. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  134. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  135. data/lib/trieve_ruby_client/version.rb +2 -2
  136. data/lib/trieve_ruby_client.rb +9 -2
  137. data/openapi-generator.yaml +1 -1
  138. data/openapi.json +360 -83
  139. data/spec/models/geo_info_spec.rb +42 -0
  140. data/spec/models/geo_types_spec.rb +32 -0
  141. data/spec/models/get_chunks_data_spec.rb +36 -0
  142. data/spec/models/get_tracking_chunks_data_spec.rb +36 -0
  143. data/spec/models/location_bounding_box_spec.rb +42 -0
  144. data/spec/models/location_polygon_spec.rb +42 -0
  145. data/spec/models/location_radius_spec.rb +42 -0
  146. data/spec/models/update_user_org_role_data_spec.rb +48 -0
  147. data/spec/spec_helper.rb +1 -1
  148. data/trieve_ruby_client-0.6.9.gem +0 -0
  149. data/trieve_ruby_client-0.7.2.gem +0 -0
  150. data/trieve_ruby_client.gemspec +1 -1
  151. metadata +36 -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.6.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,10 +17,14 @@ module TrieveRubyClient
17
17
  class SlimChunkMetadata
18
18
  attr_accessor :created_at
19
19
 
20
+ attr_accessor :dataset_id
21
+
20
22
  attr_accessor :id
21
23
 
22
24
  attr_accessor :link
23
25
 
26
+ attr_accessor :location
27
+
24
28
  attr_accessor :metadata
25
29
 
26
30
  attr_accessor :qdrant_point_id
@@ -39,8 +43,10 @@ module TrieveRubyClient
39
43
  def self.attribute_map
40
44
  {
41
45
  :'created_at' => :'created_at',
46
+ :'dataset_id' => :'dataset_id',
42
47
  :'id' => :'id',
43
48
  :'link' => :'link',
49
+ :'location' => :'location',
44
50
  :'metadata' => :'metadata',
45
51
  :'qdrant_point_id' => :'qdrant_point_id',
46
52
  :'tag_set' => :'tag_set',
@@ -60,8 +66,10 @@ module TrieveRubyClient
60
66
  def self.openapi_types
61
67
  {
62
68
  :'created_at' => :'Time',
69
+ :'dataset_id' => :'String',
63
70
  :'id' => :'String',
64
71
  :'link' => :'String',
72
+ :'location' => :'GeoInfo',
65
73
  :'metadata' => :'Object',
66
74
  :'qdrant_point_id' => :'String',
67
75
  :'tag_set' => :'String',
@@ -76,6 +84,7 @@ module TrieveRubyClient
76
84
  def self.openapi_nullable
77
85
  Set.new([
78
86
  :'link',
87
+ :'location',
79
88
  :'metadata',
80
89
  :'qdrant_point_id',
81
90
  :'tag_set',
@@ -105,6 +114,12 @@ module TrieveRubyClient
105
114
  self.created_at = nil
106
115
  end
107
116
 
117
+ if attributes.key?(:'dataset_id')
118
+ self.dataset_id = attributes[:'dataset_id']
119
+ else
120
+ self.dataset_id = nil
121
+ end
122
+
108
123
  if attributes.key?(:'id')
109
124
  self.id = attributes[:'id']
110
125
  else
@@ -115,6 +130,10 @@ module TrieveRubyClient
115
130
  self.link = attributes[:'link']
116
131
  end
117
132
 
133
+ if attributes.key?(:'location')
134
+ self.location = attributes[:'location']
135
+ end
136
+
118
137
  if attributes.key?(:'metadata')
119
138
  self.metadata = attributes[:'metadata']
120
139
  end
@@ -157,6 +176,10 @@ module TrieveRubyClient
157
176
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
158
177
  end
159
178
 
179
+ if @dataset_id.nil?
180
+ invalid_properties.push('invalid value for "dataset_id", dataset_id cannot be nil.')
181
+ end
182
+
160
183
  if @id.nil?
161
184
  invalid_properties.push('invalid value for "id", id cannot be nil.')
162
185
  end
@@ -177,6 +200,7 @@ module TrieveRubyClient
177
200
  def valid?
178
201
  warn '[DEPRECATED] the `valid?` method is obsolete'
179
202
  return false if @created_at.nil?
203
+ return false if @dataset_id.nil?
180
204
  return false if @id.nil?
181
205
  return false if @updated_at.nil?
182
206
  return false if @weight.nil?
@@ -189,8 +213,10 @@ module TrieveRubyClient
189
213
  return true if self.equal?(o)
190
214
  self.class == o.class &&
191
215
  created_at == o.created_at &&
216
+ dataset_id == o.dataset_id &&
192
217
  id == o.id &&
193
218
  link == o.link &&
219
+ location == o.location &&
194
220
  metadata == o.metadata &&
195
221
  qdrant_point_id == o.qdrant_point_id &&
196
222
  tag_set == o.tag_set &&
@@ -209,7 +235,7 @@ module TrieveRubyClient
209
235
  # Calculates hash code according to all attributes.
210
236
  # @return [Integer] Hash code
211
237
  def hash
212
- [created_at, id, link, metadata, qdrant_point_id, tag_set, time_stamp, tracking_id, updated_at, weight].hash
238
+ [created_at, dataset_id, id, link, location, metadata, qdrant_point_id, tag_set, time_stamp, tracking_id, updated_at, weight].hash
213
239
  end
214
240
 
215
241
  # 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.6.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -25,9 +25,9 @@ module TrieveRubyClient
25
25
 
26
26
  attr_accessor :name
27
27
 
28
- attr_accessor :updated_at
28
+ attr_accessor :owner_id
29
29
 
30
- attr_accessor :user_id
30
+ attr_accessor :updated_at
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
@@ -37,8 +37,8 @@ module TrieveRubyClient
37
37
  :'deleted' => :'deleted',
38
38
  :'id' => :'id',
39
39
  :'name' => :'name',
40
- :'updated_at' => :'updated_at',
41
- :'user_id' => :'user_id'
40
+ :'owner_id' => :'owner_id',
41
+ :'updated_at' => :'updated_at'
42
42
  }
43
43
  end
44
44
 
@@ -55,8 +55,8 @@ module TrieveRubyClient
55
55
  :'deleted' => :'Boolean',
56
56
  :'id' => :'String',
57
57
  :'name' => :'String',
58
- :'updated_at' => :'Time',
59
- :'user_id' => :'String'
58
+ :'owner_id' => :'String',
59
+ :'updated_at' => :'Time'
60
60
  }
61
61
  end
62
62
 
@@ -111,16 +111,16 @@ module TrieveRubyClient
111
111
  self.name = nil
112
112
  end
113
113
 
114
- if attributes.key?(:'updated_at')
115
- self.updated_at = attributes[:'updated_at']
114
+ if attributes.key?(:'owner_id')
115
+ self.owner_id = attributes[:'owner_id']
116
116
  else
117
- self.updated_at = nil
117
+ self.owner_id = nil
118
118
  end
119
119
 
120
- if attributes.key?(:'user_id')
121
- self.user_id = attributes[:'user_id']
120
+ if attributes.key?(:'updated_at')
121
+ self.updated_at = attributes[:'updated_at']
122
122
  else
123
- self.user_id = nil
123
+ self.updated_at = nil
124
124
  end
125
125
  end
126
126
 
@@ -149,12 +149,12 @@ module TrieveRubyClient
149
149
  invalid_properties.push('invalid value for "name", name cannot be nil.')
150
150
  end
151
151
 
152
- if @updated_at.nil?
153
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
152
+ if @owner_id.nil?
153
+ invalid_properties.push('invalid value for "owner_id", owner_id cannot be nil.')
154
154
  end
155
155
 
156
- if @user_id.nil?
157
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
156
+ if @updated_at.nil?
157
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
158
158
  end
159
159
 
160
160
  invalid_properties
@@ -169,8 +169,8 @@ module TrieveRubyClient
169
169
  return false if @deleted.nil?
170
170
  return false if @id.nil?
171
171
  return false if @name.nil?
172
+ return false if @owner_id.nil?
172
173
  return false if @updated_at.nil?
173
- return false if @user_id.nil?
174
174
  true
175
175
  end
176
176
 
@@ -184,8 +184,8 @@ module TrieveRubyClient
184
184
  deleted == o.deleted &&
185
185
  id == o.id &&
186
186
  name == o.name &&
187
- updated_at == o.updated_at &&
188
- user_id == o.user_id
187
+ owner_id == o.owner_id &&
188
+ updated_at == o.updated_at
189
189
  end
190
190
 
191
191
  # @see the `==` method
@@ -197,7 +197,7 @@ module TrieveRubyClient
197
197
  # Calculates hash code according to all attributes.
198
198
  # @return [Integer] Hash code
199
199
  def hash
200
- [created_at, dataset_id, deleted, id, name, updated_at, user_id].hash
200
+ [created_at, dataset_id, deleted, id, name, owner_id, updated_at].hash
201
201
  end
202
202
 
203
203
  # 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.6.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -33,6 +33,8 @@ module TrieveRubyClient
33
33
  # Link of the chunk you want to update. This can also be any string. Frequently, this is a link to the source of the chunk. The link value will not affect the embedding creation. If no link is provided, the existing link will be used.
34
34
  attr_accessor :link
35
35
 
36
+ attr_accessor :location
37
+
36
38
  # The metadata is a JSON object which can be used to filter chunks. This is useful for when you want to filter chunks by arbitrary metadata. Unlike with tag filtering, there is a performance hit for filtering on metadata. If no metadata is provided, the existing metadata will be used.
37
39
  attr_accessor :metadata
38
40
 
@@ -57,6 +59,7 @@ module TrieveRubyClient
57
59
  :'group_ids' => :'group_ids',
58
60
  :'group_tracking_ids' => :'group_tracking_ids',
59
61
  :'link' => :'link',
62
+ :'location' => :'location',
60
63
  :'metadata' => :'metadata',
61
64
  :'tag_set' => :'tag_set',
62
65
  :'time_stamp' => :'time_stamp',
@@ -79,6 +82,7 @@ module TrieveRubyClient
79
82
  :'group_ids' => :'Array<String>',
80
83
  :'group_tracking_ids' => :'Array<String>',
81
84
  :'link' => :'String',
85
+ :'location' => :'GeoInfo',
82
86
  :'metadata' => :'Object',
83
87
  :'tag_set' => :'Array<String>',
84
88
  :'time_stamp' => :'String',
@@ -96,6 +100,7 @@ module TrieveRubyClient
96
100
  :'group_ids',
97
101
  :'group_tracking_ids',
98
102
  :'link',
103
+ :'location',
99
104
  :'metadata',
100
105
  :'tag_set',
101
106
  :'time_stamp',
@@ -147,6 +152,10 @@ module TrieveRubyClient
147
152
  self.link = attributes[:'link']
148
153
  end
149
154
 
155
+ if attributes.key?(:'location')
156
+ self.location = attributes[:'location']
157
+ end
158
+
150
159
  if attributes.key?(:'metadata')
151
160
  self.metadata = attributes[:'metadata']
152
161
  end
@@ -196,6 +205,7 @@ module TrieveRubyClient
196
205
  group_ids == o.group_ids &&
197
206
  group_tracking_ids == o.group_tracking_ids &&
198
207
  link == o.link &&
208
+ location == o.location &&
199
209
  metadata == o.metadata &&
200
210
  tag_set == o.tag_set &&
201
211
  time_stamp == o.time_stamp &&
@@ -212,7 +222,7 @@ module TrieveRubyClient
212
222
  # Calculates hash code according to all attributes.
213
223
  # @return [Integer] Hash code
214
224
  def hash
215
- [chunk_html, chunk_id, convert_html_to_text, group_ids, group_tracking_ids, link, metadata, tag_set, time_stamp, tracking_id, weight].hash
225
+ [chunk_html, chunk_id, convert_html_to_text, group_ids, group_tracking_ids, link, location, metadata, tag_set, time_stamp, tracking_id, weight].hash
216
226
  end
217
227
 
218
228
  # 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.6.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
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.9
6
+ The version of the OpenAPI document: 0.7.6
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0