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.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +78 -74
  3. data/docs/AddChunkToGroupData.md +1 -1
  4. data/docs/AuthApi.md +28 -34
  5. data/docs/AuthQuery.md +22 -0
  6. data/docs/BatchQueuedChunkResponse.md +20 -0
  7. data/docs/ChunkApi.md +69 -147
  8. data/docs/ChunkData.md +42 -0
  9. data/docs/ChunkGroupApi.md +168 -90
  10. data/docs/CreateChunkData.md +41 -34
  11. data/docs/DatasetApi.md +31 -31
  12. data/docs/EventsApi.md +13 -13
  13. data/docs/FileApi.md +21 -21
  14. data/docs/GetEventsData.md +22 -0
  15. data/docs/HealthApi.md +6 -4
  16. data/docs/InvitationApi.md +6 -6
  17. data/docs/MessageApi.md +21 -21
  18. data/docs/OrganizationApi.md +31 -31
  19. data/docs/ReturnQueuedChunk.md +39 -10
  20. data/docs/SingleQueuedChunkResponse.md +20 -0
  21. data/docs/StripeApi.md +21 -13
  22. data/docs/TopicApi.md +21 -21
  23. data/docs/UserApi.md +16 -16
  24. data/lib/trieve_ruby_client/api/auth_api.rb +27 -34
  25. data/lib/trieve_ruby_client/api/chunk_api.rb +64 -143
  26. data/lib/trieve_ruby_client/api/chunk_group_api.rb +153 -75
  27. data/lib/trieve_ruby_client/api/dataset_api.rb +25 -25
  28. data/lib/trieve_ruby_client/api/events_api.rb +21 -16
  29. data/lib/trieve_ruby_client/api/file_api.rb +17 -17
  30. data/lib/trieve_ruby_client/api/health_api.rb +5 -1
  31. data/lib/trieve_ruby_client/api/invitation_api.rb +5 -5
  32. data/lib/trieve_ruby_client/api/message_api.rb +17 -17
  33. data/lib/trieve_ruby_client/api/organization_api.rb +25 -25
  34. data/lib/trieve_ruby_client/api/stripe_api.rb +17 -1
  35. data/lib/trieve_ruby_client/api/topic_api.rb +17 -17
  36. data/lib/trieve_ruby_client/api/user_api.rb +13 -13
  37. data/lib/trieve_ruby_client/api_client.rb +1 -1
  38. data/lib/trieve_ruby_client/api_error.rb +1 -1
  39. data/lib/trieve_ruby_client/configuration.rb +8 -4
  40. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +2 -2
  41. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  42. data/lib/trieve_ruby_client/models/{stripe_subscription.rb → auth_query.rb} +23 -96
  43. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +240 -0
  44. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  45. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  46. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  47. data/lib/trieve_ruby_client/models/chunk_data.rb +356 -0
  48. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  49. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  50. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  51. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  52. data/lib/trieve_ruby_client/models/chunk_metadata_with_file_data.rb +1 -1
  53. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  54. data/lib/trieve_ruby_client/models/create_chunk_data.rb +79 -330
  55. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  56. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  57. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  58. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  59. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  60. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  61. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  62. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  63. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  64. data/lib/trieve_ruby_client/models/delete_dataset_request.rb +1 -1
  65. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  66. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  67. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  68. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  69. data/lib/trieve_ruby_client/models/event.rb +1 -1
  70. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  71. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  72. data/lib/trieve_ruby_client/models/file.rb +1 -1
  73. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  74. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  75. data/lib/trieve_ruby_client/models/get_events_data.rb +240 -0
  76. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  77. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  78. data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +1 -1
  79. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  80. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  81. data/lib/trieve_ruby_client/models/message.rb +1 -1
  82. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  83. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  84. data/lib/trieve_ruby_client/models/range.rb +1 -1
  85. data/lib/trieve_ruby_client/models/reccomend_group_chunks_request.rb +1 -1
  86. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  87. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  88. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +75 -207
  89. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  90. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  94. data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
  95. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  96. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  97. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  98. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +238 -0
  99. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  100. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  101. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  102. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  103. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  104. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  105. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  106. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  113. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  115. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  116. data/lib/trieve_ruby_client/version.rb +2 -2
  117. data/lib/trieve_ruby_client.rb +6 -2
  118. data/openapi-generator.yaml +1 -1
  119. data/openapi.json +1196 -849
  120. data/spec/api/auth_api_spec.rb +16 -18
  121. data/spec/api/chunk_api_spec.rb +30 -43
  122. data/spec/api/chunk_group_api_spec.rb +54 -33
  123. data/spec/api/dataset_api_spec.rb +19 -19
  124. data/spec/api/events_api_spec.rb +10 -10
  125. data/spec/api/file_api_spec.rb +15 -15
  126. data/spec/api/health_api_spec.rb +9 -7
  127. data/spec/api/invitation_api_spec.rb +9 -9
  128. data/spec/api/message_api_spec.rb +15 -15
  129. data/spec/api/organization_api_spec.rb +19 -19
  130. data/spec/api/stripe_api_spec.rb +15 -7
  131. data/spec/api/topic_api_spec.rb +15 -15
  132. data/spec/api/user_api_spec.rb +13 -13
  133. data/spec/models/add_chunk_to_group_data_spec.rb +8 -8
  134. data/spec/models/api_key_dto_spec.rb +8 -8
  135. data/spec/models/auth_query_spec.rb +48 -0
  136. data/spec/models/batch_queued_chunk_response_spec.rb +42 -0
  137. data/spec/models/bookmark_data_spec.rb +8 -8
  138. data/spec/models/bookmark_group_result_spec.rb +8 -8
  139. data/spec/models/chat_message_proxy_spec.rb +8 -8
  140. data/spec/models/chunk_data_spec.rb +108 -0
  141. data/spec/models/chunk_filter_spec.rb +8 -8
  142. data/spec/models/chunk_group_and_file_spec.rb +8 -8
  143. data/spec/models/chunk_group_spec.rb +8 -8
  144. data/spec/models/chunk_metadata_spec.rb +8 -8
  145. data/spec/models/chunk_metadata_with_file_data_spec.rb +8 -8
  146. data/spec/models/client_dataset_configuration_spec.rb +8 -8
  147. data/spec/models/create_chunk_data_spec.rb +11 -87
  148. data/spec/models/create_chunk_group_data_spec.rb +8 -8
  149. data/spec/models/create_dataset_request_spec.rb +8 -8
  150. data/spec/models/create_message_data_spec.rb +8 -8
  151. data/spec/models/create_organization_data_spec.rb +8 -8
  152. data/spec/models/create_topic_data_spec.rb +8 -8
  153. data/spec/models/dataset_and_usage_spec.rb +8 -8
  154. data/spec/models/dataset_dto_spec.rb +8 -8
  155. data/spec/models/dataset_spec.rb +8 -8
  156. data/spec/models/dataset_usage_count_spec.rb +8 -8
  157. data/spec/models/delete_dataset_request_spec.rb +8 -8
  158. data/spec/models/delete_topic_data_spec.rb +8 -8
  159. data/spec/models/delete_user_api_key_request_spec.rb +8 -8
  160. data/spec/models/edit_message_data_spec.rb +8 -8
  161. data/spec/models/error_response_body_spec.rb +8 -8
  162. data/spec/models/event_return_spec.rb +8 -8
  163. data/spec/models/event_spec.rb +8 -8
  164. data/spec/models/field_condition_spec.rb +8 -8
  165. data/spec/models/file_dto_spec.rb +8 -8
  166. data/spec/models/file_spec.rb +8 -8
  167. data/spec/models/generate_chunks_request_spec.rb +8 -8
  168. data/spec/models/get_events_data_spec.rb +48 -0
  169. data/spec/models/get_groups_for_chunks_data_spec.rb +8 -8
  170. data/spec/models/group_data_spec.rb +8 -8
  171. data/spec/models/group_score_chunk_dto_spec.rb +8 -8
  172. data/spec/models/invitation_data_spec.rb +8 -8
  173. data/spec/models/match_condition_spec.rb +6 -6
  174. data/spec/models/message_spec.rb +8 -8
  175. data/spec/models/organization_spec.rb +8 -8
  176. data/spec/models/organization_usage_count_spec.rb +8 -8
  177. data/spec/models/range_spec.rb +8 -8
  178. data/spec/models/reccomend_group_chunks_request_spec.rb +8 -8
  179. data/spec/models/recommend_chunks_request_spec.rb +8 -8
  180. data/spec/models/regenerate_message_data_spec.rb +8 -8
  181. data/spec/models/return_queued_chunk_spec.rb +11 -21
  182. data/spec/models/score_chunk_dto_spec.rb +8 -8
  183. data/spec/models/search_chunk_data_spec.rb +8 -8
  184. data/spec/models/search_chunk_query_response_body_spec.rb +8 -8
  185. data/spec/models/search_groups_result_spec.rb +8 -8
  186. data/spec/models/search_over_groups_data_spec.rb +8 -8
  187. data/spec/models/search_over_groups_response_body_spec.rb +8 -8
  188. data/spec/models/search_within_group_data_spec.rb +8 -8
  189. data/spec/models/set_user_api_key_request_spec.rb +8 -8
  190. data/spec/models/set_user_api_key_response_spec.rb +8 -8
  191. data/spec/models/single_queued_chunk_response_spec.rb +42 -0
  192. data/spec/models/slim_group_spec.rb +8 -8
  193. data/spec/models/slim_user_spec.rb +8 -8
  194. data/spec/models/stripe_plan_spec.rb +8 -8
  195. data/spec/models/suggested_queries_request_spec.rb +8 -8
  196. data/spec/models/suggested_queries_response_spec.rb +8 -8
  197. data/spec/models/topic_spec.rb +8 -8
  198. data/spec/models/update_chunk_by_tracking_id_data_spec.rb +20 -8
  199. data/spec/models/update_chunk_data_spec.rb +20 -8
  200. data/spec/models/update_chunk_group_data_spec.rb +14 -8
  201. data/spec/models/update_dataset_request_spec.rb +8 -8
  202. data/spec/models/update_group_by_tracking_id_data_spec.rb +8 -8
  203. data/spec/models/update_organization_data_spec.rb +8 -8
  204. data/spec/models/update_topic_data_spec.rb +8 -8
  205. data/spec/models/update_user_data_spec.rb +8 -8
  206. data/spec/models/upload_file_data_spec.rb +8 -8
  207. data/spec/models/upload_file_result_spec.rb +8 -8
  208. data/spec/models/user_organization_spec.rb +8 -8
  209. data/spec/spec_helper.rb +1 -1
  210. data/trieve_ruby_client-0.3.5.gem +0 -0
  211. data/trieve_ruby_client-0.4.0.gem +0 -0
  212. data/trieve_ruby_client.gemspec +1 -1
  213. metadata +24 -8
  214. data/docs/StripeSubscription.md +0 -30
  215. data/spec/models/stripe_subscription_spec.rb +0 -72
  216. data/trieve_ruby_client-0.3.4.gem +0 -0
  217. data/trieve_ruby_client-0.3.41.gem +0 -0
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::File
17
+ # Unit tests for TrieveRubyClient::File
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::File do
21
- let(:instance) { OpenapiClient::File.new }
20
+ describe TrieveRubyClient::File do
21
+ let(:instance) { TrieveRubyClient::File.new }
22
22
 
