trieve_ruby_client 0.5.7 → 0.6.0
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 +6 -6
- data/docs/AddChunkToGroupData.md +4 -2
- data/docs/AuthApi.md +12 -6
- data/docs/ChunkGroup.md +4 -0
- data/docs/ChunkGroupApi.md +13 -13
- data/docs/CreateChunkGroupData.md +4 -0
- data/docs/DatasetApi.md +6 -6
- data/docs/EventsApi.md +1 -1
- data/docs/FileApi.md +2 -2
- data/docs/RecommendChunksRequest.md +3 -1
- data/docs/RecommendGroupChunksRequest.md +34 -0
- data/docs/SearchChunkData.md +1 -3
- data/docs/SearchOverGroupsData.md +3 -5
- data/docs/SearchWithinGroupData.md +1 -3
- data/docs/UpdateChunkGroupData.md +4 -0
- data/docs/UpdateGroupByTrackingIDData.md +4 -0
- data/lib/trieve_ruby_client/api/auth_api.rb +13 -11
- data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
- data/lib/trieve_ruby_client/api/chunk_group_api.rb +18 -18
- data/lib/trieve_ruby_client/api/dataset_api.rb +10 -10
- data/lib/trieve_ruby_client/api/events_api.rb +3 -3
- data/lib/trieve_ruby_client/api/file_api.rb +5 -5
- 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 +17 -12
- 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 +1 -1
- data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group.rb +22 -2
- 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_file_data.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 +26 -2
- 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/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/group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/group_slim_chunks_dto.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 +17 -6
- data/lib/trieve_ruby_client/models/recommend_chunks_response_types.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_group_chunk_response_types.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +341 -0
- 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 +3 -14
- data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_response_types.rb +1 -1
- data/lib/trieve_ruby_client/models/search_group_slim_chunks_result.rb +1 -1
- data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_data.rb +5 -15
- data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_response_types.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_slim_chunks_response_body.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 +3 -14
- data/lib/trieve_ruby_client/models/search_within_group_response_types.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_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 +26 -2
- 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 +26 -2
- 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/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 +176 -177
- data/spec/models/recommend_group_chunks_request_spec.rb +84 -0
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.5.7.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bd762d8a89b0815c978e406a8abb5f797697ae3f39a90c5b57631ddd287e46c
|
4
|
+
data.tar.gz: eef6e62b91d2025556ede8aa043c2195b6ad6ecf5b2656079af9bf78bc8ff6e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f07ed812c2f6724e55ee0c60ca18b322e8473e52135bdcfb46df405277483916f9ef1555ff4c9414b3ec20575d7aad26ff10dac22a1767b977ef37804c562e
|
7
|
+
data.tar.gz: 32c9b6ba5c2878e054fb2b2b223d0468e2e3dc7c911eb05f30e57f42127b30dc4ed5157ad73c76113fff81911ad0503ce447b782fec8d423de73e5db8c5b46d3
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ Trieve OpenAPI Specification. This document describes all of the operations avai
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version: 0.
|
10
|
-
- Package version: 0.
|
9
|
+
- API version: 0.6.0
|
10
|
+
- Package version: 0.6.0
|
11
11
|
- Generator version: 7.4.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://trieve.ai](https://trieve.ai)
|
@@ -25,16 +25,16 @@ gem build trieve_ruby_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./trieve_ruby_client-0.
|
28
|
+
gem install ./trieve_ruby_client-0.6.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./trieve_ruby_client-0.
|
31
|
+
(for development, run `gem install --dev ./trieve_ruby_client-0.6.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'trieve_ruby_client', '~> 0.
|
37
|
+
gem 'trieve_ruby_client', '~> 0.6.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -192,10 +192,10 @@ Class | Method | HTTP request | Description
|
|
192
192
|
- [TrieveRubyClient::OrganizationUsageCount](docs/OrganizationUsageCount.md)
|
193
193
|
- [TrieveRubyClient::Range](docs/Range.md)
|
194
194
|
- [TrieveRubyClient::RangeCondition](docs/RangeCondition.md)
|
195
|
-
- [TrieveRubyClient::ReccomendGroupChunksRequest](docs/ReccomendGroupChunksRequest.md)
|
196
195
|
- [TrieveRubyClient::RecommendChunksRequest](docs/RecommendChunksRequest.md)
|
197
196
|
- [TrieveRubyClient::RecommendChunksResponseTypes](docs/RecommendChunksResponseTypes.md)
|
198
197
|
- [TrieveRubyClient::RecommendGroupChunkResponseTypes](docs/RecommendGroupChunkResponseTypes.md)
|
198
|
+
- [TrieveRubyClient::RecommendGroupChunksRequest](docs/RecommendGroupChunksRequest.md)
|
199
199
|
- [TrieveRubyClient::RegenerateMessageData](docs/RegenerateMessageData.md)
|
200
200
|
- [TrieveRubyClient::ReturnQueuedChunk](docs/ReturnQueuedChunk.md)
|
201
201
|
- [TrieveRubyClient::ScoreChunkDTO](docs/ScoreChunkDTO.md)
|
data/docs/AddChunkToGroupData.md
CHANGED
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **chunk_id** | **String** | Id of the chunk to make a member of the group. |
|
7
|
+
| **chunk_id** | **String** | Id of the chunk to make a member of the group. | [optional] |
|
8
|
+
| **tracking_id** | **String** | Tracking Id of the chunk to make a member of the group. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'trieve_ruby_client'
|
13
14
|
|
14
15
|
instance = TrieveRubyClient::AddChunkToGroupData.new(
|
15
|
-
chunk_id: null
|
16
|
+
chunk_id: null,
|
17
|
+
tracking_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
data/docs/AuthApi.md
CHANGED
@@ -141,7 +141,7 @@ This endpoint does not need any parameter.
|
|
141
141
|
|
142
142
|
## login
|
143
143
|
|
144
|
-
> login(
|
144
|
+
> login(opts)
|
145
145
|
|
146
146
|
Login
|
147
147
|
|
@@ -154,11 +154,15 @@ require 'time'
|
|
154
154
|
require 'trieve_ruby_client'
|
155
155
|
|
156
156
|
api_instance = TrieveRubyClient::AuthApi.new
|
157
|
-
|
157
|
+
opts = {
|
158
|
+
organization_id: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | ID of organization to authenticate into
|
159
|
+
redirect_uri: 'redirect_uri_example', # String | URL to redirect to after successful login
|
160
|
+
inv_code: '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Code sent via email as a result of successful call to send_invitation
|
161
|
+
}
|
158
162
|
|
159
163
|
begin
|
160
164
|
# Login
|
161
|
-
api_instance.login(
|
165
|
+
api_instance.login(opts)
|
162
166
|
rescue TrieveRubyClient::ApiError => e
|
163
167
|
puts "Error when calling AuthApi->login: #{e}"
|
164
168
|
end
|
@@ -168,12 +172,12 @@ end
|
|
168
172
|
|
169
173
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
170
174
|
|
171
|
-
> <Array(nil, Integer, Hash)> login_with_http_info(
|
175
|
+
> <Array(nil, Integer, Hash)> login_with_http_info(opts)
|
172
176
|
|
173
177
|
```ruby
|
174
178
|
begin
|
175
179
|
# Login
|
176
|
-
data, status_code, headers = api_instance.login_with_http_info(
|
180
|
+
data, status_code, headers = api_instance.login_with_http_info(opts)
|
177
181
|
p status_code # => 2xx
|
178
182
|
p headers # => { ... }
|
179
183
|
p data # => nil
|
@@ -186,7 +190,9 @@ end
|
|
186
190
|
|
187
191
|
| Name | Type | Description | Notes |
|
188
192
|
| ---- | ---- | ----------- | ----- |
|
189
|
-
| **
|
193
|
+
| **organization_id** | **String** | ID of organization to authenticate into | [optional] |
|
194
|
+
| **redirect_uri** | **String** | URL to redirect to after successful login | [optional] |
|
195
|
+
| **inv_code** | **String** | Code sent via email as a result of successful call to send_invitation | [optional] |
|
190
196
|
|
191
197
|
### Return type
|
192
198
|
|
data/docs/ChunkGroup.md
CHANGED
@@ -8,7 +8,9 @@
|
|
8
8
|
| **dataset_id** | **String** | | |
|
9
9
|
| **description** | **String** | | |
|
10
10
|
| **id** | **String** | | |
|
11
|
+
| **metadata** | **Object** | | [optional] |
|
11
12
|
| **name** | **String** | | |
|
13
|
+
| **tag_set** | **String** | | [optional] |
|
12
14
|
| **tracking_id** | **String** | | [optional] |
|
13
15
|
| **updated_at** | **Time** | | |
|
14
16
|
|
@@ -22,7 +24,9 @@ instance = TrieveRubyClient::ChunkGroup.new(
|
|
22
24
|
dataset_id: null,
|
23
25
|
description: null,
|
24
26
|
id: null,
|
27
|
+
metadata: null,
|
25
28
|
name: null,
|
29
|
+
tag_set: null,
|
26
30
|
tracking_id: null,
|
27
31
|
updated_at: null
|
28
32
|
)
|
data/docs/ChunkGroupApi.md
CHANGED
@@ -47,7 +47,7 @@ end
|
|
47
47
|
api_instance = TrieveRubyClient::ChunkGroupApi.new
|
48
48
|
tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
|
49
49
|
group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group to add the chunk to as a bookmark
|
50
|
-
add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new
|
50
|
+
add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new # AddChunkToGroupData | JSON request payload to add a chunk to a group (bookmark it)
|
51
51
|
|
52
52
|
begin
|
53
53
|
# Add Chunk to Group
|
@@ -121,7 +121,7 @@ end
|
|
121
121
|
api_instance = TrieveRubyClient::ChunkGroupApi.new
|
122
122
|
tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
|
123
123
|
tracking_id = 'tracking_id_example' # String | Id of the group to add the chunk to as a bookmark
|
124
|
-
add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new
|
124
|
+
add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new # AddChunkToGroupData | JSON request payload to add a chunk to a group (bookmark it)
|
125
125
|
|
126
126
|
begin
|
127
127
|
# Add Chunk to Group by Tracking ID
|
@@ -250,7 +250,7 @@ end
|
|
250
250
|
|
251
251
|
Delete Group
|
252
252
|
|
253
|
-
Delete Group This will delete a chunk_group.
|
253
|
+
Delete Group This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group.
|
254
254
|
|
255
255
|
### Examples
|
256
256
|
|
@@ -469,7 +469,7 @@ end
|
|
469
469
|
|
470
470
|
Get Chunks in Group
|
471
471
|
|
472
|
-
Get Chunks in Group Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks.
|
472
|
+
Get Chunks in Group Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Page is 1-indexed.
|
473
473
|
|
474
474
|
### Examples
|
475
475
|
|
@@ -544,7 +544,7 @@ end
|
|
544
544
|
|
545
545
|
Get Chunks in Group by Tracking ID
|
546
546
|
|
547
|
-
Get Chunks in Group by Tracking ID Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon.
|
547
|
+
Get Chunks in Group by Tracking ID Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon. Page is 1-indexed.
|
548
548
|
|
549
549
|
### Examples
|
550
550
|
|
@@ -761,7 +761,7 @@ end
|
|
761
761
|
|
762
762
|
## get_recommended_groups
|
763
763
|
|
764
|
-
> <RecommendGroupChunkResponseTypes> get_recommended_groups(tr_dataset,
|
764
|
+
> <RecommendGroupChunkResponseTypes> get_recommended_groups(tr_dataset, recommend_group_chunks_request)
|
765
765
|
|
766
766
|
Get Recommended Groups
|
767
767
|
|
@@ -782,11 +782,11 @@ end
|
|
782
782
|
|
783
783
|
api_instance = TrieveRubyClient::ChunkGroupApi.new
|
784
784
|
tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
|
785
|
-
|
785
|
+
recommend_group_chunks_request = TrieveRubyClient::RecommendGroupChunksRequest.new # RecommendGroupChunksRequest | JSON request payload to get recommendations of chunks similar to the chunks in the request
|
786
786
|
|
787
787
|
begin
|
788
788
|
# Get Recommended Groups
|
789
|
-
result = api_instance.get_recommended_groups(tr_dataset,
|
789
|
+
result = api_instance.get_recommended_groups(tr_dataset, recommend_group_chunks_request)
|
790
790
|
p result
|
791
791
|
rescue TrieveRubyClient::ApiError => e
|
792
792
|
puts "Error when calling ChunkGroupApi->get_recommended_groups: #{e}"
|
@@ -797,12 +797,12 @@ end
|
|
797
797
|
|
798
798
|
This returns an Array which contains the response data, status code and headers.
|
799
799
|
|
800
|
-
> <Array(<RecommendGroupChunkResponseTypes>, Integer, Hash)> get_recommended_groups_with_http_info(tr_dataset,
|
800
|
+
> <Array(<RecommendGroupChunkResponseTypes>, Integer, Hash)> get_recommended_groups_with_http_info(tr_dataset, recommend_group_chunks_request)
|
801
801
|
|
802
802
|
```ruby
|
803
803
|
begin
|
804
804
|
# Get Recommended Groups
|
805
|
-
data, status_code, headers = api_instance.get_recommended_groups_with_http_info(tr_dataset,
|
805
|
+
data, status_code, headers = api_instance.get_recommended_groups_with_http_info(tr_dataset, recommend_group_chunks_request)
|
806
806
|
p status_code # => 2xx
|
807
807
|
p headers # => { ... }
|
808
808
|
p data # => <RecommendGroupChunkResponseTypes>
|
@@ -816,7 +816,7 @@ end
|
|
816
816
|
| Name | Type | Description | Notes |
|
817
817
|
| ---- | ---- | ----------- | ----- |
|
818
818
|
| **tr_dataset** | **String** | The dataset id to use for the request | |
|
819
|
-
| **
|
819
|
+
| **recommend_group_chunks_request** | [**RecommendGroupChunksRequest**](RecommendGroupChunksRequest.md) | JSON request payload to get recommendations of chunks similar to the chunks in the request | |
|
820
820
|
|
821
821
|
### Return type
|
822
822
|
|
@@ -856,7 +856,7 @@ end
|
|
856
856
|
api_instance = TrieveRubyClient::ChunkGroupApi.new
|
857
857
|
tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
|
858
858
|
dataset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the dataset to fetch groups for.
|
859
|
-
page = 789 # Integer | The page of groups to fetch.
|
859
|
+
page = 789 # Integer | The page of groups to fetch. Page is 1-indexed.
|
860
860
|
|
861
861
|
begin
|
862
862
|
# Get Groups for Dataset
|
@@ -891,7 +891,7 @@ end
|
|
891
891
|
| ---- | ---- | ----------- | ----- |
|
892
892
|
| **tr_dataset** | **String** | The dataset id to use for the request | |
|
893
893
|
| **dataset_id** | **String** | The id of the dataset to fetch groups for. | |
|
894
|
-
| **page** | **Integer** | The page of groups to fetch.
|
894
|
+
| **page** | **Integer** | The page of groups to fetch. Page is 1-indexed. | |
|
895
895
|
|
896
896
|
### Return type
|
897
897
|
|
@@ -5,7 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **description** | **String** | Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for. | |
|
8
|
+
| **metadata** | **Object** | Optional metadata to assign to the chunk_group. This is a JSON object that can store any additional information you want to associate with the chunks inside of the chunk_group. | [optional] |
|
8
9
|
| **name** | **String** | Name to assign to the chunk_group. Does not need to be unique. | |
|
10
|
+
| **tag_set** | **Array<String>** | Optional tags to assign to the chunk_group. This is a list of strings that can be used to categorize the chunks inside the chunk_group. | [optional] |
|
9
11
|
| **tracking_id** | **String** | Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group. | [optional] |
|
10
12
|
|
11
13
|
## Example
|
@@ -15,7 +17,9 @@ require 'trieve_ruby_client'
|
|
15
17
|
|
16
18
|
instance = TrieveRubyClient::CreateChunkGroupData.new(
|
17
19
|
description: null,
|
20
|
+
metadata: null,
|
18
21
|
name: null,
|
22
|
+
tag_set: null,
|
19
23
|
tracking_id: null
|
20
24
|
)
|
21
25
|
```
|
data/docs/DatasetApi.md
CHANGED
@@ -87,7 +87,7 @@ end
|
|
87
87
|
|
88
88
|
## delete_dataset
|
89
89
|
|
90
|
-
> delete_dataset(
|
90
|
+
> delete_dataset(tr_dataset, dataset_id)
|
91
91
|
|
92
92
|
Delete Dataset
|
93
93
|
|
@@ -107,12 +107,12 @@ TrieveRubyClient.configure do |config|
|
|
107
107
|
end
|
108
108
|
|
109
109
|
api_instance = TrieveRubyClient::DatasetApi.new
|
110
|
-
|
110
|
+
tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
|
111
111
|
dataset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the dataset you want to delete.
|
112
112
|
|
113
113
|
begin
|
114
114
|
# Delete Dataset
|
115
|
-
api_instance.delete_dataset(
|
115
|
+
api_instance.delete_dataset(tr_dataset, dataset_id)
|
116
116
|
rescue TrieveRubyClient::ApiError => e
|
117
117
|
puts "Error when calling DatasetApi->delete_dataset: #{e}"
|
118
118
|
end
|
@@ -122,12 +122,12 @@ end
|
|
122
122
|
|
123
123
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
124
124
|
|
125
|
-
> <Array(nil, Integer, Hash)> delete_dataset_with_http_info(
|
125
|
+
> <Array(nil, Integer, Hash)> delete_dataset_with_http_info(tr_dataset, dataset_id)
|
126
126
|
|
127
127
|
```ruby
|
128
128
|
begin
|
129
129
|
# Delete Dataset
|
130
|
-
data, status_code, headers = api_instance.delete_dataset_with_http_info(
|
130
|
+
data, status_code, headers = api_instance.delete_dataset_with_http_info(tr_dataset, dataset_id)
|
131
131
|
p status_code # => 2xx
|
132
132
|
p headers # => { ... }
|
133
133
|
p data # => nil
|
@@ -140,7 +140,7 @@ end
|
|
140
140
|
|
141
141
|
| Name | Type | Description | Notes |
|
142
142
|
| ---- | ---- | ----------- | ----- |
|
143
|
-
| **
|
143
|
+
| **tr_dataset** | **String** | The dataset id to use for the request | |
|
144
144
|
| **dataset_id** | **String** | The id of the dataset you want to delete. | |
|
145
145
|
|
146
146
|
### Return type
|
data/docs/EventsApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.trieve.ai*
|
|
13
13
|
|
14
14
|
Get events for the dataset
|
15
15
|
|
16
|
-
Get events for the dataset Get events for the
|
16
|
+
Get events for the dataset Get events for the dataset specified by the TR-Dataset header.
|
17
17
|
|
18
18
|
### Examples
|
19
19
|
|
data/docs/FileApi.md
CHANGED
@@ -16,7 +16,7 @@ All URIs are relative to *https://api.trieve.ai*
|
|
16
16
|
|
17
17
|
Delete File
|
18
18
|
|
19
|
-
Delete File Delete a file from S3 attached to the server based on its id. This will disassociate chunks from the file, but
|
19
|
+
Delete File Delete a file from S3 attached to the server based on its id. This will disassociate chunks from the file, but only delete them all together if you specify delete_chunks to be true. Auth'ed user must be an admin or owner of the dataset's organization to delete a file.
|
20
20
|
|
21
21
|
### Examples
|
22
22
|
|
@@ -165,7 +165,7 @@ end
|
|
165
165
|
|
166
166
|
Get File
|
167
167
|
|
168
|
-
Get File Download a file
|
168
|
+
Get File Download a file based on its id.
|
169
169
|
|
170
170
|
### Examples
|
171
171
|
|
@@ -11,6 +11,7 @@
|
|
11
11
|
| **positive_chunk_ids** | **Array<String>** | The 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. | [optional] |
|
12
12
|
| **positive_tracking_ids** | **Array<String>** | 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. | [optional] |
|
13
13
|
| **slim_chunks** | **Boolean** | 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. | [optional] |
|
14
|
+
| **strategy** | **String** | Strategy to use for recommendations, either \"average_vector\" or \"best_score\". The default is \"average_vector\". The \"average_vector\" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The \"best_score\" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives. | [optional] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = TrieveRubyClient::RecommendChunksRequest.new(
|
|
24
25
|
negative_tracking_ids: null,
|
25
26
|
positive_chunk_ids: null,
|
26
27
|
positive_tracking_ids: null,
|
27
|
-
slim_chunks: null
|
28
|
+
slim_chunks: null,
|
29
|
+
strategy: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# TrieveRubyClient::RecommendGroupChunksRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **filters** | [**ChunkFilter**](ChunkFilter.md) | | [optional] |
|
8
|
+
| **group_size** | **Integer** | The number of chunks to fetch for each group. This is the number of chunks which will be returned in the response for each group. The default is 3. If this is set to a large number, we recommend setting slim_chunks to true to avoid returning the content and chunk_html of the chunks so as to reduce latency due to content download and serialization. | [optional] |
|
9
|
+
| **limit** | **Integer** | The number of groups to return. This is the number of groups which will be returned in the response. The default is 10. | [optional] |
|
10
|
+
| **negative_group_ids** | **Array<String>** | The ids of the groups to be used as negative examples for the recommendation. The groups in this array will be used to filter out similar groups. | [optional] |
|
11
|
+
| **negative_group_tracking_ids** | **Array<String>** | The ids of the groups to be used as negative examples for the recommendation. The groups in this array will be used to filter out similar groups. | [optional] |
|
12
|
+
| **positive_group_ids** | **Array<String>** | 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. | [optional] |
|
13
|
+
| **positive_group_tracking_ids** | **Array<String>** | 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. | [optional] |
|
14
|
+
| **slim_chunks** | **Boolean** | 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. | [optional] |
|
15
|
+
| **strategy** | **String** | Strategy to use for recommendations, either \"average_vector\" or \"best_score\". The default is \"average_vector\". The \"average_vector\" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The \"best_score\" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives. | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'trieve_ruby_client'
|
21
|
+
|
22
|
+
instance = TrieveRubyClient::RecommendGroupChunksRequest.new(
|
23
|
+
filters: null,
|
24
|
+
group_size: null,
|
25
|
+
limit: null,
|
26
|
+
negative_group_ids: null,
|
27
|
+
negative_group_tracking_ids: null,
|
28
|
+
positive_group_ids: null,
|
29
|
+
positive_group_tracking_ids: null,
|
30
|
+
slim_chunks: null,
|
31
|
+
strategy: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
data/docs/SearchChunkData.md
CHANGED
@@ -9,10 +9,9 @@
|
|
9
9
|
| **get_collisions** | **Boolean** | Set get_collisions to true to get the collisions for each chunk. This will only apply if environment variable COLLISIONS_ENABLED is set to true. | [optional] |
|
10
10
|
| **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
|
11
11
|
| **highlight_results** | **Boolean** | Set highlight_results to true to highlight the results. If not specified, this defaults to true. | [optional] |
|
12
|
-
| **page** | **Integer** | Page of chunks to fetch.
|
12
|
+
| **page** | **Integer** | Page of chunks to fetch. Page is 1-indexed. | [optional] |
|
13
13
|
| **page_size** | **Integer** | Page size is the number of chunks to fetch. This can be used to fetch more than 10 chunks at a time. | [optional] |
|
14
14
|
| **query** | **String** | Query is the search query. This can be any string. The query will be used to create an embedding vector and/or SPLADE vector which will be used to find the result set. | |
|
15
|
-
| **quote_negated_words** | **Boolean** | Turn on quote words and negated words to search for exact phrases and exclude words from the search results. Default is false. | [optional] |
|
16
15
|
| **score_threshold** | **Float** | Set score_threshold to a float to filter out chunks with a score below the threshold. | [optional] |
|
17
16
|
| **search_type** | **String** | Can be either \"semantic\", \"fulltext\", or \"hybrid\". \"hybrid\" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using BAAI/bge-reranker-large. \"semantic\" will pull in one page (10 chunks) of the nearest cosine distant vectors. \"fulltext\" will pull in one page (10 chunks) of full-text results based on SPLADE. | |
|
18
17
|
| **slim_chunks** | **Boolean** | 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. | [optional] |
|
@@ -32,7 +31,6 @@ instance = TrieveRubyClient::SearchChunkData.new(
|
|
32
31
|
page: null,
|
33
32
|
page_size: null,
|
34
33
|
query: null,
|
35
|
-
quote_negated_words: null,
|
36
34
|
score_threshold: null,
|
37
35
|
search_type: null,
|
38
36
|
slim_chunks: null,
|
@@ -6,13 +6,12 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **filters** | [**ChunkFilter**](ChunkFilter.md) | | [optional] |
|
8
8
|
| **get_collisions** | **Boolean** | Set get_collisions to true to get the collisions for each chunk. This will only apply if environment variable COLLISIONS_ENABLED is set to true. | [optional] |
|
9
|
-
| **group_size** | **Integer** |
|
9
|
+
| **group_size** | **Integer** | Group_size is the number of chunks to fetch for each group. The default is 3. If a group has less than group_size chunks, all chunks will be returned. If this is set to a large number, we recommend setting slim_chunks to true to avoid returning the content and chunk_html of the chunks so as to lower the amount of time required for content download and serialization. | [optional] |
|
10
10
|
| **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
|
11
11
|
| **highlight_results** | **Boolean** | Set highlight_results to true to highlight the results. If not specified, this defaults to true. | [optional] |
|
12
|
-
| **page** | **Integer** | Page of
|
13
|
-
| **page_size** | **Integer** | Page size is the number of
|
12
|
+
| **page** | **Integer** | Page of group results to fetch. Page is 1-indexed. | [optional] |
|
13
|
+
| **page_size** | **Integer** | Page size is the number of group results to fetch. The default is 10. | [optional] |
|
14
14
|
| **query** | **String** | Query is the search query. This can be any string. The query will be used to create an embedding vector and/or SPLADE vector which will be used to find the result set. | |
|
15
|
-
| **quote_negated_words** | **Boolean** | Turn on quote words and negated words to search for exact phrases and exclude words from the search results. Default is false. | [optional] |
|
16
15
|
| **score_threshold** | **Float** | Set score_threshold to a float to filter out chunks with a score below the threshold. | [optional] |
|
17
16
|
| **search_type** | **String** | Can be either \"semantic\", \"fulltext\", or \"hybrid\". \"hybrid\" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using BAAI/bge-reranker-large. \"semantic\" will pull in one page (10 chunks) of the nearest cosine distant vectors. \"fulltext\" will pull in one page (10 chunks) of full-text results based on SPLADE. | |
|
18
17
|
| **slim_chunks** | **Boolean** | 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. | [optional] |
|
@@ -31,7 +30,6 @@ instance = TrieveRubyClient::SearchOverGroupsData.new(
|
|
31
30
|
page: null,
|
32
31
|
page_size: null,
|
33
32
|
query: null,
|
34
|
-
quote_negated_words: null,
|
35
33
|
score_threshold: null,
|
36
34
|
search_type: null,
|
37
35
|
slim_chunks: null
|
@@ -10,10 +10,9 @@
|
|
10
10
|
| **group_tracking_id** | **String** | Group_tracking_id specifies the group to search within by tracking id. Results will only consist of chunks which are bookmarks within the specified group. If both group_id and group_tracking_id are provided, group_id will be used. | [optional] |
|
11
11
|
| **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
|
12
12
|
| **highlight_results** | **Boolean** | Set highlight_results to true to highlight the results. If not specified, this defaults to true. | [optional] |
|
13
|
-
| **page** | **Integer** | The page of chunks to fetch.
|
13
|
+
| **page** | **Integer** | The page of chunks to fetch. Page is 1-indexed. | [optional] |
|
14
14
|
| **page_size** | **Integer** | The page size is the number of chunks to fetch. This can be used to fetch more than 10 chunks at a time. | [optional] |
|
15
15
|
| **query** | **String** | The query is the search query. This can be any string. The query will be used to create an embedding vector and/or SPLADE vector which will be used to find the result set. | |
|
16
|
-
| **quote_negated_words** | **Boolean** | Turn on quote words and negated words to search for exact phrases and exclude words from the search results. Default is false. | [optional] |
|
17
16
|
| **score_threshold** | **Float** | Set score_threshold to a float to filter out chunks with a score below the threshold. | [optional] |
|
18
17
|
| **search_type** | **String** | Search_type can be either \"semantic\", \"fulltext\", or \"hybrid\". \"hybrid\" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using BAAI/bge-reranker-large. \"semantic\" will pull in one page (10 chunks) of the nearest cosine distant vectors. \"fulltext\" will pull in one page (10 chunks) of full-text results based on SPLADE. | |
|
19
18
|
| **slim_chunks** | **Boolean** | 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. | [optional] |
|
@@ -34,7 +33,6 @@ instance = TrieveRubyClient::SearchWithinGroupData.new(
|
|
34
33
|
page: null,
|
35
34
|
page_size: null,
|
36
35
|
query: null,
|
37
|
-
quote_negated_words: null,
|
38
36
|
score_threshold: null,
|
39
37
|
search_type: null,
|
40
38
|
slim_chunks: null,
|
@@ -6,7 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **description** | **String** | Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for. If not provided, the description will not be updated. | [optional] |
|
8
8
|
| **group_id** | **String** | Id of the chunk_group to update. | [optional] |
|
9
|
+
| **metadata** | **Object** | Optional metadata to assign to the chunk_group. This is a JSON object that can store any additional information you want to associate with the chunks inside of the chunk_group. | [optional] |
|
9
10
|
| **name** | **String** | Name to assign to the chunk_group. Does not need to be unique. If not provided, the name will not be updated. | [optional] |
|
11
|
+
| **tag_set** | **Array<String>** | Optional tags to assign to the chunk_group. This is a list of strings that can be used to categorize the chunks inside the chunk_group. | [optional] |
|
10
12
|
| **tracking_id** | **String** | Tracking Id of the chunk_group to update. | [optional] |
|
11
13
|
|
12
14
|
## Example
|
@@ -17,7 +19,9 @@ require 'trieve_ruby_client'
|
|
17
19
|
instance = TrieveRubyClient::UpdateChunkGroupData.new(
|
18
20
|
description: null,
|
19
21
|
group_id: null,
|
22
|
+
metadata: null,
|
20
23
|
name: null,
|
24
|
+
tag_set: null,
|
21
25
|
tracking_id: null
|
22
26
|
)
|
23
27
|
```
|
@@ -5,7 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **description** | **String** | Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for. If not provided, the description will not be updated. | [optional] |
|
8
|
+
| **metadata** | **Object** | Optional metadata to assign to the chunk_group. This is a JSON object that can store any additional information you want to associate with the chunks inside of the chunk_group. | [optional] |
|
8
9
|
| **name** | **String** | Name to assign to the chunk_group. Does not need to be unique. If not provided, the name will not be updated. | [optional] |
|
10
|
+
| **tag_set** | **Array<String>** | Optional tags to assign to the chunk_group. This is a list of strings that can be used to categorize the chunks inside the chunk_group. | [optional] |
|
9
11
|
| **tracking_id** | **String** | Tracking Id of the chunk_group to update. | |
|
10
12
|
|
11
13
|
## Example
|
@@ -15,7 +17,9 @@ require 'trieve_ruby_client'
|
|
15
17
|
|
16
18
|
instance = TrieveRubyClient::UpdateGroupByTrackingIDData.new(
|
17
19
|
description: null,
|
20
|
+
metadata: null,
|
18
21
|
name: null,
|
22
|
+
tag_set: null,
|
19
23
|
tracking_id: null
|
20
24
|
)
|
21
25
|
```
|
@@ -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.6.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -135,33 +135,35 @@ module TrieveRubyClient
|
|
135
135
|
|
136
136
|
# Login
|
137
137
|
# Login This will redirect you to the OAuth provider for authentication with email/pass, SSO, Google, Github, etc.
|
138
|
-
# @param content [AuthQuery] Query parameters for login to be included as kv pairs after ? on the request URL.
|
139
138
|
# @param [Hash] opts the optional parameters
|
139
|
+
# @option opts [String] :organization_id ID of organization to authenticate into
|
140
|
+
# @option opts [String] :redirect_uri URL to redirect to after successful login
|
141
|
+
# @option opts [String] :inv_code Code sent via email as a result of successful call to send_invitation
|
140
142
|
# @return [nil]
|
141
|
-
def login(
|
142
|
-
login_with_http_info(
|
143
|
+
def login(opts = {})
|
144
|
+
login_with_http_info(opts)
|
143
145
|
nil
|
144
146
|
end
|
145
147
|
|
146
148
|
# Login
|
147
149
|
# Login This will redirect you to the OAuth provider for authentication with email/pass, SSO, Google, Github, etc.
|
148
|
-
# @param content [AuthQuery] Query parameters for login to be included as kv pairs after ? on the request URL.
|
149
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :organization_id ID of organization to authenticate into
|
152
|
+
# @option opts [String] :redirect_uri URL to redirect to after successful login
|
153
|
+
# @option opts [String] :inv_code Code sent via email as a result of successful call to send_invitation
|
150
154
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
151
|
-
def login_with_http_info(
|
155
|
+
def login_with_http_info(opts = {})
|
152
156
|
if @api_client.config.debugging
|
153
157
|
@api_client.config.logger.debug 'Calling API: AuthApi.login ...'
|
154
158
|
end
|
155
|
-
# verify the required parameter 'content' is set
|
156
|
-
if @api_client.config.client_side_validation && content.nil?
|
157
|
-
fail ArgumentError, "Missing the required parameter 'content' when calling AuthApi.login"
|
158
|
-
end
|
159
159
|
# resource path
|
160
160
|
local_var_path = '/api/auth'
|
161
161
|
|
162
162
|
# query parameters
|
163
163
|
query_params = opts[:query_params] || {}
|
164
|
-
query_params[:'
|
164
|
+
query_params[:'organization_id'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
165
|
+
query_params[:'redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
166
|
+
query_params[:'inv_code'] = opts[:'inv_code'] if !opts[:'inv_code'].nil?
|
165
167
|
|
166
168
|
# header parameters
|
167
169
|
header_params = opts[:header_params] || {}
|
@@ -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.6.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|