trieve_ruby_client 0.4.0 → 0.5.7

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 (255) hide show
  1. checksums.yaml +4 -4
  2. data/GENERATE_COMMAND.txt +1 -0
  3. data/README.md +29 -18
  4. data/docs/AddChunkToGroupData.md +1 -1
  5. data/docs/AuthApi.md +1 -1
  6. data/docs/ChunkApi.md +34 -38
  7. data/docs/ChunkGroupApi.md +51 -48
  8. data/docs/DatasetApi.md +9 -9
  9. data/docs/EventsApi.md +1 -1
  10. data/docs/FileApi.md +1 -1
  11. data/docs/GetEventsData.md +1 -1
  12. data/docs/GroupScoreChunkDTO.md +2 -0
  13. data/docs/GroupSlimChunksDTO.md +20 -0
  14. data/docs/HealthApi.md +1 -1
  15. data/docs/InvitationApi.md +1 -1
  16. data/docs/MessageApi.md +1 -1
  17. data/docs/OrganizationApi.md +1 -1
  18. data/docs/Range.md +4 -4
  19. data/docs/RangeCondition.md +49 -0
  20. data/docs/ReccomendGroupChunksRequest.md +3 -1
  21. data/docs/RecommendChunksRequest.md +3 -1
  22. data/docs/RecommendChunksResponseTypes.md +49 -0
  23. data/docs/RecommendGroupChunkResponseTypes.md +49 -0
  24. data/docs/ScoreSlimChunks.md +20 -0
  25. data/docs/SearchChunkData.md +4 -0
  26. data/docs/SearchChunkResponseTypes.md +49 -0
  27. data/docs/SearchGroupSlimChunksResult.md +22 -0
  28. data/docs/SearchOverGroupsData.md +5 -1
  29. data/docs/SearchOverGroupsResponseTypes.md +49 -0
  30. data/docs/SearchOverGroupsSlimChunksResponseBody.md +20 -0
  31. data/docs/SearchSlimChunkQueryResponseBody.md +20 -0
  32. data/docs/SearchWithinGroupData.md +4 -0
  33. data/docs/SearchWithinGroupResponseTypes.md +49 -0
  34. data/docs/SlimChunkMetadata.md +36 -0
  35. data/docs/SlimUser.md +1 -7
  36. data/docs/StripeApi.md +1 -1
  37. data/docs/TopicApi.md +9 -9
  38. data/docs/UpdateChunkData.md +2 -0
  39. data/docs/UpdateUserData.md +1 -7
  40. data/docs/UserApi.md +9 -9
  41. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  42. data/lib/trieve_ruby_client/api/chunk_api.rb +34 -38
  43. data/lib/trieve_ruby_client/api/chunk_group_api.rb +56 -59
  44. data/lib/trieve_ruby_client/api/dataset_api.rb +11 -16
  45. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  46. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  47. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  48. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  49. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  50. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  51. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  52. data/lib/trieve_ruby_client/api/topic_api.rb +11 -16
  53. data/lib/trieve_ruby_client/api/user_api.rb +11 -16
  54. data/lib/trieve_ruby_client/api_client.rb +1 -1
  55. data/lib/trieve_ruby_client/api_error.rb +1 -1
  56. data/lib/trieve_ruby_client/configuration.rb +7 -7
  57. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +2 -2
  58. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  59. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  60. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  61. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  62. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  63. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  64. data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
  65. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  66. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  67. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  68. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  69. data/lib/trieve_ruby_client/models/chunk_metadata_with_file_data.rb +1 -1
  70. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  71. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  72. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  73. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  74. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  75. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  76. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  77. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  78. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  79. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  80. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  81. data/lib/trieve_ruby_client/models/delete_dataset_request.rb +1 -1
  82. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  83. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  84. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  85. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  86. data/lib/trieve_ruby_client/models/event.rb +1 -1
  87. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  88. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  89. data/lib/trieve_ruby_client/models/file.rb +1 -1
  90. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  91. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  92. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  93. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  94. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  95. data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +12 -2
  96. data/lib/trieve_ruby_client/models/group_slim_chunks_dto.rb +239 -0
  97. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  98. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  99. data/lib/trieve_ruby_client/models/message.rb +1 -1
  100. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  101. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  102. data/lib/trieve_ruby_client/models/range.rb +5 -5
  103. data/lib/trieve_ruby_client/models/range_condition.rb +105 -0
  104. data/lib/trieve_ruby_client/models/reccomend_group_chunks_request.rb +17 -6
  105. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +17 -6
  106. data/lib/trieve_ruby_client/models/recommend_chunks_response_types.rb +105 -0
  107. data/lib/trieve_ruby_client/models/recommend_group_chunk_response_types.rb +105 -0
  108. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  110. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  111. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +239 -0
  112. data/lib/trieve_ruby_client/models/search_chunk_data.rb +24 -2
  113. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  114. data/lib/trieve_ruby_client/models/search_chunk_response_types.rb +105 -0
  115. data/lib/trieve_ruby_client/models/search_group_slim_chunks_result.rb +255 -0
  116. data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
  117. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +27 -5
  118. data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
  119. data/lib/trieve_ruby_client/models/search_over_groups_response_types.rb +105 -0
  120. data/lib/trieve_ruby_client/models/search_over_groups_slim_chunks_response_body.rb +239 -0
  121. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +239 -0
  122. data/lib/trieve_ruby_client/models/search_within_group_data.rb +24 -2
  123. data/lib/trieve_ruby_client/models/search_within_group_response_types.rb +105 -0
  124. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  125. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  126. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  127. data/lib/trieve_ruby_client/models/{stripe_subscription.rb → slim_chunk_metadata.rb} +75 -57
  128. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  129. data/lib/trieve_ruby_client/models/slim_user.rb +5 -41
  130. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  131. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  132. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  133. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  134. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  135. data/lib/trieve_ruby_client/models/update_chunk_data.rb +15 -2
  136. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  137. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  138. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  139. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  140. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  141. data/lib/trieve_ruby_client/models/update_user_data.rb +6 -39
  142. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  143. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  144. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  145. data/lib/trieve_ruby_client/version.rb +2 -2
  146. data/lib/trieve_ruby_client.rb +13 -2
  147. data/openapi-generator.yaml +1 -1
  148. data/openapi.json +692 -335
  149. data/spec/api/auth_api_spec.rb +16 -18
  150. data/spec/api/chunk_api_spec.rb +30 -43
  151. data/spec/api/chunk_group_api_spec.rb +54 -33
  152. data/spec/api/dataset_api_spec.rb +19 -19
  153. data/spec/api/events_api_spec.rb +10 -10
  154. data/spec/api/file_api_spec.rb +15 -15
  155. data/spec/api/health_api_spec.rb +9 -7
  156. data/spec/api/invitation_api_spec.rb +9 -9
  157. data/spec/api/message_api_spec.rb +15 -15
  158. data/spec/api/organization_api_spec.rb +19 -19
  159. data/spec/api/stripe_api_spec.rb +15 -7
  160. data/spec/api/topic_api_spec.rb +15 -15
  161. data/spec/api/user_api_spec.rb +13 -13
  162. data/spec/models/add_chunk_to_group_data_spec.rb +8 -8
  163. data/spec/models/api_key_dto_spec.rb +8 -8
  164. data/spec/models/auth_query_spec.rb +1 -1
  165. data/spec/models/batch_queued_chunk_response_spec.rb +1 -1
  166. data/spec/models/bookmark_data_spec.rb +8 -8
  167. data/spec/models/bookmark_group_result_spec.rb +8 -8
  168. data/spec/models/chat_message_proxy_spec.rb +8 -8
  169. data/spec/models/chunk_data_spec.rb +1 -1
  170. data/spec/models/chunk_filter_spec.rb +8 -8
  171. data/spec/models/chunk_group_and_file_spec.rb +8 -8
  172. data/spec/models/chunk_group_spec.rb +8 -8
  173. data/spec/models/chunk_metadata_spec.rb +8 -8
  174. data/spec/models/chunk_metadata_with_file_data_spec.rb +8 -8
  175. data/spec/models/client_dataset_configuration_spec.rb +8 -8
  176. data/spec/models/create_chunk_data_spec.rb +11 -87
  177. data/spec/models/create_chunk_group_data_spec.rb +8 -8
  178. data/spec/models/create_dataset_request_spec.rb +8 -8
  179. data/spec/models/create_message_data_spec.rb +8 -8
  180. data/spec/models/create_organization_data_spec.rb +8 -8
  181. data/spec/models/create_topic_data_spec.rb +8 -8
  182. data/spec/models/dataset_and_usage_spec.rb +8 -8
  183. data/spec/models/dataset_dto_spec.rb +8 -8
  184. data/spec/models/dataset_spec.rb +8 -8
  185. data/spec/models/dataset_usage_count_spec.rb +8 -8
  186. data/spec/models/delete_dataset_request_spec.rb +8 -8
  187. data/spec/models/delete_topic_data_spec.rb +8 -8
  188. data/spec/models/delete_user_api_key_request_spec.rb +8 -8
  189. data/spec/models/edit_message_data_spec.rb +8 -8
  190. data/spec/models/error_response_body_spec.rb +8 -8
  191. data/spec/models/event_return_spec.rb +8 -8
  192. data/spec/models/event_spec.rb +8 -8
  193. data/spec/models/field_condition_spec.rb +8 -8
  194. data/spec/models/file_dto_spec.rb +8 -8
  195. data/spec/models/file_spec.rb +8 -8
  196. data/spec/models/generate_chunks_request_spec.rb +8 -8
  197. data/spec/models/get_events_data_spec.rb +1 -1
  198. data/spec/models/get_groups_for_chunks_data_spec.rb +8 -8
  199. data/spec/models/group_data_spec.rb +8 -8
  200. data/spec/models/group_score_chunk_dto_spec.rb +8 -8
  201. data/spec/models/group_slim_chunks_dto_spec.rb +42 -0
  202. data/spec/models/invitation_data_spec.rb +8 -8
  203. data/spec/models/match_condition_spec.rb +6 -6
  204. data/spec/models/message_spec.rb +8 -8
  205. data/spec/models/organization_spec.rb +8 -8
  206. data/spec/models/organization_usage_count_spec.rb +8 -8
  207. data/spec/models/range_condition_spec.rb +32 -0
  208. data/spec/models/range_spec.rb +8 -8
  209. data/spec/models/reccomend_group_chunks_request_spec.rb +8 -8
  210. data/spec/models/recommend_chunks_request_spec.rb +8 -8
  211. data/spec/models/recommend_chunks_response_types_spec.rb +32 -0
  212. data/spec/models/recommend_group_chunk_response_types_spec.rb +32 -0
  213. data/spec/models/regenerate_message_data_spec.rb +8 -8
  214. data/spec/models/return_queued_chunk_spec.rb +11 -21
  215. data/spec/models/score_chunk_dto_spec.rb +8 -8
  216. data/spec/models/score_slim_chunks_spec.rb +42 -0
  217. data/spec/models/search_chunk_data_spec.rb +8 -8
  218. data/spec/models/search_chunk_query_response_body_spec.rb +8 -8
  219. data/spec/models/search_chunk_response_types_spec.rb +32 -0
  220. data/spec/models/search_group_slim_chunks_result_spec.rb +48 -0
  221. data/spec/models/search_groups_result_spec.rb +8 -8
  222. data/spec/models/search_over_groups_data_spec.rb +8 -8
  223. data/spec/models/search_over_groups_response_body_spec.rb +8 -8
  224. data/spec/models/search_over_groups_response_types_spec.rb +32 -0
  225. data/spec/models/search_over_groups_slim_chunks_response_body_spec.rb +42 -0
  226. data/spec/models/search_slim_chunk_query_response_body_spec.rb +42 -0
  227. data/spec/models/search_within_group_data_spec.rb +8 -8
  228. data/spec/models/search_within_group_response_types_spec.rb +32 -0
  229. data/spec/models/set_user_api_key_request_spec.rb +8 -8
  230. data/spec/models/set_user_api_key_response_spec.rb +8 -8
  231. data/spec/models/single_queued_chunk_response_spec.rb +1 -1
  232. data/spec/models/{stripe_subscription_spec.rb → slim_chunk_metadata_spec.rb} +33 -15
  233. data/spec/models/slim_group_spec.rb +8 -8
  234. data/spec/models/slim_user_spec.rb +8 -8
  235. data/spec/models/stripe_plan_spec.rb +8 -8
  236. data/spec/models/suggested_queries_request_spec.rb +8 -8
  237. data/spec/models/suggested_queries_response_spec.rb +8 -8
  238. data/spec/models/topic_spec.rb +8 -8
  239. data/spec/models/update_chunk_by_tracking_id_data_spec.rb +20 -8
  240. data/spec/models/update_chunk_data_spec.rb +20 -8
  241. data/spec/models/update_chunk_group_data_spec.rb +14 -8
  242. data/spec/models/update_dataset_request_spec.rb +8 -8
  243. data/spec/models/update_group_by_tracking_id_data_spec.rb +8 -8
  244. data/spec/models/update_organization_data_spec.rb +8 -8
  245. data/spec/models/update_topic_data_spec.rb +8 -8
  246. data/spec/models/update_user_data_spec.rb +8 -8
  247. data/spec/models/upload_file_data_spec.rb +8 -8
  248. data/spec/models/upload_file_result_spec.rb +8 -8
  249. data/spec/models/user_organization_spec.rb +8 -8
  250. data/spec/spec_helper.rb +1 -1
  251. data/trieve_ruby_client-0.5.0.gem +0 -0
  252. data/trieve_ruby_client.gemspec +1 -1
  253. metadata +52 -7
  254. data/docs/StripeSubscription.md +0 -30
  255. data/trieve_ruby_client-0.3.5.gem +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.4.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
