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::CreateChunkGroupData
|
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::CreateChunkGroupData do
|
21
|
+
let(:instance) { TrieveRubyClient::CreateChunkGroupData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of CreateChunkGroupData' do
|
24
24
|
it 'should create an instance of CreateChunkGroupData' 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::CreateChunkGroupData)
|
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::CreateDatasetRequest
|
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::CreateDatasetRequest do
|
21
|
+
let(:instance) { TrieveRubyClient::CreateDatasetRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of CreateDatasetRequest' do
|
24
24
|
it 'should create an instance of CreateDatasetRequest' 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::CreateDatasetRequest)
|
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::CreateMessageData
|
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::CreateMessageData do
|
21
|
+
let(:instance) { TrieveRubyClient::CreateMessageData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of CreateMessageData' do
|
24
24
|
it 'should create an instance of CreateMessageData' 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::CreateMessageData)
|
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::CreateOrganizationData
|
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::CreateOrganizationData do
|
21
|
+
let(:instance) { TrieveRubyClient::CreateOrganizationData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of CreateOrganizationData' do
|
24
24
|
it 'should create an instance of CreateOrganizationData' 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::CreateOrganizationData)
|
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::CreateTopicData
|
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::CreateTopicData do
|
21
|
+
let(:instance) { TrieveRubyClient::CreateTopicData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of CreateTopicData' do
|
24
24
|
it 'should create an instance of CreateTopicData' 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::CreateTopicData)
|
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::DatasetAndUsage
|
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::DatasetAndUsage do
|
21
|
+
let(:instance) { TrieveRubyClient::DatasetAndUsage.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DatasetAndUsage' do
|
24
24
|
it 'should create an instance of DatasetAndUsage' 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::DatasetAndUsage)
|
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::DatasetDTO
|
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::DatasetDTO do
|
21
|
+
let(:instance) { TrieveRubyClient::DatasetDTO.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DatasetDTO' do
|
24
24
|
it 'should create an instance of DatasetDTO' 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::DatasetDTO)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
data/spec/models/dataset_spec.rb
CHANGED
@@ -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::Dataset
|
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::Dataset do
|
21
|
+
let(:instance) { TrieveRubyClient::Dataset.new }
|
22
22
|
|
23
23
|
describe 'test an instance of Dataset' do
|
24
24
|
it 'should create an instance of Dataset' 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::Dataset)
|
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::DatasetUsageCount
|
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::DatasetUsageCount do
|
21
|
+
let(:instance) { TrieveRubyClient::DatasetUsageCount.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DatasetUsageCount' do
|
24
24
|
it 'should create an instance of DatasetUsageCount' 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::DatasetUsageCount)
|
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::DeleteDatasetRequest
|
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::DeleteDatasetRequest do
|
21
|
+
let(:instance) { TrieveRubyClient::DeleteDatasetRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DeleteDatasetRequest' do
|
24
24
|
it 'should create an instance of DeleteDatasetRequest' 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::DeleteDatasetRequest)
|
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::DeleteTopicData
|
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::DeleteTopicData do
|
21
|
+
let(:instance) { TrieveRubyClient::DeleteTopicData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DeleteTopicData' do
|
24
24
|
it 'should create an instance of DeleteTopicData' 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::DeleteTopicData)
|
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::DeleteUserApiKeyRequest
|
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::DeleteUserApiKeyRequest do
|
21
|
+
let(:instance) { TrieveRubyClient::DeleteUserApiKeyRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of DeleteUserApiKeyRequest' do
|
24
24
|
it 'should create an instance of DeleteUserApiKeyRequest' 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::DeleteUserApiKeyRequest)
|
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::EditMessageData
|
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::EditMessageData do
|
21
|
+
let(:instance) { TrieveRubyClient::EditMessageData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of EditMessageData' do
|
24
24
|
it 'should create an instance of EditMessageData' 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::EditMessageData)
|
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::ErrorResponseBody
|
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::ErrorResponseBody do
|
21
|
+
let(:instance) { TrieveRubyClient::ErrorResponseBody.new }
|
22
22
|
|
23
23
|
describe 'test an instance of ErrorResponseBody' do
|
24
24
|
it 'should create an instance of ErrorResponseBody' 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::ErrorResponseBody)
|
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::EventReturn
|
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::EventReturn do
|
21
|
+
let(:instance) { TrieveRubyClient::EventReturn.new }
|
22
22
|
|
23
23
|
describe 'test an instance of EventReturn' do
|
24
24
|
it 'should create an instance of EventReturn' 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::EventReturn)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
data/spec/models/event_spec.rb
CHANGED
@@ -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::Event
|
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::Event do
|
21
|
+
let(:instance) { TrieveRubyClient::Event.new }
|
22
22
|
|
23
23
|
describe 'test an instance of Event' do
|
24
24
|
it 'should create an instance of Event' 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::Event)
|
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::FieldCondition
|
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::FieldCondition do
|
21
|
+
let(:instance) { TrieveRubyClient::FieldCondition.new }
|
22
22
|
|
23
23
|
describe 'test an instance of FieldCondition' do
|
24
24
|
it 'should create an instance of FieldCondition' 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::FieldCondition)
|
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::FileDTO
|
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::FileDTO do
|
21
|
+
let(:instance) { TrieveRubyClient::FileDTO.new }
|
22
22
|
|
23
23
|
describe 'test an instance of FileDTO' do
|
24
24
|
it 'should create an instance of FileDTO' 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::FileDTO)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|