trieve_ruby_client 0.4.0 → 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 (198) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -13
  3. data/docs/AddChunkToGroupData.md +1 -1
  4. data/docs/ChunkApi.md +25 -29
  5. data/docs/ChunkGroupApi.md +26 -32
  6. data/docs/GetEventsData.md +1 -1
  7. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  8. data/lib/trieve_ruby_client/api/chunk_api.rb +28 -32
  9. data/lib/trieve_ruby_client/api/chunk_group_api.rb +36 -46
  10. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  11. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  12. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  13. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  14. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  15. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  16. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  17. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  18. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/user_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api_client.rb +1 -1
  21. data/lib/trieve_ruby_client/api_error.rb +1 -1
  22. data/lib/trieve_ruby_client/configuration.rb +1 -1
  23. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +2 -2
  24. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  25. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  26. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  27. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  28. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  29. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  30. data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
  31. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  32. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  33. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  34. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  35. data/lib/trieve_ruby_client/models/chunk_metadata_with_file_data.rb +1 -1
  36. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  37. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  38. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  39. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  40. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  41. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  42. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  43. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  44. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  45. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  46. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  47. data/lib/trieve_ruby_client/models/delete_dataset_request.rb +1 -1
  48. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  49. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  50. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  51. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  52. data/lib/trieve_ruby_client/models/event.rb +1 -1
  53. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  54. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  55. data/lib/trieve_ruby_client/models/file.rb +1 -1
  56. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  57. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  58. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  59. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  60. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  61. data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +1 -1
  62. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  63. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  64. data/lib/trieve_ruby_client/models/message.rb +1 -1
  65. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  66. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  67. data/lib/trieve_ruby_client/models/range.rb +1 -1
  68. data/lib/trieve_ruby_client/models/reccomend_group_chunks_request.rb +1 -1
  69. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  70. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  71. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  72. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  73. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  74. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  75. data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
  76. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  77. data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
  78. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  79. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  80. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  81. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  82. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  83. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  84. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  85. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  86. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  87. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  88. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  89. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  90. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  91. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  92. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  93. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  94. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  95. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  96. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  97. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  98. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  99. data/lib/trieve_ruby_client/version.rb +2 -2
  100. data/lib/trieve_ruby_client.rb +1 -1
  101. data/openapi-generator.yaml +1 -1
  102. data/openapi.json +111 -173
  103. data/spec/api/auth_api_spec.rb +16 -18
  104. data/spec/api/chunk_api_spec.rb +30 -43
  105. data/spec/api/chunk_group_api_spec.rb +54 -33
  106. data/spec/api/dataset_api_spec.rb +19 -19
  107. data/spec/api/events_api_spec.rb +10 -10
  108. data/spec/api/file_api_spec.rb +15 -15
  109. data/spec/api/health_api_spec.rb +9 -7
  110. data/spec/api/invitation_api_spec.rb +9 -9
  111. data/spec/api/message_api_spec.rb +15 -15
  112. data/spec/api/organization_api_spec.rb +19 -19
  113. data/spec/api/stripe_api_spec.rb +15 -7
  114. data/spec/api/topic_api_spec.rb +15 -15
  115. data/spec/api/user_api_spec.rb +13 -13
  116. data/spec/models/add_chunk_to_group_data_spec.rb +8 -8
  117. data/spec/models/api_key_dto_spec.rb +8 -8
  118. data/spec/models/auth_query_spec.rb +1 -1
  119. data/spec/models/batch_queued_chunk_response_spec.rb +1 -1
  120. data/spec/models/bookmark_data_spec.rb +8 -8
  121. data/spec/models/bookmark_group_result_spec.rb +8 -8
  122. data/spec/models/chat_message_proxy_spec.rb +8 -8
  123. data/spec/models/chunk_data_spec.rb +1 -1
  124. data/spec/models/chunk_filter_spec.rb +8 -8
  125. data/spec/models/chunk_group_and_file_spec.rb +8 -8
  126. data/spec/models/chunk_group_spec.rb +8 -8
  127. data/spec/models/chunk_metadata_spec.rb +8 -8
  128. data/spec/models/chunk_metadata_with_file_data_spec.rb +8 -8
  129. data/spec/models/client_dataset_configuration_spec.rb +8 -8
  130. data/spec/models/create_chunk_data_spec.rb +11 -87
  131. data/spec/models/create_chunk_group_data_spec.rb +8 -8
  132. data/spec/models/create_dataset_request_spec.rb +8 -8
  133. data/spec/models/create_message_data_spec.rb +8 -8
  134. data/spec/models/create_organization_data_spec.rb +8 -8
  135. data/spec/models/create_topic_data_spec.rb +8 -8
  136. data/spec/models/dataset_and_usage_spec.rb +8 -8
  137. data/spec/models/dataset_dto_spec.rb +8 -8
  138. data/spec/models/dataset_spec.rb +8 -8
  139. data/spec/models/dataset_usage_count_spec.rb +8 -8
  140. data/spec/models/delete_dataset_request_spec.rb +8 -8
  141. data/spec/models/delete_topic_data_spec.rb +8 -8
  142. data/spec/models/delete_user_api_key_request_spec.rb +8 -8
  143. data/spec/models/edit_message_data_spec.rb +8 -8
  144. data/spec/models/error_response_body_spec.rb +8 -8
  145. data/spec/models/event_return_spec.rb +8 -8
  146. data/spec/models/event_spec.rb +8 -8
  147. data/spec/models/field_condition_spec.rb +8 -8
  148. data/spec/models/file_dto_spec.rb +8 -8
  149. data/spec/models/file_spec.rb +8 -8
  150. data/spec/models/generate_chunks_request_spec.rb +8 -8
  151. data/spec/models/get_events_data_spec.rb +1 -1
  152. data/spec/models/get_groups_for_chunks_data_spec.rb +8 -8
  153. data/spec/models/group_data_spec.rb +8 -8
  154. data/spec/models/group_score_chunk_dto_spec.rb +8 -8
  155. data/spec/models/invitation_data_spec.rb +8 -8
  156. data/spec/models/match_condition_spec.rb +6 -6
  157. data/spec/models/message_spec.rb +8 -8
  158. data/spec/models/organization_spec.rb +8 -8
  159. data/spec/models/organization_usage_count_spec.rb +8 -8
  160. data/spec/models/range_spec.rb +8 -8
  161. data/spec/models/reccomend_group_chunks_request_spec.rb +8 -8
  162. data/spec/models/recommend_chunks_request_spec.rb +8 -8
  163. data/spec/models/regenerate_message_data_spec.rb +8 -8
  164. data/spec/models/return_queued_chunk_spec.rb +11 -21
  165. data/spec/models/score_chunk_dto_spec.rb +8 -8
  166. data/spec/models/search_chunk_data_spec.rb +8 -8
  167. data/spec/models/search_chunk_query_response_body_spec.rb +8 -8
  168. data/spec/models/search_groups_result_spec.rb +8 -8
  169. data/spec/models/search_over_groups_data_spec.rb +8 -8
  170. data/spec/models/search_over_groups_response_body_spec.rb +8 -8
  171. data/spec/models/search_within_group_data_spec.rb +8 -8
  172. data/spec/models/set_user_api_key_request_spec.rb +8 -8
  173. data/spec/models/set_user_api_key_response_spec.rb +8 -8
  174. data/spec/models/single_queued_chunk_response_spec.rb +1 -1
  175. data/spec/models/slim_group_spec.rb +8 -8
  176. data/spec/models/slim_user_spec.rb +8 -8
  177. data/spec/models/stripe_plan_spec.rb +8 -8
  178. data/spec/models/suggested_queries_request_spec.rb +8 -8
  179. data/spec/models/suggested_queries_response_spec.rb +8 -8
  180. data/spec/models/topic_spec.rb +8 -8
  181. data/spec/models/update_chunk_by_tracking_id_data_spec.rb +20 -8
  182. data/spec/models/update_chunk_data_spec.rb +20 -8
  183. data/spec/models/update_chunk_group_data_spec.rb +14 -8
  184. data/spec/models/update_dataset_request_spec.rb +8 -8
  185. data/spec/models/update_group_by_tracking_id_data_spec.rb +8 -8
  186. data/spec/models/update_organization_data_spec.rb +8 -8
  187. data/spec/models/update_topic_data_spec.rb +8 -8
  188. data/spec/models/update_user_data_spec.rb +8 -8
  189. data/spec/models/upload_file_data_spec.rb +8 -8
  190. data/spec/models/upload_file_result_spec.rb +8 -8
  191. data/spec/models/user_organization_spec.rb +8 -8
  192. data/spec/spec_helper.rb +1 -1
  193. data/trieve_ruby_client-0.4.0.gem +0 -0
  194. data/trieve_ruby_client.gemspec +1 -1
  195. metadata +3 -6
  196. data/docs/StripeSubscription.md +0 -30
  197. data/lib/trieve_ruby_client/models/stripe_subscription.rb +0 -311
  198. data/spec/models/stripe_subscription_spec.rb +0 -72