@@ -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::BookmarkData
17
+ # Unit tests for TrieveRubyClient::BookmarkData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::BookmarkData do
21
- let(:instance) { OpenapiClient::BookmarkData.new }
20
+ describe TrieveRubyClient::BookmarkData do
21
+ let(:instance) { TrieveRubyClient::BookmarkData.new }
22
22
 
23
23
  describe 'test an instance of BookmarkData' do
24
24
  it 'should create an instance of BookmarkData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::BookmarkData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::BookmarkData)
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::BookmarkGroupResult
17
+ # Unit tests for TrieveRubyClient::BookmarkGroupResult
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::BookmarkGroupResult do
21
- let(:instance) { OpenapiClient::BookmarkGroupResult.new }
20
+ describe TrieveRubyClient::BookmarkGroupResult do
21
+ let(:instance) { TrieveRubyClient::BookmarkGroupResult.new }
22
22
 
23
23
  describe 'test an instance of BookmarkGroupResult' do
24
24
  it 'should create an instance of BookmarkGroupResult' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::BookmarkGroupResult)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::BookmarkGroupResult)
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::ChatMessageProxy
17
+ # Unit tests for TrieveRubyClient::ChatMessageProxy
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChatMessageProxy do
21
- let(:instance) { OpenapiClient::ChatMessageProxy.new }
20
+ describe TrieveRubyClient::ChatMessageProxy do
21
+ let(:instance) { TrieveRubyClient::ChatMessageProxy.new }
22
22
 