23
23
  describe 'test an instance of File' do
24
24
  it 'should create an instance of File' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::File)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::File)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::GenerateChunksRequest
17
+ # Unit tests for TrieveRubyClient::GenerateChunksRequest
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::GenerateChunksRequest do
21
- let(:instance) { OpenapiClient::GenerateChunksRequest.new }
20
+ describe TrieveRubyClient::GenerateChunksRequest do
21
+ let(:instance) { TrieveRubyClient::GenerateChunksRequest.new }
22
22
 
23
23
  describe 'test an instance of GenerateChunksRequest' do
24
24
  it 'should create an instance of GenerateChunksRequest' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::GenerateChunksRequest)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GenerateChunksRequest)
27
27
  end
28
28
  end
29
29
 
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.5.0
7
+ Contact: developers@trieve.ai
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 TrieveRubyClient::GetEventsData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::GetEventsData do
21
+ let(:instance) { TrieveRubyClient::GetEventsData.new }
22
+
23
+ describe 'test an instance of GetEventsData' do
24
+ it 'should create an instance of GetEventsData' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GetEventsData)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_types"' 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 "page"' 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 "page_size"' 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
+ end
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::GetGroupsForChunksData
17
+ # Unit tests for TrieveRubyClient::GetGroupsForChunksData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::GetGroupsForChunksData do
21
- let(:instance) { OpenapiClient::GetGroupsForChunksData.new }
20
+ describe TrieveRubyClient::GetGroupsForChunksData do
21
+ let(:instance) { TrieveRubyClient::GetGroupsForChunksData.new }
22
22
 
