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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ChunkData.md +1 -1
- data/docs/ChunkMetadata.md +0 -2
- data/docs/ChunkMetadataWithScore.md +0 -2
- data/docs/CreateChunkGroupData.md +3 -1
- data/docs/GroupScoreSlimChunks.md +4 -0
- data/docs/OrganizationUsageCount.md +2 -0
- data/docs/RecommendChunksRequest.md +1 -1
- data/docs/RecommendGroupChunksRequest.md +1 -1
- data/docs/SearchChunkData.md +6 -4
- data/docs/SearchOverGroupsData.md +4 -2
- data/docs/SearchWithinGroupData.md +6 -4
- data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
- data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
- 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 +8 -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 +2 -18
- data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +2 -18
- 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 +17 -6
- data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/trieve_ruby_client/models/geo_info.rb +1 -1
- data/lib/trieve_ruby_client/models/geo_types.rb +1 -1
- data/lib/trieve_ruby_client/models/get_chunks_data.rb +1 -1
- 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 +1 -1
- 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 +22 -2
- data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
- data/lib/trieve_ruby_client/models/location_bounding_box.rb +1 -1
- data/lib/trieve_ruby_client/models/location_polygon.rb +1 -1
- data/lib/trieve_ruby_client/models/location_radius.rb +1 -1
- 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 +18 -2
- data/lib/trieve_ruby_client/models/range.rb +1 -1
- data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +2 -2
- data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +2 -2
- data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
- 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 +26 -15
- 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 +15 -4
- 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 +26 -15
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/openapi-generator.yaml +1 -1
- data/openapi.json +150 -37
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.7.6.gem +0 -0
- data/trieve_ruby_client-0.8.0.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- 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.
|
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,
|
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.
|
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,
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|