23
23
  describe 'test an instance of ChatMessageProxy' do
24
24
  it 'should create an instance of ChatMessageProxy' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChatMessageProxy)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChatMessageProxy)
27
27
  end
28
28
  end
29
29
 
@@ -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.4.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
@@ -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::ChunkFilter
17
+ # Unit tests for TrieveRubyClient::ChunkFilter
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChunkFilter do
21
- let(:instance) { OpenapiClient::ChunkFilter.new }
20
+ describe TrieveRubyClient::ChunkFilter do
21
+ let(:instance) { TrieveRubyClient::ChunkFilter.new }
22
22
 
23
23
  describe 'test an instance of ChunkFilter' do
24
24
  it 'should create an instance of ChunkFilter' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChunkFilter)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkFilter)
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::ChunkGroupAndFile
17
+ # Unit tests for TrieveRubyClient::ChunkGroupAndFile
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChunkGroupAndFile do
21
- let(:instance) { OpenapiClient::ChunkGroupAndFile.new }
20
+ describe TrieveRubyClient::ChunkGroupAndFile do
21
+ let(:instance) { TrieveRubyClient::ChunkGroupAndFile.new }
22
22
 
23
23
  describe 'test an instance of ChunkGroupAndFile' do
24
24
  it 'should create an instance of ChunkGroupAndFile' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChunkGroupAndFile)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkGroupAndFile)
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::ChunkGroup
17
+ # Unit tests for TrieveRubyClient::ChunkGroup
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChunkGroup do
21
- let(:instance) { OpenapiClient::ChunkGroup.new }
20
+ describe TrieveRubyClient::ChunkGroup do
21
+ let(:instance) { TrieveRubyClient::ChunkGroup.new }
22
22
 