23
23
  describe 'test an instance of GetGroupsForChunksData' do
24
24
  it 'should create an instance of GetGroupsForChunksData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::GetGroupsForChunksData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GetGroupsForChunksData)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::GroupData
17
+ # Unit tests for TrieveRubyClient::GroupData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::GroupData do
21
- let(:instance) { OpenapiClient::GroupData.new }
20
+ describe TrieveRubyClient::GroupData do
21
+ let(:instance) { TrieveRubyClient::GroupData.new }
22
22
 
23
23
  describe 'test an instance of GroupData' do
24
24
  it 'should create an instance of GroupData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::GroupData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GroupData)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::GroupScoreChunkDTO
17
+ # Unit tests for TrieveRubyClient::GroupScoreChunkDTO
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::GroupScoreChunkDTO do
21
- let(:instance) { OpenapiClient::GroupScoreChunkDTO.new }
20
+ describe TrieveRubyClient::GroupScoreChunkDTO do
21
+ let(:instance) { TrieveRubyClient::GroupScoreChunkDTO.new }
22
22
 
23
23
  describe 'test an instance of GroupScoreChunkDTO' do
24
24
  it 'should create an instance of GroupScoreChunkDTO' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::GroupScoreChunkDTO)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GroupScoreChunkDTO)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::InvitationData
