trieve_ruby_client 0.7.2 → 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.
- checksums.yaml +4 -4
- data/README.md +15 -6
- data/docs/ChunkApi.md +158 -10
- data/docs/ChunkData.md +2 -0
- data/docs/ChunkMetadata.md +2 -0
- data/docs/CreateMessageData.md +0 -2
- data/docs/CreateTopicData.md +0 -2
- data/docs/EditMessageData.md +0 -2
- data/docs/FieldCondition.md +6 -0
- data/docs/GenerateChunksRequest.md +0 -2
- data/docs/GeoInfo.md +20 -0
- data/docs/GeoTypes.md +49 -0
- data/docs/GetChunksData.md +18 -0
- data/docs/GetTrackingChunksData.md +18 -0
- data/docs/LocationBoundingBox.md +20 -0
- data/docs/LocationPolygon.md +20 -0
- data/docs/LocationRadius.md +20 -0
- data/docs/RangeCondition.md +2 -0
- data/docs/RegenerateMessageData.md +0 -2
- data/docs/SlimChunkMetadata.md +4 -0
- data/docs/UpdateChunkData.md +2 -0
- data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
- data/lib/trieve_ruby_client/api/chunk_api.rb +161 -11
- data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
- data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
- data/lib/trieve_ruby_client/api/events_api.rb +1 -1
- data/lib/trieve_ruby_client/api/file_api.rb +1 -1
- data/lib/trieve_ruby_client/api/health_api.rb +1 -1
- data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
- data/lib/trieve_ruby_client/api/message_api.rb +1 -1
- data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
- data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
- data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
- data/lib/trieve_ruby_client/api/user_api.rb +1 -1
- data/lib/trieve_ruby_client/api_client.rb +1 -1
- data/lib/trieve_ruby_client/api_error.rb +1 -1
- data/lib/trieve_ruby_client/configuration.rb +1 -1
- data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
- data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
- data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_data.rb +12 -2
- data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_metadata.rb +12 -2
- data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
- data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
- data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/create_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_topic_data.rb +2 -13
- data/lib/trieve_ruby_client/models/dataset.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/edit_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/event.rb +1 -1
- data/lib/trieve_ruby_client/models/event_return.rb +1 -1
- data/lib/trieve_ruby_client/models/field_condition.rb +32 -2
- data/lib/trieve_ruby_client/models/file.rb +1 -1
- data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/generate_chunks_request.rb +2 -13
- data/lib/trieve_ruby_client/models/geo_info.rb +237 -0
- data/lib/trieve_ruby_client/models/geo_types.rb +105 -0
- data/lib/trieve_ruby_client/models/get_chunks_data.rb +223 -0
- data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
- data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
- data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +223 -0
- data/lib/trieve_ruby_client/models/group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
- data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
- data/lib/trieve_ruby_client/models/location_bounding_box.rb +237 -0
- data/lib/trieve_ruby_client/models/location_polygon.rb +235 -0
- data/lib/trieve_ruby_client/models/location_radius.rb +237 -0
- data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
- data/lib/trieve_ruby_client/models/message.rb +1 -1
- data/lib/trieve_ruby_client/models/organization.rb +1 -1
- data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/range.rb +1 -1
- data/lib/trieve_ruby_client/models/range_condition.rb +2 -1
- data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/regenerate_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
- data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
- data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +28 -2
- data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
- data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
- data/lib/trieve_ruby_client/models/topic.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_data.rb +12 -2
- data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +1 -1
- data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
- data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
- data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
- data/lib/trieve_ruby_client/version.rb +2 -2
- data/lib/trieve_ruby_client.rb +8 -1
- data/openapi-generator.yaml +1 -1
- data/openapi.json +322 -28
- data/spec/models/geo_info_spec.rb +42 -0
- data/spec/models/geo_types_spec.rb +32 -0
- data/spec/models/get_chunks_data_spec.rb +36 -0
- data/spec/models/get_tracking_chunks_data_spec.rb +36 -0
- data/spec/models/location_bounding_box_spec.rb +42 -0
- data/spec/models/location_polygon_spec.rb +42 -0
- data/spec/models/location_radius_spec.rb +42 -0
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.7.2.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +31 -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
|
+
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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.7.
|
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
|
@@ -11,5 +11,5 @@ Generator version: 7.4.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module TrieveRubyClient
|
14
|
-
VERSION = '0.7.
|
14
|
+
VERSION = '0.7.6'
|
15
15
|
end
|
data/lib/trieve_ruby_client.rb
CHANGED
@@ -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
|
+
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
|
@@ -51,12 +51,19 @@ require 'trieve_ruby_client/models/field_condition'
|
|
51
51
|
require 'trieve_ruby_client/models/file'
|
52
52
|
require 'trieve_ruby_client/models/file_dto'
|
53
53
|
require 'trieve_ruby_client/models/generate_chunks_request'
|
54
|
+
require 'trieve_ruby_client/models/geo_info'
|
55
|
+
require 'trieve_ruby_client/models/geo_types'
|
56
|
+
require 'trieve_ruby_client/models/get_chunks_data'
|
54
57
|
require 'trieve_ruby_client/models/get_events_data'
|
55
58
|
require 'trieve_ruby_client/models/get_groups_for_chunks_data'
|
59
|
+
require 'trieve_ruby_client/models/get_tracking_chunks_data'
|
56
60
|
require 'trieve_ruby_client/models/group_data'
|
57
61
|
require 'trieve_ruby_client/models/group_score_chunk'
|
58
62
|
require 'trieve_ruby_client/models/group_score_slim_chunks'
|
59
63
|
require 'trieve_ruby_client/models/invitation_data'
|
64
|
+
require 'trieve_ruby_client/models/location_bounding_box'
|
65
|
+
require 'trieve_ruby_client/models/location_polygon'
|
66
|
+
require 'trieve_ruby_client/models/location_radius'
|
60
67
|
require 'trieve_ruby_client/models/match_condition'
|
61
68
|
require 'trieve_ruby_client/models/message'
|
62
69
|
require 'trieve_ruby_client/models/organization'
|
data/openapi-generator.yaml
CHANGED