@@ -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
 
@@ -13,13 +13,13 @@ Generator version: 7.4.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OpenapiClient::AuthApi
16
+ # Unit tests for TrieveRubyClient::AuthApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'AuthApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = OpenapiClient::AuthApi.new
22
+ @api_instance = TrieveRubyClient::AuthApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,13 +28,13 @@ describe 'AuthApi' do
28
28
 
29
29
  describe 'test an instance of AuthApi' do
30
30
  it 'should create an instance of AuthApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::AuthApi)
31
+ expect(@api_instance).to be_instance_of(TrieveRubyClient::AuthApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for callback
36
- # openid_callback
37
- # openid_callback This is the callback route for the OAuth provider, it should not be called directly. Redirects to browser with set-cookie header.
36
+ # OpenID Connect callback
37
+ # OpenID Connect callback This is the callback route for the OAuth provider, it should not be called directly. Redirects to browser with set-cookie header.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [SlimUser]
40
40
  describe 'callback test' do
@@ -44,8 +44,8 @@ describe 'AuthApi' do
44
44
  end
45
45
 
46
46
  # unit tests for get_me
47
- # get_me
48
- # get_me Get the user corresponding to your current auth credentials.
47
+ # Get Me
48
+ # Get Me Get the user corresponding to your current auth credentials.
49
49
  # @param [Hash] opts the optional parameters
50
50
  # @return [SlimUser]
51
51
  describe 'get_me test' do
@@ -55,12 +55,10 @@ describe 'AuthApi' do
55
55
  end
56
56
 
57
57
  # unit tests for login
58
- # login
59
- # login This will redirect you to the OAuth provider for authentication with email/pass, SSO, Google, Github, etc.
58
+ # Login
59
+ # Login This will redirect you to the OAuth provider for authentication with email/pass, SSO, Google, Github, etc.
60
+ # @param content Query parameters for login to be included as kv pairs after ? on the request URL.
60
61
  # @param [Hash] opts the optional parameters
61
- # @option opts [String] :inv_code Code sent via email as a result of successful call to send_invitation
62
- # @option opts [String] :organization_id ID of organization to authenticate into
63
- # @option opts [String] :redirect_uri URL to redirect to after successful login
64
62
  # @return [nil]
65
63
  describe 'login test' do
66
64
  it 'should work' do
@@ -69,8 +67,8 @@ describe 'AuthApi' do
69
67
  end
70
68
 
71
69
  # unit tests for logout
72
- # logout
73
- # logout Invalidate your current auth credential stored typically stored in a cookie. This does not invalidate your API key.
70
+ # Logout
71
+ # Logout Invalidate your current auth credential stored typically stored in a cookie. This does not invalidate your API key.
74
72
  # @param [Hash] opts the optional parameters
75
73
  # @return [nil]
76
74
  describe 'logout test' do
@@ -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
 
@@ -13,13 +13,13 @@ Generator version: 7.4.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OpenapiClient::ChunkApi
16
+ # Unit tests for TrieveRubyClient::ChunkApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'ChunkApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = OpenapiClient::ChunkApi.new
22
+ @api_instance = TrieveRubyClient::ChunkApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,26 +28,13 @@ describe 'ChunkApi' do
28
28
 
29
29
  describe 'test an instance of ChunkApi' do
30
30
  it 'should create an instance of ChunkApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::ChunkApi)
32
- end
33
- end
34
-
35
- # unit tests for bulk_create_chunk
36
- # bulk_create_chunk
37
- # bulk_create_chunk Create a new chunk from an array of chunks. If the chunk has the same tracking_id as an existing chunk, the request will fail. Once a chunk is created, it can be searched for using the search endpoint.
38
- # @param tr_dataset The dataset id to use for the request
39
- # @param create_chunk_data JSON request payload to create a new chunk (chunk)
40
- # @param [Hash] opts the optional parameters
41
- # @return [ReturnQueuedChunk]
42
- describe 'bulk_create_chunk test' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ expect(@api_instance).to be_instance_of(TrieveRubyClient::ChunkApi)
45
32
  end
46
33
  end
47
34
 
48
35
  # unit tests for create_chunk
49
- # create_chunk
50
- # create_chunk Create a new chunk. If the chunk has the same tracking_id as an existing chunk, the request will fail. Once a chunk is created, it can be searched for using the search endpoint.
36
+ # Create or Upsert Chunk or Chunks
37
+ # Create or Upsert Chunk or Chunks Create a new chunk. If the chunk has the same tracking_id as an existing chunk, the request will fail. Once a chunk is created, it can be searched for using the search endpoint.
51
38
  # @param tr_dataset The dataset id to use for the request
52
39
  # @param create_chunk_data JSON request payload to create a new chunk (chunk)
53
40
  # @param [Hash] opts the optional parameters
@@ -59,8 +46,8 @@ describe 'ChunkApi' do
59
46
  end
60
47
 
61
48
  # unit tests for create_suggested_queries_handler
62
- # get_suggested_queries
63
- # get_suggested_queries This endpoint will generate 3 suggested queries based off the query provided in the request body and return them as a JSON object.
49
+ # Generate suggested queries
50
+ # Generate suggested queries This endpoint will generate 3 suggested queries based off the query provided in the request body and return them as a JSON object.
64
51
  # @param tr_dataset The dataset id to use for the request
65
52
  # @param suggested_queries_request JSON request payload to get alternative suggested queries
66
53
  # @param [Hash] opts the optional parameters
@@ -72,10 +59,10 @@ describe 'ChunkApi' do
72
59
  end
73
60
 
74
61
  # unit tests for delete_chunk
75
- # delete_chunk
76
- # delete_chunk Delete a chunk by its id. If deleting a root chunk which has a collision, the most recently created collision will become a new root chunk.
62
+ # Delete Chunk
63
+ # Delete Chunk Delete a chunk by its id. If deleting a root chunk which has a collision, the most recently created collision will become a new root chunk.
77
64
  # @param tr_dataset The dataset id to use for the request
78
- # @param chunk_id id of the chunk you want to delete
65
+ # @param chunk_id Id of the chunk you want to fetch.
79
66
  # @param [Hash] opts the optional parameters
80
67
  # @return [nil]
81
68
  describe 'delete_chunk test' do
@@ -85,8 +72,8 @@ describe 'ChunkApi' do
85
72
  end
86
73
 
87
74
  # unit tests for delete_chunk_by_tracking_id
88
- # delete_chunk_by_tracking_id
89
- # delete_chunk_by_tracking_id Delete a chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk. If deleting a root chunk which has a collision, the most recently created collision will become a new root chunk.
75
+ # Delete Chunk By Tracking Id
76
+ # Delete Chunk By Tracking Id Delete a chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk. If deleting a root chunk which has a collision, the most recently created collision will become a new root chunk.
90
77
  # @param tr_dataset The dataset id to use for the request
91
78
  # @param tracking_id tracking_id of the chunk you want to delete
92
79
  # @param [Hash] opts the optional parameters
@@ -98,8 +85,8 @@ describe 'ChunkApi' do
98
85
  end
99
86
 
100
87
  # unit tests for generate_off_chunks
101
- # augmented_generation_from_chunks
102
- # augmented_generation_from_chunks This endpoint exists as an alternative to the topic+message concept where our API handles chat memory. With this endpoint, the user is responsible for providing the context window and the prompt. See more in the \"search before generate\" page at docs.trieve.ai.
88
+ # RAG on Specified Chunks
89
+ # RAG on Specified Chunks This endpoint exists as an alternative to the topic+message concept where our API handles chat memory. With this endpoint, the user is responsible for providing the context window and the prompt. See more in the \"search before generate\" page at docs.trieve.ai.
103
90
  # @param tr_dataset The dataset id to use for the request
104
91
  # @param generate_chunks_request JSON request payload to perform RAG on some chunks (chunks)
105
92
  # @param [Hash] opts the optional parameters
@@ -111,8 +98,8 @@ describe 'ChunkApi' do
111
98
  end
112
99
 
113
100
  # unit tests for get_chunk_by_id
114
- # get_chunk
115
- # get_chunk Get a singular chunk by id.
101
+ # Get Chunk By Id
102
+ # Get Chunk By Id Get a singular chunk by id.
116
103
  # @param tr_dataset The dataset id to use for the request
117
104
  # @param chunk_id Id of the chunk you want to fetch.
118
105
  # @param [Hash] opts the optional parameters
@@ -124,8 +111,8 @@ describe 'ChunkApi' do
124
111
  end
125
112
 
126
113
  # unit tests for get_chunk_by_tracking_id
127
- # get_chunk_by_tracking_id
128
- # get_chunk_by_tracking_id Get a singular chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use your own id as the primary reference for a chunk.
114
+ # Get Chunk By Tracking Id
115
+ # Get Chunk By Tracking Id Get a singular chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use your own id as the primary reference for a chunk.
129
116
  # @param tr_dataset The dataset id to use for the request
130
117
  # @param tracking_id tracking_id of the chunk you want to fetch
131
118
  # @param [Hash] opts the optional parameters
@@ -137,8 +124,8 @@ describe 'ChunkApi' do
137
124
  end
138
125
 
139
126
  # unit tests for get_recommended_chunks
140
- # get_recommended_chunks
141
- # get_recommended_chunks Get recommendations of chunks similar to the chunks in the request. Think about this as a feature similar to the \"add to playlist\" recommendation feature on Spotify. This request pairs especially well with our groups endpoint.
127
+ # Get Recommended Chunks
128
+ # Get Recommended Chunks Get recommendations of chunks similar to the chunks in the request. Think about this as a feature similar to the \"add to playlist\" recommendation feature on Spotify. This request pairs especially well with our groups endpoint.
142
129
  # @param tr_dataset The dataset id to use for the request
143
130
  # @param recommend_chunks_request JSON request payload to get recommendations of chunks similar to the chunks in the request
144
131
  # @param [Hash] opts the optional parameters
@@ -150,8 +137,8 @@ describe 'ChunkApi' do
150
137
  end
151
138
 
152
139
  # unit tests for search_chunk
153
- # search
154
- # search This route provides the primary search functionality for the API. It can be used to search for chunks by semantic similarity, full-text similarity, or a combination of both. Results' `chunk_html` values will be modified with `<b>` tags for sub-sentence highlighting.
140
+ # Search
141
+ # Search This route provides the primary search functionality for the API. It can be used to search for chunks by semantic similarity, full-text similarity, or a combination of both. Results' `chunk_html` values will be modified with `<b>` tags for sub-sentence highlighting.
155
142
  # @param tr_dataset The dataset id to use for the request
156
143
  # @param search_chunk_data JSON request payload to semantically search for chunks (chunks)
157
144
  # @param [Hash] opts the optional parameters
@@ -163,8 +150,8 @@ describe 'ChunkApi' do
163
150
  end
164
151
 
165
152
  # unit tests for update_chunk
166
- # update_chunk
167
- # update_chunk Update a chunk. If you try to change the tracking_id of the chunk to have the same tracking_id as an existing chunk, the request will fail.
153
+ # Update Chunk
154
+ # Update Chunk Update a chunk. If you try to change the tracking_id of the chunk to have the same tracking_id as an existing chunk, the request will fail.
168
155
  # @param tr_dataset The dataset id to use for the request
169
156
  # @param update_chunk_data JSON request payload to update a chunk (chunk)
170
157
  # @param [Hash] opts the optional parameters
@@ -176,8 +163,8 @@ describe 'ChunkApi' do
176
163
  end
177
164
 
178
165
  # unit tests for update_chunk_by_tracking_id
179
- # update_chunk_by_tracking_id
180
- # update_chunk_by_tracking_id Update a chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk.
166
+ # Update Chunk By Tracking Id
167
+ # Update Chunk By Tracking Id Update a chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk.
181
168
  # @param tr_dataset The dataset id to use for the request
182
169
  # @param update_chunk_by_tracking_id_data JSON request payload to update a chunk by tracking_id (chunks)
183
170
  # @param [Hash] opts the optional parameters
@@ -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
 
@@ -13,13 +13,13 @@ Generator version: 7.4.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OpenapiClient::ChunkGroupApi
16
+ # Unit tests for TrieveRubyClient::ChunkGroupApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'ChunkGroupApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = OpenapiClient::ChunkGroupApi.new
22
+ @api_instance = TrieveRubyClient::ChunkGroupApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,13 +28,13 @@ describe 'ChunkGroupApi' do
28
28
 
29
29
  describe 'test an instance of ChunkGroupApi' do
30
30
  it 'should create an instance of ChunkGroupApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::ChunkGroupApi)
31
+ expect(@api_instance).to be_instance_of(TrieveRubyClient::ChunkGroupApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for add_chunk_to_group
36
- # add_chunk_to_group
37
- # add_chunk_to_group Route to add a chunk to a group
36
+ # Add Chunk to Group
37
+ # Add Chunk to Group Route to add a chunk to a group.
38
38
  # @param tr_dataset The dataset id to use for the request
39
39
  # @param group_id Id of the group to add the chunk to as a bookmark
40
40
  # @param add_chunk_to_group_data JSON request payload to add a chunk to a group (bookmark it)
@@ -47,8 +47,8 @@ describe 'ChunkGroupApi' do
47
47
  end
48
48
 
49
49
  # unit tests for add_chunk_to_group_by_tracking_id
50
- # add_chunk_to_group_by_tracking_id
51
- # add_chunk_to_group_by_tracking_id Route to add a chunk to a group by tracking id. Think of a bookmark as a chunk which is a member of a group.
50
+ # Add Chunk to Group by Tracking ID
51
+ # Add Chunk to Group by Tracking ID Route to add a chunk to a group by tracking id.
52
52
  # @param tr_dataset The dataset id to use for the request
53
53
  # @param tracking_id Id of the group to add the chunk to as a bookmark
54
54
  # @param add_chunk_to_group_data JSON request payload to add a chunk to a group (bookmark it)
@@ -61,8 +61,8 @@ describe 'ChunkGroupApi' do
61
61
  end
62
62
 
63
63
  # unit tests for create_chunk_group
64
- # create_chunk_group
65
- # create_chunk_group Create a new chunk_group.
64
+ # Create Chunk Group
65
+ # Create Chunk Group Create a new chunk_group. This is a way to group chunks together. If you try to create a chunk_group with the same tracking_id as an existing chunk_group, this operation will fail.
66
66
  # @param tr_dataset The dataset id to use for the request
67
67
  # @param create_chunk_group_data JSON request payload to cretea a chunkGroup
68
68
  # @param [Hash] opts the optional parameters
@@ -74,10 +74,10 @@ describe 'ChunkGroupApi' do
74
74
  end
75
75
 
76
76
  # unit tests for delete_chunk_group
77
- # delete_chunk_group
78
- # delete_chunk_group This will delete a chunk_group. This will not delete the chunks that are in the group. We will soon support deleting a chunk_group along with its member chunks.
77
+ # Delete Group
78
+ # Delete Group This will delete a chunk_group. This will not delete the chunks that are in the group. We will soon support deleting a chunk_group along with its member chunks.
79
79
  # @param tr_dataset The dataset id to use for the request
80
- # @param group_id Id of the chunk_group to delete
80
+ # @param group_id Id of the group you want to fetch.
81
81
  # @param delete_chunks Delete the chunks within the group
82
82
  # @param [Hash] opts the optional parameters
83
83
  # @return [nil]
@@ -88,6 +88,8 @@ describe 'ChunkGroupApi' do
88
88
  end
89
89
 
90
90
  # unit tests for delete_group_by_tracking_id
91
+ # Delete Group by Tracking ID
92
+ # Delete Group by Tracking ID Delete a chunk_group with the given tracking id.
91
93
  # @param tr_dataset The dataset id to use for the request
92
94
  # @param tracking_id Tracking id of the chunk_group to delete
93
95
  # @param [Hash] opts the optional parameters
@@ -98,11 +100,24 @@ describe 'ChunkGroupApi' do
98
100
  end
99
101
  end
100
102
 
103
+ # unit tests for get_chunk_group
104
+ # Get Group
105
+ # Get Group Fetch the group with the given id. get_group
106
+ # @param tr_dataset The dataset id to use for the request
107
+ # @param group_id Id of the group you want to fetch.
108
+ # @param [Hash] opts the optional parameters
109
+ # @return [ChunkGroup]
110
+ describe 'get_chunk_group test' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
+ end
114
+ end
115
+
101
116
  # unit tests for get_chunks_in_group
102
- # get_chunks_in_group
103
- # get_chunks_in_group Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon.
117
+ # Get Chunks in Group
118
+ # Get Chunks in Group Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon.
104
119
  # @param tr_dataset The dataset id to use for the request
105
- # @param group_id The id of the group to get the chunks from
120
+ # @param group_id Id of the group you want to fetch.
106
121
  # @param page The page of chunks to get from the group
107
122
  # @param [Hash] opts the optional parameters
108
123
  # @return [BookmarkData]
@@ -113,8 +128,8 @@ describe 'ChunkGroupApi' do
113
128
  end
114
129
 
115
130
  # unit tests for get_chunks_in_group_by_tracking_id
116
- # get_chunks_in_group_by_tracking_id
117
- # get_chunks_in_group_by_tracking_id Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon.
131
+ # Get Chunks in Group by Tracking ID
132
+ # Get Chunks in Group by Tracking ID Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon.
118
133
  # @param tr_dataset The dataset id to use for the request
119
134
  # @param group_tracking_id The id of the group to get the chunks from
120
135
  # @param page The page of chunks to get from the group
@@ -127,8 +142,8 @@ describe 'ChunkGroupApi' do
127
142
  end
128
143
 
129
144
  # unit tests for get_group_by_tracking_id
130
- # get_group_by_tracking_id
131
- # get_group_by_tracking_id
145
+ # Get Group by Tracking ID
146
+ # Get Group by Tracking ID Fetch the group with the given tracking id. get_group_by_tracking_id
132
147
  # @param tr_dataset The dataset id to use for the request
133
148
  # @param tracking_id The tracking id of the group to fetch.
134
149
  # @param [Hash] opts the optional parameters
@@ -140,6 +155,8 @@ describe 'ChunkGroupApi' do
140
155
  end
141
156
 
142
157
  # unit tests for get_groups_chunk_is_in
158
+ # Get Groups for Chunks
159
+ # Get Groups for Chunks Route to get the groups that a chunk is in.
143
160
  # @param tr_dataset The dataset id to use for the request
144
161
  # @param get_groups_for_chunks_data JSON request payload to get the groups that a chunk is in
145
162
  # @param [Hash] opts the optional parameters
@@ -151,6 +168,8 @@ describe 'ChunkGroupApi' do
151
168
  end
152
169
 
153
170
  # unit tests for get_recommended_groups
171
+ # Get Recommended Groups
172
+ # Get Recommended Groups Route to get recommended groups. This route will return groups which are similar to the groups in the request body.
154
173
  # @param tr_dataset The dataset id to use for the request
155
174
  # @param reccomend_group_chunks_request JSON request payload to get recommendations of chunks similar to the chunks in the request
156
175
  # @param [Hash] opts the optional parameters
@@ -162,8 +181,8 @@ describe 'ChunkGroupApi' do
162
181
  end
163
182
 
164
183
  # unit tests for get_specific_dataset_chunk_groups
165
- # get_dataset_groups
166
- # get_dataset_groups Fetch the groups which belong to a dataset specified by its id.
184
+ # Get Groups for Dataset
185
+ # Get Groups for Dataset Fetch the groups which belong to a dataset specified by its id.
167
186
  # @param tr_dataset The dataset id to use for the request
168
187
  # @param dataset_id The id of the dataset to fetch groups for.
169
188
  # @param page The page of groups to fetch. Each page contains 10 groups. Support for custom page size is coming soon.
@@ -176,8 +195,8 @@ describe 'ChunkGroupApi' do
176
195
  end
177
196
 
178
197
  # unit tests for remove_chunk_from_group
179
- # remove_chunk_from_group
180
- # remove_chunk_from_group Route to remove a chunk from a group.
198
+ # Remove Chunk from Group
199
+ # Remove Chunk from Group Route to remove a chunk from a group.
181
200
  # @param tr_dataset The dataset id to use for the request
182
201
  # @param group_id Id of the group to remove the bookmark'ed chunk from
183
202
  # @param create_chunk_group_data JSON request payload to cretea a chunkGroup
@@ -190,8 +209,8 @@ describe 'ChunkGroupApi' do
190
209
  end
191
210
 
192
211
  # unit tests for search_over_groups
193
- # group_oriented_search
194
- # group_oriented_search This route allows you to get groups as results instead of chunks. Each group returned will have the matching chunks sorted by similarity within the group. This is useful for when you want to get groups of chunks which are similar to the search query. If choosing hybrid search, the results will be re-ranked using BAAI/bge-reranker-large. Compatible with semantic, fulltext, or hybrid search modes.
212
+ # Search Over Groups
213
+ # Search Over Groups This route allows you to get groups as results instead of chunks. Each group returned will have the matching chunks sorted by similarity within the group. This is useful for when you want to get groups of chunks which are similar to the search query. If choosing hybrid search, the results will be re-ranked using BAAI/bge-reranker-large. Compatible with semantic, fulltext, or hybrid search modes.
195
214
  # @param search_over_groups_data JSON request payload to semantically search over groups
196
215
  # @param [Hash] opts the optional parameters
197
216
  # @return [SearchOverGroupsResponseBody]
@@ -202,8 +221,8 @@ describe 'ChunkGroupApi' do
202
221
  end
203
222
 
204
223
  # unit tests for search_within_group
205
- # search_within_group
206
- # search_within_group This route allows you to search only within a group. This is useful for when you only want search results to contain chunks which are members of a specific group. If choosing hybrid search, the results will be re-ranked using BAAI/bge-reranker-large.
224
+ # Search Within Group
225
+ # Search Within Group This route allows you to search only within a group. This is useful for when you only want search results to contain chunks which are members of a specific group. If choosing hybrid search, the results will be re-ranked using BAAI/bge-reranker-large.
207
226
  # @param tr_dataset The dataset id to use for the request
208
227
  # @param search_within_group_data JSON request payload to semantically search a group
209
228
  # @param [Hash] opts the optional parameters
@@ -215,8 +234,8 @@ describe 'ChunkGroupApi' do
215
234
  end
216
235
 
217
236
  # unit tests for update_chunk_group
218
- # update_chunk_group
219
- # update_chunk_group Update a chunk_group.
237
+ # Update Group
238
+ # Update Group Update a chunk_group. If you try to change the tracking_id to one that already exists, this operation will fail.
220
239
  # @param tr_dataset The dataset id to use for the request
221
240
  # @param update_chunk_group_data JSON request payload to update a chunkGroup
222
241
  # @param [Hash] opts the optional parameters
@@ -228,6 +247,8 @@ describe 'ChunkGroupApi' do
228
247
  end
229
248
 
230
249
  # unit tests for update_group_by_tracking_id
250
+ # Update Group by Tracking ID
251
+ # Update Group by Tracking ID Update a chunk_group with the given tracking id.
231
252
  # @param tr_dataset The dataset id to use for the request
232
253
  # @param tracking_id Tracking id of the chunk_group to update
233
254
  # @param update_group_by_tracking_id_data JSON request payload to update a chunkGroup
@@ -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
 
@@ -13,13 +13,13 @@ Generator version: 7.4.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OpenapiClient::DatasetApi
16
+ # Unit tests for TrieveRubyClient::DatasetApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'DatasetApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = OpenapiClient::DatasetApi.new
22
+ @api_instance = TrieveRubyClient::DatasetApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,13 +28,13 @@ describe 'DatasetApi' do
28
28
 
29
29
  describe 'test an instance of DatasetApi' do
30
30
  it 'should create an instance of DatasetApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::DatasetApi)
31
+ expect(@api_instance).to be_instance_of(TrieveRubyClient::DatasetApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for create_dataset
36
- # create_dataset
37
- # create_dataset Create a new dataset. The auth'ed user must be an owner of the organization to create a dataset.
36
+ # Create dataset
37
+ # Create dataset Create a new dataset. The auth'ed user must be an owner of the organization to create a dataset.
38
38
  # @param tr_organization The organization id to use for the request
39
39
  # @param create_dataset_request JSON request payload to create a new dataset
40
40
  # @param [Hash] opts the optional parameters
@@ -46,8 +46,8 @@ describe 'DatasetApi' do
46
46
  end
47
47
 
48
48
  # unit tests for delete_dataset
49
- # delete_dataset
50
- # delete_dataset Delete a dataset. The auth'ed user must be an owner of the organization to delete a dataset.
49
+ # Delete Dataset
50
+ # Delete Dataset Delete a dataset. The auth'ed user must be an owner of the organization to delete a dataset.
51
51
  # @param tr_organization The organization id to use for the request
52
52
  # @param delete_dataset_request JSON request payload to delete a dataset
53
53
  # @param [Hash] opts the optional parameters
@@ -59,8 +59,8 @@ describe 'DatasetApi' do
59
59
  end
60
60
 
61
61
  # unit tests for get_client_dataset_config
62
- # get_client_dataset_config
63
- # get_client_dataset_config Get the client configuration for a dataset. Will use the TR-D
62
+ # Get Client Configuration
63
+ # Get Client Configuration Get the client configuration for a dataset. Will use the TR-D
64
64
  # @param tr_dataset The dataset id to use for the request
65
65
  # @param [Hash] opts the optional parameters
66
66
  # @return [ClientDatasetConfiguration]
@@ -71,8 +71,8 @@ describe 'DatasetApi' do
71
71
  end
72
72
 
73
73
  # unit tests for get_dataset
74
- # get_dataset
75
- # get_dataset Get a dataset by id. The auth'ed user must be an admin or owner of the organization to get a dataset.
74
+ # Get Dataset
75
+ # Get Dataset Get a dataset by id. The auth'ed user must be an admin or owner of the organization to get a dataset.
76
76
  # @param tr_organization The organization id to use for the request
77
77
  # @param tr_dataset The dataset id to use for the request
78
78
  # @param dataset_id The id of the dataset you want to retrieve.
@@ -85,8 +85,8 @@ describe 'DatasetApi' do
85
85
  end
86
86
 
87
87
  # unit tests for get_datasets_from_organization
88
- # get_organization_datasets
89
- # get_organization_datasets Get all datasets for an organization. The auth'ed user must be an admin or owner of the organization to get its datasets.
88
+ # Get Datasets from Organization
89
+ # Get Datasets from Organization Get all datasets for an organization. The auth'ed user must be an admin or owner of the organization to get its datasets.
90
90
  # @param tr_organization The organization id to use for the request
91
91
  # @param organization_id id of the organization you want to retrieve datasets for
92
92
  # @param [Hash] opts the optional parameters
@@ -98,8 +98,8 @@ describe 'DatasetApi' do
98
98
  end
99
99
 
100
100
  # unit tests for update_dataset
101
- # update_dataset
102
- # update_dataset Update a dataset. The auth'ed user must be an owner of the organization to update a dataset.
101
+ # Update Dataset
102
+ # Update Dataset Update a dataset. The auth'ed user must be an owner of the organization to update a dataset.
103
103
  # @param tr_organization The organization id to use for the request
104
104
  # @param update_dataset_request JSON request payload to update a dataset
105
105
  # @param [Hash] opts the optional parameters
@@ -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
 
@@ -13,13 +13,13 @@ Generator version: 7.4.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OpenapiClient::EventsApi
16
+ # Unit tests for TrieveRubyClient::EventsApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'EventsApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = OpenapiClient::EventsApi.new
22
+ @api_instance = TrieveRubyClient::EventsApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,15 +28,15 @@ describe 'EventsApi' do
28
28
 
29
29
  describe 'test an instance of EventsApi' do
30
30
  it 'should create an instance of EventsApi' do
31
- expect(@api_instance).to be_instance_of(OpenapiClient::EventsApi)
31
+ expect(@api_instance).to be_instance_of(TrieveRubyClient::EventsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for get_events
36
- # get_events
37
- # get_events Get events for the auth'ed user. Currently, this is only for events belonging to the auth'ed user. Soon, we plan to associate events to datasets instead of users. Each page contains 10 events.
36
+ # Get events for the dataset
37
+ # Get events for the dataset Get events for the auth'ed user. Currently, this is only for events belonging to the auth'ed user. Soon, we plan to associate events to datasets instead of users.
38
38
  # @param tr_dataset The dataset id to use for the request
39
- # @param page Page number of events to get
39
+ # @param get_events_data JSON request payload to get events for a dataset
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [EventReturn]
42
42
  describe 'get_events test' do