17
+ # Unit tests for TrieveRubyClient::InvitationData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::InvitationData do
21
- let(:instance) { OpenapiClient::InvitationData.new }
20
+ describe TrieveRubyClient::InvitationData do
21
+ let(:instance) { TrieveRubyClient::InvitationData.new }
22
22
 
23
23
  describe 'test an instance of InvitationData' do
24
24
  it 'should create an instance of InvitationData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::InvitationData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::InvitationData)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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,10 +14,10 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OpenapiClient::MatchCondition
17
+ # Unit tests for TrieveRubyClient::MatchCondition
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::MatchCondition do
20
+ describe TrieveRubyClient::MatchCondition do
21
21
  describe '.openapi_one_of' do
22
22
  it 'lists the items referenced in the oneOf array' do
23
23
  expect(described_class.openapi_one_of).to_not be_empty
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::Message
17
+ # Unit tests for TrieveRubyClient::Message
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::Message do
21
- let(:instance) { OpenapiClient::Message.new }
20
+ describe TrieveRubyClient::Message do
21
+ let(:instance) { TrieveRubyClient::Message.new }
22
22
 
23
23
  describe 'test an instance of Message' do
24
24
  it 'should create an instance of Message' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::Message)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::Message)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::Organization
17
+ # Unit tests for TrieveRubyClient::Organization
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::Organization do
21
- let(:instance) { OpenapiClient::Organization.new }
20
+ describe TrieveRubyClient::Organization do
21
+ let(:instance) { TrieveRubyClient::Organization.new }
22
22
 
23
23
  describe 'test an instance of Organization' do
24
24
  it 'should create an instance of Organization' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::Organization)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::Organization)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::OrganizationUsageCount
17
+ # Unit tests for TrieveRubyClient::OrganizationUsageCount
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::OrganizationUsageCount do
21
- let(:instance) { OpenapiClient::OrganizationUsageCount.new }
20
+ describe TrieveRubyClient::OrganizationUsageCount do
21
+ let(:instance) { TrieveRubyClient::OrganizationUsageCount.new }
22
22
 
23
23
  describe 'test an instance of OrganizationUsageCount' do
24
24
  it 'should create an instance of OrganizationUsageCount' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::OrganizationUsageCount)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::OrganizationUsageCount)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::Range
