trieve_ruby_client 0.3.5 → 0.5.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 +78 -74
- data/docs/AddChunkToGroupData.md +1 -1
- data/docs/AuthApi.md +28 -34
- data/docs/AuthQuery.md +22 -0
- data/docs/BatchQueuedChunkResponse.md +20 -0
- data/docs/ChunkApi.md +69 -147
- data/docs/ChunkData.md +42 -0
- data/docs/ChunkGroupApi.md +168 -90
- data/docs/CreateChunkData.md +41 -34
- data/docs/DatasetApi.md +31 -31
- data/docs/EventsApi.md +13 -13
- data/docs/FileApi.md +21 -21
- data/docs/GetEventsData.md +22 -0
- data/docs/HealthApi.md +6 -4
- data/docs/InvitationApi.md +6 -6
- data/docs/MessageApi.md +21 -21
- data/docs/OrganizationApi.md +31 -31
- data/docs/ReturnQueuedChunk.md +39 -10
- data/docs/SingleQueuedChunkResponse.md +20 -0
- data/docs/StripeApi.md +21 -13
- data/docs/TopicApi.md +21 -21
- data/docs/UserApi.md +16 -16
- data/lib/trieve_ruby_client/api/auth_api.rb +27 -34
- data/lib/trieve_ruby_client/api/chunk_api.rb +64 -143
- data/lib/trieve_ruby_client/api/chunk_group_api.rb +153 -75
- data/lib/trieve_ruby_client/api/dataset_api.rb +25 -25
- data/lib/trieve_ruby_client/api/events_api.rb +21 -16
- data/lib/trieve_ruby_client/api/file_api.rb +17 -17
- data/lib/trieve_ruby_client/api/health_api.rb +5 -1
- data/lib/trieve_ruby_client/api/invitation_api.rb +5 -5
- data/lib/trieve_ruby_client/api/message_api.rb +17 -17
- data/lib/trieve_ruby_client/api/organization_api.rb +25 -25
- data/lib/trieve_ruby_client/api/stripe_api.rb +17 -1
- data/lib/trieve_ruby_client/api/topic_api.rb +17 -17
- data/lib/trieve_ruby_client/api/user_api.rb +13 -13
- 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 +8 -4
- data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +2 -2
- data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/{stripe_subscription.rb → auth_query.rb} +23 -96
- data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +240 -0
- 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 +356 -0
- 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_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 +79 -330
- data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/create_message_data.rb +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_dataset_request.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 +240 -0
- 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/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/reccomend_group_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
- data/lib/trieve_ruby_client/models/return_queued_chunk.rb +75 -207
- data/lib/trieve_ruby_client/models/score_chunk_dto.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_groups_result.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_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_data.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 +238 -0
- 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_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 +6 -2
- data/openapi-generator.yaml +1 -1
- data/openapi.json +1196 -849
- data/spec/api/auth_api_spec.rb +16 -18
- data/spec/api/chunk_api_spec.rb +30 -43
- data/spec/api/chunk_group_api_spec.rb +54 -33
- data/spec/api/dataset_api_spec.rb +19 -19
- data/spec/api/events_api_spec.rb +10 -10
- data/spec/api/file_api_spec.rb +15 -15
- data/spec/api/health_api_spec.rb +9 -7
- data/spec/api/invitation_api_spec.rb +9 -9
- data/spec/api/message_api_spec.rb +15 -15
- data/spec/api/organization_api_spec.rb +19 -19
- data/spec/api/stripe_api_spec.rb +15 -7
- data/spec/api/topic_api_spec.rb +15 -15
- data/spec/api/user_api_spec.rb +13 -13
- data/spec/models/add_chunk_to_group_data_spec.rb +8 -8
- data/spec/models/api_key_dto_spec.rb +8 -8
- data/spec/models/auth_query_spec.rb +48 -0
- data/spec/models/batch_queued_chunk_response_spec.rb +42 -0
- data/spec/models/bookmark_data_spec.rb +8 -8
- data/spec/models/bookmark_group_result_spec.rb +8 -8
- data/spec/models/chat_message_proxy_spec.rb +8 -8
- data/spec/models/chunk_data_spec.rb +108 -0
- data/spec/models/chunk_filter_spec.rb +8 -8
- data/spec/models/chunk_group_and_file_spec.rb +8 -8
- data/spec/models/chunk_group_spec.rb +8 -8
- data/spec/models/chunk_metadata_spec.rb +8 -8
- data/spec/models/chunk_metadata_with_file_data_spec.rb +8 -8
- data/spec/models/client_dataset_configuration_spec.rb +8 -8
- data/spec/models/create_chunk_data_spec.rb +11 -87
- data/spec/models/create_chunk_group_data_spec.rb +8 -8
- data/spec/models/create_dataset_request_spec.rb +8 -8
- data/spec/models/create_message_data_spec.rb +8 -8
- data/spec/models/create_organization_data_spec.rb +8 -8
- data/spec/models/create_topic_data_spec.rb +8 -8
- data/spec/models/dataset_and_usage_spec.rb +8 -8
- data/spec/models/dataset_dto_spec.rb +8 -8
- data/spec/models/dataset_spec.rb +8 -8
- data/spec/models/dataset_usage_count_spec.rb +8 -8
- data/spec/models/delete_dataset_request_spec.rb +8 -8
- data/spec/models/delete_topic_data_spec.rb +8 -8
- data/spec/models/delete_user_api_key_request_spec.rb +8 -8
- data/spec/models/edit_message_data_spec.rb +8 -8
- data/spec/models/error_response_body_spec.rb +8 -8
- data/spec/models/event_return_spec.rb +8 -8
- data/spec/models/event_spec.rb +8 -8
- data/spec/models/field_condition_spec.rb +8 -8
- data/spec/models/file_dto_spec.rb +8 -8
- data/spec/models/file_spec.rb +8 -8
- data/spec/models/generate_chunks_request_spec.rb +8 -8
- data/spec/models/get_events_data_spec.rb +48 -0
- data/spec/models/get_groups_for_chunks_data_spec.rb +8 -8
- data/spec/models/group_data_spec.rb +8 -8
- data/spec/models/group_score_chunk_dto_spec.rb +8 -8
- data/spec/models/invitation_data_spec.rb +8 -8
- data/spec/models/match_condition_spec.rb +6 -6
- data/spec/models/message_spec.rb +8 -8
- data/spec/models/organization_spec.rb +8 -8
- data/spec/models/organization_usage_count_spec.rb +8 -8
- data/spec/models/range_spec.rb +8 -8
- data/spec/models/reccomend_group_chunks_request_spec.rb +8 -8
- data/spec/models/recommend_chunks_request_spec.rb +8 -8
- data/spec/models/regenerate_message_data_spec.rb +8 -8
- data/spec/models/return_queued_chunk_spec.rb +11 -21
- data/spec/models/score_chunk_dto_spec.rb +8 -8
- data/spec/models/search_chunk_data_spec.rb +8 -8
- data/spec/models/search_chunk_query_response_body_spec.rb +8 -8
- data/spec/models/search_groups_result_spec.rb +8 -8
- data/spec/models/search_over_groups_data_spec.rb +8 -8
- data/spec/models/search_over_groups_response_body_spec.rb +8 -8
- data/spec/models/search_within_group_data_spec.rb +8 -8
- data/spec/models/set_user_api_key_request_spec.rb +8 -8
- data/spec/models/set_user_api_key_response_spec.rb +8 -8
- data/spec/models/single_queued_chunk_response_spec.rb +42 -0
- data/spec/models/slim_group_spec.rb +8 -8
- data/spec/models/slim_user_spec.rb +8 -8
- data/spec/models/stripe_plan_spec.rb +8 -8
- data/spec/models/suggested_queries_request_spec.rb +8 -8
- data/spec/models/suggested_queries_response_spec.rb +8 -8
- data/spec/models/topic_spec.rb +8 -8
- data/spec/models/update_chunk_by_tracking_id_data_spec.rb +20 -8
- data/spec/models/update_chunk_data_spec.rb +20 -8
- data/spec/models/update_chunk_group_data_spec.rb +14 -8
- data/spec/models/update_dataset_request_spec.rb +8 -8
- data/spec/models/update_group_by_tracking_id_data_spec.rb +8 -8
- data/spec/models/update_organization_data_spec.rb +8 -8
- data/spec/models/update_topic_data_spec.rb +8 -8
- data/spec/models/update_user_data_spec.rb +8 -8
- data/spec/models/upload_file_data_spec.rb +8 -8
- data/spec/models/upload_file_result_spec.rb +8 -8
- data/spec/models/user_organization_spec.rb +8 -8
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.3.5.gem +0 -0
- data/trieve_ruby_client-0.4.0.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +24 -8
- data/docs/StripeSubscription.md +0 -30
- data/spec/models/stripe_subscription_spec.rb +0 -72
- data/trieve_ruby_client-0.3.4.gem +0 -0
- data/trieve_ruby_client-0.3.41.gem +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateChunkGroupData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateChunkGroupData do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateChunkGroupData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateChunkGroupData' do
|
24
24
|
it 'should create an instance of UpdateChunkGroupData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateChunkGroupData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -45,4 +45,10 @@ describe OpenapiClient::UpdateChunkGroupData do
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
describe 'test attribute "tracking_id"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
48
54
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateDatasetRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateDatasetRequest do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateDatasetRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateDatasetRequest' do
|
24
24
|
it 'should create an instance of UpdateDatasetRequest' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateDatasetRequest)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateGroupByTrackingIDData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateGroupByTrackingIDData do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateGroupByTrackingIDData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateGroupByTrackingIDData' do
|
24
24
|
it 'should create an instance of UpdateGroupByTrackingIDData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateGroupByTrackingIDData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateOrganizationData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateOrganizationData do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateOrganizationData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateOrganizationData' do
|
24
24
|
it 'should create an instance of UpdateOrganizationData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateOrganizationData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateTopicData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateTopicData do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateTopicData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateTopicData' do
|
24
24
|
it 'should create an instance of UpdateTopicData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateTopicData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateUserData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UpdateUserData do
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateUserData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateUserData' do
|
24
24
|
it 'should create an instance of UpdateUserData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateUserData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UploadFileData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UploadFileData do
|
21
|
+
let(:instance) { TrieveRubyClient::UploadFileData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UploadFileData' do
|
24
24
|
it 'should create an instance of UploadFileData' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UploadFileData)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UploadFileResult
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UploadFileResult do
|
21
|
+
let(:instance) { TrieveRubyClient::UploadFileResult.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UploadFileResult' do
|
24
24
|
it 'should create an instance of UploadFileResult' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UploadFileResult)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trieve API
|
3
3
|
|
4
|
-
#Trieve
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
|
+
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
10
10
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for TrieveRubyClient::UserOrganization
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe TrieveRubyClient::UserOrganization do
|
21
|
+
let(:instance) { TrieveRubyClient::UserOrganization.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UserOrganization' do
|
24
24
|
it 'should create an instance of UserOrganization' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UserOrganization)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
data/spec/spec_helper.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
Binary file
|
Binary file
|
data/trieve_ruby_client.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 0.
|
8
|
+
The version of the OpenAPI document: 0.5.0
|
9
9
|
Contact: developers@trieve.ai
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
Generator version: 7.4.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trieve_ruby_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trieve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -65,10 +65,13 @@ files:
|
|
65
65
|
- docs/AddChunkToGroupData.md
|
66
66
|
- docs/ApiKeyDTO.md
|
67
67
|
- docs/AuthApi.md
|
68
|
+
- docs/AuthQuery.md
|
69
|
+
- docs/BatchQueuedChunkResponse.md
|
68
70
|
- docs/BookmarkData.md
|
69
71
|
- docs/BookmarkGroupResult.md
|
70
72
|
- docs/ChatMessageProxy.md
|
71
73
|
- docs/ChunkApi.md
|
74
|
+
- docs/ChunkData.md
|
72
75
|
- docs/ChunkFilter.md
|
73
76
|
- docs/ChunkGroup.md
|
74
77
|
- docs/ChunkGroupAndFile.md
|
@@ -100,6 +103,7 @@ files:
|
|
100
103
|
- docs/FileApi.md
|
101
104
|
- docs/FileDTO.md
|
102
105
|
- docs/GenerateChunksRequest.md
|
106
|
+
- docs/GetEventsData.md
|
103
107
|
- docs/GetGroupsForChunksData.md
|
104
108
|
- docs/GroupData.md
|
105
109
|
- docs/GroupScoreChunkDTO.md
|
@@ -126,11 +130,11 @@ files:
|
|
126
130
|
- docs/SearchWithinGroupData.md
|
127
131
|
- docs/SetUserApiKeyRequest.md
|
128
132
|
- docs/SetUserApiKeyResponse.md
|
133
|
+
- docs/SingleQueuedChunkResponse.md
|
129
134
|
- docs/SlimGroup.md
|
130
135
|
- docs/SlimUser.md
|
131
136
|
- docs/StripeApi.md
|
132
137
|
- docs/StripePlan.md
|
133
|
-
- docs/StripeSubscription.md
|
134
138
|
- docs/SuggestedQueriesRequest.md
|
135
139
|
- docs/SuggestedQueriesResponse.md
|
136
140
|
- docs/Topic.md
|
@@ -167,9 +171,12 @@ files:
|
|
167
171
|
- lib/trieve_ruby_client/configuration.rb
|
168
172
|
- lib/trieve_ruby_client/models/add_chunk_to_group_data.rb
|
169
173
|
- lib/trieve_ruby_client/models/api_key_dto.rb
|
174
|
+
- lib/trieve_ruby_client/models/auth_query.rb
|
175
|
+
- lib/trieve_ruby_client/models/batch_queued_chunk_response.rb
|
170
176
|
- lib/trieve_ruby_client/models/bookmark_data.rb
|
171
177
|
- lib/trieve_ruby_client/models/bookmark_group_result.rb
|
172
178
|
- lib/trieve_ruby_client/models/chat_message_proxy.rb
|
179
|
+
- lib/trieve_ruby_client/models/chunk_data.rb
|
173
180
|
- lib/trieve_ruby_client/models/chunk_filter.rb
|
174
181
|
- lib/trieve_ruby_client/models/chunk_group.rb
|
175
182
|
- lib/trieve_ruby_client/models/chunk_group_and_file.rb
|
@@ -197,6 +204,7 @@ files:
|
|
197
204
|
- lib/trieve_ruby_client/models/file.rb
|
198
205
|
- lib/trieve_ruby_client/models/file_dto.rb
|
199
206
|
- lib/trieve_ruby_client/models/generate_chunks_request.rb
|
207
|
+
- lib/trieve_ruby_client/models/get_events_data.rb
|
200
208
|
- lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb
|
201
209
|
- lib/trieve_ruby_client/models/group_data.rb
|
202
210
|
- lib/trieve_ruby_client/models/group_score_chunk_dto.rb
|
@@ -219,10 +227,10 @@ files:
|
|
219
227
|
- lib/trieve_ruby_client/models/search_within_group_data.rb
|
220
228
|
- lib/trieve_ruby_client/models/set_user_api_key_request.rb
|
221
229
|
- lib/trieve_ruby_client/models/set_user_api_key_response.rb
|
230
|
+
- lib/trieve_ruby_client/models/single_queued_chunk_response.rb
|
222
231
|
- lib/trieve_ruby_client/models/slim_group.rb
|
223
232
|
- lib/trieve_ruby_client/models/slim_user.rb
|
224
233
|
- lib/trieve_ruby_client/models/stripe_plan.rb
|
225
|
-
- lib/trieve_ruby_client/models/stripe_subscription.rb
|
226
234
|
- lib/trieve_ruby_client/models/suggested_queries_request.rb
|
227
235
|
- lib/trieve_ruby_client/models/suggested_queries_response.rb
|
228
236
|
- lib/trieve_ruby_client/models/topic.rb
|
@@ -256,9 +264,12 @@ files:
|
|
256
264
|
- spec/api/user_api_spec.rb
|
257
265
|
- spec/models/add_chunk_to_group_data_spec.rb
|
258
266
|
- spec/models/api_key_dto_spec.rb
|
267
|
+
- spec/models/auth_query_spec.rb
|
268
|
+
- spec/models/batch_queued_chunk_response_spec.rb
|
259
269
|
- spec/models/bookmark_data_spec.rb
|
260
270
|
- spec/models/bookmark_group_result_spec.rb
|
261
271
|
- spec/models/chat_message_proxy_spec.rb
|
272
|
+
- spec/models/chunk_data_spec.rb
|
262
273
|
- spec/models/chunk_filter_spec.rb
|
263
274
|
- spec/models/chunk_group_and_file_spec.rb
|
264
275
|
- spec/models/chunk_group_spec.rb
|
@@ -286,6 +297,7 @@ files:
|
|
286
297
|
- spec/models/file_dto_spec.rb
|
287
298
|
- spec/models/file_spec.rb
|
288
299
|
- spec/models/generate_chunks_request_spec.rb
|
300
|
+
- spec/models/get_events_data_spec.rb
|
289
301
|
- spec/models/get_groups_for_chunks_data_spec.rb
|
290
302
|
- spec/models/group_data_spec.rb
|
291
303
|
- spec/models/group_score_chunk_dto_spec.rb
|
@@ -308,10 +320,10 @@ files:
|
|
308
320
|
- spec/models/search_within_group_data_spec.rb
|
309
321
|
- spec/models/set_user_api_key_request_spec.rb
|
310
322
|
- spec/models/set_user_api_key_response_spec.rb
|
323
|
+
- spec/models/single_queued_chunk_response_spec.rb
|
311
324
|
- spec/models/slim_group_spec.rb
|
312
325
|
- spec/models/slim_user_spec.rb
|
313
326
|
- spec/models/stripe_plan_spec.rb
|
314
|
-
- spec/models/stripe_subscription_spec.rb
|
315
327
|
- spec/models/suggested_queries_request_spec.rb
|
316
328
|
- spec/models/suggested_queries_response_spec.rb
|
317
329
|
- spec/models/topic_spec.rb
|
@@ -327,8 +339,8 @@ files:
|
|
327
339
|
- spec/models/upload_file_result_spec.rb
|
328
340
|
- spec/models/user_organization_spec.rb
|
329
341
|
- spec/spec_helper.rb
|
330
|
-
- trieve_ruby_client-0.3.
|
331
|
-
- trieve_ruby_client-0.
|
342
|
+
- trieve_ruby_client-0.3.5.gem
|
343
|
+
- trieve_ruby_client-0.4.0.gem
|
332
344
|
- trieve_ruby_client.gemspec
|
333
345
|
homepage: https://trieve.ai
|
334
346
|
licenses:
|
@@ -370,14 +382,15 @@ test_files:
|
|
370
382
|
- spec/models/match_condition_spec.rb
|
371
383
|
- spec/models/search_chunk_query_response_body_spec.rb
|
372
384
|
- spec/models/message_spec.rb
|
385
|
+
- spec/models/batch_queued_chunk_response_spec.rb
|
373
386
|
- spec/models/regenerate_message_data_spec.rb
|
374
387
|
- spec/models/chunk_group_and_file_spec.rb
|
375
388
|
- spec/models/file_dto_spec.rb
|
376
|
-
- spec/models/stripe_subscription_spec.rb
|
377
389
|
- spec/models/edit_message_data_spec.rb
|
378
390
|
- spec/models/bookmark_data_spec.rb
|
379
391
|
- spec/models/search_groups_result_spec.rb
|
380
392
|
- spec/models/slim_user_spec.rb
|
393
|
+
- spec/models/auth_query_spec.rb
|
381
394
|
- spec/models/stripe_plan_spec.rb
|
382
395
|
- spec/models/chunk_group_spec.rb
|
383
396
|
- spec/models/dataset_usage_count_spec.rb
|
@@ -385,8 +398,11 @@ test_files:
|
|
385
398
|
- spec/models/delete_dataset_request_spec.rb
|
386
399
|
- spec/models/add_chunk_to_group_data_spec.rb
|
387
400
|
- spec/models/event_spec.rb
|
401
|
+
- spec/models/chunk_data_spec.rb
|
402
|
+
- spec/models/get_events_data_spec.rb
|
388
403
|
- spec/models/invitation_data_spec.rb
|
389
404
|
- spec/models/create_dataset_request_spec.rb
|
405
|
+
- spec/models/single_queued_chunk_response_spec.rb
|
390
406
|
- spec/models/update_topic_data_spec.rb
|
391
407
|
- spec/models/search_over_groups_data_spec.rb
|
392
408
|
- spec/models/organization_usage_count_spec.rb
|
data/docs/StripeSubscription.md
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# TrieveRubyClient::StripeSubscription
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **created_at** | **Time** | | |
|
8
|
-
| **current_period_end** | **Time** | | [optional] |
|
9
|
-
| **id** | **String** | | |
|
10
|
-
| **organization_id** | **String** | | |
|
11
|
-
| **plan_id** | **String** | | |
|
12
|
-
| **stripe_id** | **String** | | |
|
13
|
-
| **updated_at** | **Time** | | |
|
14
|
-
|
15
|
-
## Example
|
16
|
-
|
17
|
-
```ruby
|
18
|
-
require 'trieve_ruby_client'
|
19
|
-
|
20
|
-
instance = TrieveRubyClient::StripeSubscription.new(
|
21
|
-
created_at: null,
|
22
|
-
current_period_end: null,
|
23
|
-
id: null,
|
24
|
-
organization_id: null,
|
25
|
-
plan_id: null,
|
26
|
-
stripe_id: null,
|
27
|
-
updated_at: null
|
28
|
-
)
|
29
|
-
```
|
30
|
-
|
@@ -1,72 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#trieve-server
|
3
|
-
|
4
|
-
#Trieve REST API OpenAPI Documentation
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.3.3
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for OpenapiClient::StripeSubscription
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe OpenapiClient::StripeSubscription do
|
21
|
-
let(:instance) { OpenapiClient::StripeSubscription.new }
|
22
|
-
|
23
|
-
describe 'test an instance of StripeSubscription' do
|
24
|
-
it 'should create an instance of StripeSubscription' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(OpenapiClient::StripeSubscription)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "created_at"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
describe 'test attribute "current_period_end"' do
|
37
|
-
it 'should work' do
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
describe 'test attribute "id"' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
describe 'test attribute "organization_id"' do
|
49
|
-
it 'should work' do
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
describe 'test attribute "plan_id"' do
|
55
|
-
it 'should work' do
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
describe 'test attribute "stripe_id"' do
|
61
|
-
it 'should work' do
|
62
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
describe 'test attribute "updated_at"' do
|
67
|
-
it 'should work' do
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
Binary file
|
Binary file
|