23
23
  describe 'test an instance of ChunkGroup' do
24
24
  it 'should create an instance of ChunkGroup' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChunkGroup)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkGroup)
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::ChunkMetadata
17
+ # Unit tests for TrieveRubyClient::ChunkMetadata
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChunkMetadata do
21
- let(:instance) { OpenapiClient::ChunkMetadata.new }
20
+ describe TrieveRubyClient::ChunkMetadata do
21
+ let(:instance) { TrieveRubyClient::ChunkMetadata.new }
22
22
 
23
23
  describe 'test an instance of ChunkMetadata' do
24
24
  it 'should create an instance of ChunkMetadata' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChunkMetadata)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkMetadata)
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::ChunkMetadataWithFileData
17
+ # Unit tests for TrieveRubyClient::ChunkMetadataWithFileData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ChunkMetadataWithFileData do
21
- let(:instance) { OpenapiClient::ChunkMetadataWithFileData.new }
20
+ describe TrieveRubyClient::ChunkMetadataWithFileData do
21
+ let(:instance) { TrieveRubyClient::ChunkMetadataWithFileData.new }
22
22
 
23
23
  describe 'test an instance of ChunkMetadataWithFileData' do
24
24
  it 'should create an instance of ChunkMetadataWithFileData' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ChunkMetadataWithFileData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkMetadataWithFileData)
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::ClientDatasetConfiguration
17
+ # Unit tests for TrieveRubyClient::ClientDatasetConfiguration
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::ClientDatasetConfiguration do
21
- let(:instance) { OpenapiClient::ClientDatasetConfiguration.new }
20
+ describe TrieveRubyClient::ClientDatasetConfiguration do
21
+ let(:instance) { TrieveRubyClient::ClientDatasetConfiguration.new }
22
22
 