17
+ # Unit tests for TrieveRubyClient::Range
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::Range do
21
- let(:instance) { OpenapiClient::Range.new }
20
+ describe TrieveRubyClient::Range do
21
+ let(:instance) { TrieveRubyClient::Range.new }
22
22
 
23
23
  describe 'test an instance of Range' do
24
24
  it 'should create an instance of Range' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::Range)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::Range)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::ReccomendGroupChunksRequest
17
+ # Unit tests for TrieveRubyClient::ReccomendGroupChunksRequest
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ReccomendGroupChunksRequest do
21
- let(:instance) { OpenapiClient::ReccomendGroupChunksRequest.new }
20
+ describe TrieveRubyClient::ReccomendGroupChunksRequest do
21
+ let(:instance) { TrieveRubyClient::ReccomendGroupChunksRequest.new }
22
22
 
23
23
  describe 'test an instance of ReccomendGroupChunksRequest' do
24
24
  it 'should create an instance of ReccomendGroupChunksRequest' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ReccomendGroupChunksRequest)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ReccomendGroupChunksRequest)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::RecommendChunksRequest
17
+ # Unit tests for TrieveRubyClient::RecommendChunksRequest
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::RecommendChunksRequest do
21
- let(:instance) { OpenapiClient::RecommendChunksRequest.new }
20
+ describe TrieveRubyClient::RecommendChunksRequest do
21
+ let(:instance) { TrieveRubyClient::RecommendChunksRequest.new }
22
22
 
23
23
  describe 'test an instance of RecommendChunksRequest' do
24
24
  it 'should create an instance of RecommendChunksRequest' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::RecommendChunksRequest)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::RecommendChunksRequest)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::RegenerateMessageData
17
+ # Unit tests for TrieveRubyClient::RegenerateMessageData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::RegenerateMessageData do
21
- let(:instance) { OpenapiClient::RegenerateMessageData.new }
20
+ describe TrieveRubyClient::RegenerateMessageData do
21
+ let(:instance) { TrieveRubyClient::RegenerateMessageData.new }
22
22
 
23
23
  describe 'test an instance of RegenerateMessageData' do
24
24
  it 'should create an instance of RegenerateMessageData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::RegenerateMessageData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::RegenerateMessageData)
27
27
  end
28
28
  end
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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,29 +14,19 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OpenapiClient::ReturnQueuedChunk
17
+ # Unit tests for TrieveRubyClient::ReturnQueuedChunk
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ReturnQueuedChunk do
21
- let(:instance) { OpenapiClient::ReturnQueuedChunk.new }
22
-
23
- describe 'test an instance of ReturnQueuedChunk' do
24
- it 'should create an instance of ReturnQueuedChunk' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ReturnQueuedChunk)
20
+ describe TrieveRubyClient::ReturnQueuedChunk do
21
+ describe '.openapi_one_of' do
22
+ it 'lists the items referenced in the oneOf array' do
23
+ expect(described_class.openapi_one_of).to_not be_empty
27
24
  end
28
25
  end
29
26
 
30
- describe 'test attribute "chunk_metadata"' do
31
- it 'should work' do
27
+ describe '.build' do
28
+ it 'returns the correct model' do
32
29
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
30
  end
34
31
  end
35
-
36
- describe 'test attribute "pos_in_queue"' 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
32
  end
@@ -1,10 +1,10 @@
1
1
  =begin
2
- #trieve-server
2
+ #Trieve API
3
3
 
4
- #Trieve REST API OpenAPI Documentation
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 OpenapiClient::ScoreChunkDTO
17
+ # Unit tests for TrieveRubyClient::ScoreChunkDTO
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ScoreChunkDTO do
21
- let(:instance) { OpenapiClient::ScoreChunkDTO.new }
20
+ describe TrieveRubyClient::ScoreChunkDTO do
21
+ let(:instance) { TrieveRubyClient::ScoreChunkDTO.new }
22
22
 
23
23
  describe 'test an instance of ScoreChunkDTO' do
24
24
  it 'should create an instance of ScoreChunkDTO' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ScoreChunkDTO)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ScoreChunkDTO)
27
27
  end
28
28
  end
29
29