trieve_ruby_client 0.6.7 → 0.7.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 +7 -7
- data/docs/ChunkData.md +0 -2
- data/docs/ClientDatasetConfiguration.md +2 -0
- data/docs/CreateDatasetRequest.md +3 -1
- data/docs/CreateTopicData.md +3 -1
- data/docs/Dataset.md +2 -0
- data/docs/DatasetApi.md +1 -1
- data/docs/DatasetDTO.md +2 -0
- data/docs/FileApi.md +4 -6
- data/docs/GetEventsData.md +1 -1
- data/docs/RecommendChunksRequest.md +2 -0
- data/docs/RecommendGroupChunksRequest.md +2 -0
- data/docs/Topic.md +3 -3
- data/docs/TopicApi.md +17 -17
- data/docs/UpdateDatasetRequest.md +4 -2
- data/docs/UpdateUserOrgRoleData.md +22 -0
- data/docs/UserApi.md +9 -10
- 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 +4 -11
- 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 +20 -20
- data/lib/trieve_ruby_client/api/user_api.rb +14 -14
- 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 +2 -13
- 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 +1 -1
- data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
- data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +18 -2
- 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 +17 -6
- 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 +23 -6
- data/lib/trieve_ruby_client/models/dataset.rb +12 -2
- data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_dto.rb +12 -2
- 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/get_events_data.rb +2 -2
- data/lib/trieve_ruby_client/models/get_groups_for_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 +1 -1
- data/lib/trieve_ruby_client/models/invitation_data.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 +1 -1
- 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 +13 -2
- data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +13 -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 +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 +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 +21 -21
- 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 +18 -13
- 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_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +250 -0
- 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 +2 -2
- data/openapi-generator.yaml +1 -1
- data/openapi.json +71 -60
- data/spec/models/update_user_org_role_data_spec.rb +48 -0
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.6.7.gem +0 -0
- data/trieve_ruby_client-0.6.9.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +8 -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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -24,12 +24,16 @@ module TrieveRubyClient
|
|
24
24
|
# The name of the topic. If this is not provided, the topic name is generated from the first_user_message.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
# The owner_id of the topic. This is typically a browser fingerprint or your user's id. It is used to group topics together for a user.
|
28
|
+
attr_accessor :owner_id
|
29
|
+
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'first_user_message' => :'first_user_message',
|
31
34
|
:'model' => :'model',
|
32
|
-
:'name' => :'name'
|
35
|
+
:'name' => :'name',
|
36
|
+
:'owner_id' => :'owner_id'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -43,7 +47,8 @@ module TrieveRubyClient
|
|
43
47
|
{
|
44
48
|
:'first_user_message' => :'String',
|
45
49
|
:'model' => :'String',
|
46
|
-
:'name' => :'String'
|
50
|
+
:'name' => :'String',
|
51
|
+
:'owner_id' => :'String'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -52,7 +57,7 @@ module TrieveRubyClient
|
|
52
57
|
Set.new([
|
53
58
|
:'first_user_message',
|
54
59
|
:'model',
|
55
|
-
:'name'
|
60
|
+
:'name',
|
56
61
|
])
|
57
62
|
end
|
58
63
|
|
@@ -82,6 +87,12 @@ module TrieveRubyClient
|
|
82
87
|
if attributes.key?(:'name')
|
83
88
|
self.name = attributes[:'name']
|
84
89
|
end
|
90
|
+
|
91
|
+
if attributes.key?(:'owner_id')
|
92
|
+
self.owner_id = attributes[:'owner_id']
|
93
|
+
else
|
94
|
+
self.owner_id = nil
|
95
|
+
end
|
85
96
|
end
|
86
97
|
|
87
98
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,6 +100,10 @@ module TrieveRubyClient
|
|
89
100
|
def list_invalid_properties
|
90
101
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
91
102
|
invalid_properties = Array.new
|
103
|
+
if @owner_id.nil?
|
104
|
+
invalid_properties.push('invalid value for "owner_id", owner_id cannot be nil.')
|
105
|
+
end
|
106
|
+
|
92
107
|
invalid_properties
|
93
108
|
end
|
94
109
|
|
@@ -96,6 +111,7 @@ module TrieveRubyClient
|
|
96
111
|
# @return true if the model is valid
|
97
112
|
def valid?
|
98
113
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
114
|
+
return false if @owner_id.nil?
|
99
115
|
true
|
100
116
|
end
|
101
117
|
|
@@ -106,7 +122,8 @@ module TrieveRubyClient
|
|
106
122
|
self.class == o.class &&
|
107
123
|
first_user_message == o.first_user_message &&
|
108
124
|
model == o.model &&
|
109
|
-
name == o.name
|
125
|
+
name == o.name &&
|
126
|
+
owner_id == o.owner_id
|
110
127
|
end
|
111
128
|
|
112
129
|
# @see the `==` method
|
@@ -118,7 +135,7 @@ module TrieveRubyClient
|
|
118
135
|
# Calculates hash code according to all attributes.
|
119
136
|
# @return [Integer] Hash code
|
120
137
|
def hash
|
121
|
-
[first_user_message, model, name].hash
|
138
|
+
[first_user_message, model, name, owner_id].hash
|
122
139
|
end
|
123
140
|
|
124
141
|
# 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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -27,6 +27,8 @@ module TrieveRubyClient
|
|
27
27
|
|
28
28
|
attr_accessor :server_configuration
|
29
29
|
|
30
|
+
attr_accessor :tracking_id
|
31
|
+
|
30
32
|
attr_accessor :updated_at
|
31
33
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -38,6 +40,7 @@ module TrieveRubyClient
|
|
38
40
|
:'name' => :'name',
|
39
41
|
:'organization_id' => :'organization_id',
|
40
42
|
:'server_configuration' => :'server_configuration',
|
43
|
+
:'tracking_id' => :'tracking_id',
|
41
44
|
:'updated_at' => :'updated_at'
|
42
45
|
}
|
43
46
|
end
|
@@ -56,6 +59,7 @@ module TrieveRubyClient
|
|
56
59
|
:'name' => :'String',
|
57
60
|
:'organization_id' => :'String',
|
58
61
|
:'server_configuration' => :'Object',
|
62
|
+
:'tracking_id' => :'String',
|
59
63
|
:'updated_at' => :'Time'
|
60
64
|
}
|
61
65
|
end
|
@@ -65,6 +69,7 @@ module TrieveRubyClient
|
|
65
69
|
Set.new([
|
66
70
|
:'client_configuration',
|
67
71
|
:'server_configuration',
|
72
|
+
:'tracking_id',
|
68
73
|
])
|
69
74
|
end
|
70
75
|
|
@@ -119,6 +124,10 @@ module TrieveRubyClient
|
|
119
124
|
self.server_configuration = nil
|
120
125
|
end
|
121
126
|
|
127
|
+
if attributes.key?(:'tracking_id')
|
128
|
+
self.tracking_id = attributes[:'tracking_id']
|
129
|
+
end
|
130
|
+
|
122
131
|
if attributes.key?(:'updated_at')
|
123
132
|
self.updated_at = attributes[:'updated_at']
|
124
133
|
else
|
@@ -177,6 +186,7 @@ module TrieveRubyClient
|
|
177
186
|
name == o.name &&
|
178
187
|
organization_id == o.organization_id &&
|
179
188
|
server_configuration == o.server_configuration &&
|
189
|
+
tracking_id == o.tracking_id &&
|
180
190
|
updated_at == o.updated_at
|
181
191
|
end
|
182
192
|
|
@@ -189,7 +199,7 @@ module TrieveRubyClient
|
|
189
199
|
# Calculates hash code according to all attributes.
|
190
200
|
# @return [Integer] Hash code
|
191
201
|
def hash
|
192
|
-
[client_configuration, created_at, id, name, organization_id, server_configuration, updated_at].hash
|
202
|
+
[client_configuration, created_at, id, name, organization_id, server_configuration, tracking_id, updated_at].hash
|
193
203
|
end
|
194
204
|
|
195
205
|
# 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.7.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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -25,6 +25,8 @@ module TrieveRubyClient
|
|
25
25
|
|
26
26
|
attr_accessor :organization_id
|
27
27
|
|
28
|
+
attr_accessor :tracking_id
|
29
|
+
|
28
30
|
attr_accessor :updated_at
|
29
31
|
|
30
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -35,6 +37,7 @@ module TrieveRubyClient
|
|
35
37
|
:'id' => :'id',
|
36
38
|
:'name' => :'name',
|
37
39
|
:'organization_id' => :'organization_id',
|
40
|
+
:'tracking_id' => :'tracking_id',
|
38
41
|
:'updated_at' => :'updated_at'
|
39
42
|
}
|
40
43
|
end
|
@@ -52,6 +55,7 @@ module TrieveRubyClient
|
|
52
55
|
:'id' => :'String',
|
53
56
|
:'name' => :'String',
|
54
57
|
:'organization_id' => :'String',
|
58
|
+
:'tracking_id' => :'String',
|
55
59
|
:'updated_at' => :'Time'
|
56
60
|
}
|
57
61
|
end
|
@@ -60,6 +64,7 @@ module TrieveRubyClient
|
|
60
64
|
def self.openapi_nullable
|
61
65
|
Set.new([
|
62
66
|
:'client_configuration',
|
67
|
+
:'tracking_id',
|
63
68
|
])
|
64
69
|
end
|
65
70
|
|
@@ -108,6 +113,10 @@ module TrieveRubyClient
|
|
108
113
|
self.organization_id = nil
|
109
114
|
end
|
110
115
|
|
116
|
+
if attributes.key?(:'tracking_id')
|
117
|
+
self.tracking_id = attributes[:'tracking_id']
|
118
|
+
end
|
119
|
+
|
111
120
|
if attributes.key?(:'updated_at')
|
112
121
|
self.updated_at = attributes[:'updated_at']
|
113
122
|
else
|
@@ -165,6 +174,7 @@ module TrieveRubyClient
|
|
165
174
|
id == o.id &&
|
166
175
|
name == o.name &&
|
167
176
|
organization_id == o.organization_id &&
|
177
|
+
tracking_id == o.tracking_id &&
|
168
178
|
updated_at == o.updated_at
|
169
179
|
end
|
170
180
|
|
@@ -177,7 +187,7 @@ module TrieveRubyClient
|
|
177
187
|
# Calculates hash code according to all attributes.
|
178
188
|
# @return [Integer] Hash code
|
179
189
|
def hash
|
180
|
-
[client_configuration, created_at, id, name, organization_id, updated_at].hash
|
190
|
+
[client_configuration, created_at, id, name, organization_id, tracking_id, updated_at].hash
|
181
191
|
end
|
182
192
|
|
183
193
|
# 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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module TrieveRubyClient
|
17
17
|
class GetEventsData
|
18
|
-
# The types of events to get. Any combination of file_uploaded, chunk_uploaded, chunk_action_failed, or
|
18
|
+
# The types of events to get. Any combination of file_uploaded, chunk_uploaded, chunk_action_failed, chunk_updated, or qdrant_index_failed. Leave undefined to get all events.
|
19
19
|
attr_accessor :event_types
|
20
20
|
|
21
21
|
# The page number to get. Default is 1.
|
@@ -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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -32,6 +32,9 @@ module TrieveRubyClient
|
|
32
32
|
# The tracking_ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.
|
33
33
|
attr_accessor :positive_tracking_ids
|
34
34
|
|
35
|
+
# The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.
|
36
|
+
attr_accessor :recommend_type
|
37
|
+
|
35
38
|
# Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement. Default is false.
|
36
39
|
attr_accessor :slim_chunks
|
37
40
|
|
@@ -47,6 +50,7 @@ module TrieveRubyClient
|
|
47
50
|
:'negative_tracking_ids' => :'negative_tracking_ids',
|
48
51
|
:'positive_chunk_ids' => :'positive_chunk_ids',
|
49
52
|
:'positive_tracking_ids' => :'positive_tracking_ids',
|
53
|
+
:'recommend_type' => :'recommend_type',
|
50
54
|
:'slim_chunks' => :'slim_chunks',
|
51
55
|
:'strategy' => :'strategy'
|
52
56
|
}
|
@@ -66,6 +70,7 @@ module TrieveRubyClient
|
|
66
70
|
:'negative_tracking_ids' => :'Array<String>',
|
67
71
|
:'positive_chunk_ids' => :'Array<String>',
|
68
72
|
:'positive_tracking_ids' => :'Array<String>',
|
73
|
+
:'recommend_type' => :'String',
|
69
74
|
:'slim_chunks' => :'Boolean',
|
70
75
|
:'strategy' => :'String'
|
71
76
|
}
|
@@ -80,6 +85,7 @@ module TrieveRubyClient
|
|
80
85
|
:'negative_tracking_ids',
|
81
86
|
:'positive_chunk_ids',
|
82
87
|
:'positive_tracking_ids',
|
88
|
+
:'recommend_type',
|
83
89
|
:'slim_chunks',
|
84
90
|
:'strategy'
|
85
91
|
])
|
@@ -132,6 +138,10 @@ module TrieveRubyClient
|
|
132
138
|
end
|
133
139
|
end
|
134
140
|
|
141
|
+
if attributes.key?(:'recommend_type')
|
142
|
+
self.recommend_type = attributes[:'recommend_type']
|
143
|
+
end
|
144
|
+
|
135
145
|
if attributes.key?(:'slim_chunks')
|
136
146
|
self.slim_chunks = attributes[:'slim_chunks']
|
137
147
|
end
|
@@ -182,6 +192,7 @@ module TrieveRubyClient
|
|
182
192
|
negative_tracking_ids == o.negative_tracking_ids &&
|
183
193
|
positive_chunk_ids == o.positive_chunk_ids &&
|
184
194
|
positive_tracking_ids == o.positive_tracking_ids &&
|
195
|
+
recommend_type == o.recommend_type &&
|
185
196
|
slim_chunks == o.slim_chunks &&
|
186
197
|
strategy == o.strategy
|
187
198
|
end
|
@@ -195,7 +206,7 @@ module TrieveRubyClient
|
|
195
206
|
# Calculates hash code according to all attributes.
|
196
207
|
# @return [Integer] Hash code
|
197
208
|
def hash
|
198
|
-
[filters, limit, negative_chunk_ids, negative_tracking_ids, positive_chunk_ids, positive_tracking_ids, slim_chunks, strategy].hash
|
209
|
+
[filters, limit, negative_chunk_ids, negative_tracking_ids, positive_chunk_ids, positive_tracking_ids, recommend_type, slim_chunks, strategy].hash
|
199
210
|
end
|
200
211
|
|
201
212
|
# 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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -35,6 +35,9 @@ module TrieveRubyClient
|
|
35
35
|
# The ids of the groups to be used as positive examples for the recommendation. The groups in this array will be used to find similar groups.
|
36
36
|
attr_accessor :positive_group_tracking_ids
|
37
37
|
|
38
|
+
# The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.
|
39
|
+
attr_accessor :recommend_type
|
40
|
+
|
38
41
|
# Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement. Default is false.
|
39
42
|
attr_accessor :slim_chunks
|
40
43
|
|
@@ -51,6 +54,7 @@ module TrieveRubyClient
|
|
51
54
|
:'negative_group_tracking_ids' => :'negative_group_tracking_ids',
|
52
55
|
:'positive_group_ids' => :'positive_group_ids',
|
53
56
|
:'positive_group_tracking_ids' => :'positive_group_tracking_ids',
|
57
|
+
:'recommend_type' => :'recommend_type',
|
54
58
|
:'slim_chunks' => :'slim_chunks',
|
55
59
|
:'strategy' => :'strategy'
|
56
60
|
}
|
@@ -71,6 +75,7 @@ module TrieveRubyClient
|
|
71
75
|
:'negative_group_tracking_ids' => :'Array<String>',
|
72
76
|
:'positive_group_ids' => :'Array<String>',
|
73
77
|
:'positive_group_tracking_ids' => :'Array<String>',
|
78
|
+
:'recommend_type' => :'String',
|
74
79
|
:'slim_chunks' => :'Boolean',
|
75
80
|
:'strategy' => :'String'
|
76
81
|
}
|
@@ -86,6 +91,7 @@ module TrieveRubyClient
|
|
86
91
|
:'negative_group_tracking_ids',
|
87
92
|
:'positive_group_ids',
|
88
93
|
:'positive_group_tracking_ids',
|
94
|
+
:'recommend_type',
|
89
95
|
:'slim_chunks',
|
90
96
|
:'strategy'
|
91
97
|
])
|
@@ -142,6 +148,10 @@ module TrieveRubyClient
|
|
142
148
|
end
|
143
149
|
end
|
144
150
|
|
151
|
+
if attributes.key?(:'recommend_type')
|
152
|
+
self.recommend_type = attributes[:'recommend_type']
|
153
|
+
end
|
154
|
+
|
145
155
|
if attributes.key?(:'slim_chunks')
|
146
156
|
self.slim_chunks = attributes[:'slim_chunks']
|
147
157
|
end
|
@@ -208,6 +218,7 @@ module TrieveRubyClient
|
|
208
218
|
negative_group_tracking_ids == o.negative_group_tracking_ids &&
|
209
219
|
positive_group_ids == o.positive_group_ids &&
|
210
220
|
positive_group_tracking_ids == o.positive_group_tracking_ids &&
|
221
|
+
recommend_type == o.recommend_type &&
|
211
222
|
slim_chunks == o.slim_chunks &&
|
212
223
|
strategy == o.strategy
|
213
224
|
end
|
@@ -221,7 +232,7 @@ module TrieveRubyClient
|
|
221
232
|
# Calculates hash code according to all attributes.
|
222
233
|
# @return [Integer] Hash code
|
223
234
|
def hash
|
224
|
-
[filters, group_size, limit, negative_group_ids, negative_group_tracking_ids, positive_group_ids, positive_group_tracking_ids, slim_chunks, strategy].hash
|
235
|
+
[filters, group_size, limit, negative_group_ids, negative_group_tracking_ids, positive_group_ids, positive_group_tracking_ids, recommend_type, slim_chunks, strategy].hash
|
225
236
|
end
|
226
237
|
|
227
238
|
# 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.7.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.7.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.7.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.7.2
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|