23
23
  describe 'test an instance of ClientDatasetConfiguration' do
24
24
  it 'should create an instance of ClientDatasetConfiguration' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::ClientDatasetConfiguration)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ClientDatasetConfiguration)
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,95 +14,19 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OpenapiClient::CreateChunkData
17
+ # Unit tests for TrieveRubyClient::CreateChunkData
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::CreateChunkData do
21
- let(:instance) { OpenapiClient::CreateChunkData.new }
22
-
23
- describe 'test an instance of CreateChunkData' do
24
- it 'should create an instance of CreateChunkData' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(OpenapiClient::CreateChunkData)
27
- end
28
- end
29
-
30
- describe 'test attribute "chunk_html"' 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 "chunk_vector"' 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 "file_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 "group_ids"' 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 "group_tracking_ids"' 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 "link"' do
61
- it 'should work' do
62
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
20
+ describe TrieveRubyClient::CreateChunkData 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
63
24
  end
64
25
  end
65
26
 
66
- describe 'test attribute "metadata"' do
67
- it 'should work' do
27
+ describe '.build' do
28
+ it 'returns the correct model' do
68
29
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
30
  end
70
31
  end
71
-
72
- describe 'test attribute "split_avg"' do
73
- it 'should work' do
74
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
- end
76
- end
77
-
78
- describe 'test attribute "tag_set"' do
79
- it 'should work' do
80
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
- end
82
- end
83
-
84
- describe 'test attribute "time_stamp"' do
85
- it 'should work' do
86
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
- end
88
- end
89
-
90
- describe 'test attribute "tracking_id"' do
91
- it 'should work' do
92
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
- end
94
- end
95
-
96
- describe 'test attribute "upsert_by_tracking_id"' do
97
- it 'should work' do
98
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
- end
100
- end
101
-
102
- describe 'test attribute "weight"' do
103
- it 'should work' do
104
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
- end
106
- end
107
-
108
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::CreateChunkGroupData
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 OpenapiClient::CreateChunkGroupData do
21
- let(:instance) { OpenapiClient::CreateChunkGroupData.new }
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(OpenapiClient::CreateChunkGroupData)
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
- #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::CreateDatasetRequest
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 OpenapiClient::CreateDatasetRequest do
21
- let(:instance) { OpenapiClient::CreateDatasetRequest.new }
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(OpenapiClient::CreateDatasetRequest)
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
- #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::CreateMessageData
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 OpenapiClient::CreateMessageData do
21
- let(:instance) { OpenapiClient::CreateMessageData.new }
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(OpenapiClient::CreateMessageData)
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
- #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::CreateOrganizationData
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 OpenapiClient::CreateOrganizationData do
21
- let(:instance) { OpenapiClient::CreateOrganizationData.new }
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(OpenapiClient::CreateOrganizationData)
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
- #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::CreateTopicData
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 OpenapiClient::CreateTopicData do
21
- let(:instance) { OpenapiClient::CreateTopicData.new }
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(OpenapiClient::CreateTopicData)
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::CreateTopicData)
27
27
  end
28
28
  end
29
29