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,34 +1,35 @@
1
1
  # TrieveRubyClient::ChunkGroupApi
2
2
 
3
- All URIs are relative to *http://localhost*
3
+ All URIs are relative to *http://localhost:8090*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**add_chunk_to_group**](ChunkGroupApi.md#add_chunk_to_group) | **POST** /api/chunk_group/chunk/{group_id} | add_chunk_to_group |
8
- | [**add_chunk_to_group_by_tracking_id**](ChunkGroupApi.md#add_chunk_to_group_by_tracking_id) | **POST** /api/chunk_group/tracking_id/{tracking_id} | add_chunk_to_group_by_tracking_id |
9
- | [**create_chunk_group**](ChunkGroupApi.md#create_chunk_group) | **POST** /api/chunk_group | create_chunk_group |
10
- | [**delete_chunk_group**](ChunkGroupApi.md#delete_chunk_group) | **DELETE** /api/{tracking_or_chunk}/{group_id} | delete_chunk_group |
11
- | [**delete_group_by_tracking_id**](ChunkGroupApi.md#delete_group_by_tracking_id) | **DELETE** /api/chunk_group/tracking_id/{tracking_id} | |
12
- | [**get_chunks_in_group**](ChunkGroupApi.md#get_chunks_in_group) | **GET** /api/chunk_group/{tracking_or_chunk}/{group_id}/{page} | get_chunks_in_group |
13
- | [**get_chunks_in_group_by_tracking_id**](ChunkGroupApi.md#get_chunks_in_group_by_tracking_id) | **GET** /api/chunk_group/tracking_id/{group_tracking_id}/{page} | get_chunks_in_group_by_tracking_id |
14
- | [**get_group_by_tracking_id**](ChunkGroupApi.md#get_group_by_tracking_id) | **GET** /api/chunk_group/tracking_id/{tracking_id} | get_group_by_tracking_id |
15
- | [**get_groups_chunk_is_in**](ChunkGroupApi.md#get_groups_chunk_is_in) | **POST** /api/chunk_group/chunks | |
16
- | [**get_recommended_groups**](ChunkGroupApi.md#get_recommended_groups) | **POST** /api/chunk_group/recommend | |
17
- | [**get_specific_dataset_chunk_groups**](ChunkGroupApi.md#get_specific_dataset_chunk_groups) | **GET** /api/dataset/groups/{dataset_id}/{page} | get_dataset_groups |
18
- | [**remove_chunk_from_group**](ChunkGroupApi.md#remove_chunk_from_group) | **DELETE** /api/chunk_group/chunk/{group_id} | remove_chunk_from_group |
19
- | [**search_over_groups**](ChunkGroupApi.md#search_over_groups) | **POST** /api/chunk_group/group_oriented_search | group_oriented_search |
20
- | [**search_within_group**](ChunkGroupApi.md#search_within_group) | **POST** /api/chunk_group/search | search_within_group |
21
- | [**update_chunk_group**](ChunkGroupApi.md#update_chunk_group) | **PUT** /api/chunk_group | update_chunk_group |
22
- | [**update_group_by_tracking_id**](ChunkGroupApi.md#update_group_by_tracking_id) | **PUT** /api/chunk_group/tracking_id/{tracking_id} | |
7
+ | [**add_chunk_to_group**](ChunkGroupApi.md#add_chunk_to_group) | **POST** /api/chunk_group/chunk/{group_id} | Add Chunk to Group |
8
+ | [**add_chunk_to_group_by_tracking_id**](ChunkGroupApi.md#add_chunk_to_group_by_tracking_id) | **POST** /api/chunk_group/tracking_id/{tracking_id} | Add Chunk to Group by Tracking ID |
9
+ | [**create_chunk_group**](ChunkGroupApi.md#create_chunk_group) | **POST** /api/chunk_group | Create Chunk Group |
10
+ | [**delete_chunk_group**](ChunkGroupApi.md#delete_chunk_group) | **DELETE** /api/chunk_group/{group_id} | Delete Group |
11
+ | [**delete_group_by_tracking_id**](ChunkGroupApi.md#delete_group_by_tracking_id) | **DELETE** /api/chunk_group/tracking_id/{tracking_id} | Delete Group by Tracking ID |
12
+ | [**get_chunk_group**](ChunkGroupApi.md#get_chunk_group) | **GET** /api/chunk_group/{group_id} | Get Group |
13
+ | [**get_chunks_in_group**](ChunkGroupApi.md#get_chunks_in_group) | **GET** /api/chunk_group/{group_id}/{page} | Get Chunks in Group |
14
+ | [**get_chunks_in_group_by_tracking_id**](ChunkGroupApi.md#get_chunks_in_group_by_tracking_id) | **GET** /api/chunk_group/tracking_id/{group_tracking_id}/{page} | Get Chunks in Group by Tracking ID |
15
+ | [**get_group_by_tracking_id**](ChunkGroupApi.md#get_group_by_tracking_id) | **GET** /api/chunk_group/tracking_id/{tracking_id} | Get Group by Tracking ID |
16
+ | [**get_groups_chunk_is_in**](ChunkGroupApi.md#get_groups_chunk_is_in) | **POST** /api/chunk_group/chunks | Get Groups for Chunks |
17
+ | [**get_recommended_groups**](ChunkGroupApi.md#get_recommended_groups) | **POST** /api/chunk_group/recommend | Get Recommended Groups |
18
+ | [**get_specific_dataset_chunk_groups**](ChunkGroupApi.md#get_specific_dataset_chunk_groups) | **GET** /api/dataset/groups/{dataset_id}/{page} | Get Groups for Dataset |
19
+ | [**remove_chunk_from_group**](ChunkGroupApi.md#remove_chunk_from_group) | **DELETE** /api/chunk_group/chunk/{group_id} | Remove Chunk from Group |
20
+ | [**search_over_groups**](ChunkGroupApi.md#search_over_groups) | **POST** /api/chunk_group/group_oriented_search | Search Over Groups |
21
+ | [**search_within_group**](ChunkGroupApi.md#search_within_group) | **POST** /api/chunk_group/search | Search Within Group |
22
+ | [**update_chunk_group**](ChunkGroupApi.md#update_chunk_group) | **PUT** /api/chunk_group | Update Group |
23
+ | [**update_group_by_tracking_id**](ChunkGroupApi.md#update_group_by_tracking_id) | **PUT** /api/chunk_group/tracking_id/{tracking_id} | Update Group by Tracking ID |
23
24
 
24
25
 
25
26
  ## add_chunk_to_group
26
27
 
27
28
  > add_chunk_to_group(tr_dataset, group_id, add_chunk_to_group_data)
28
29
 
29
- add_chunk_to_group
30
+ Add Chunk to Group
30
31
 
31
- add_chunk_to_group Route to add a chunk to a group
32
+ Add Chunk to Group Route to add a chunk to a group.
32
33
 
33
34
  ### Examples
34
35
 
@@ -49,7 +50,7 @@ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group to
49
50
  add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new({chunk_id: 'chunk_id_example'}) # AddChunkToGroupData | JSON request payload to add a chunk to a group (bookmark it)
50
51
 
51
52
  begin
52
- # add_chunk_to_group
53
+ # Add Chunk to Group
53
54
  api_instance.add_chunk_to_group(tr_dataset, group_id, add_chunk_to_group_data)
54
55
  rescue TrieveRubyClient::ApiError => e
55
56
  puts "Error when calling ChunkGroupApi->add_chunk_to_group: #{e}"
@@ -64,7 +65,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
64
65
 
65
66
  ```ruby
66
67
  begin
67
- # add_chunk_to_group
68
+ # Add Chunk to Group
68
69
  data, status_code, headers = api_instance.add_chunk_to_group_with_http_info(tr_dataset, group_id, add_chunk_to_group_data)
69
70
  p status_code # => 2xx
70
71
  p headers # => { ... }
@@ -100,9 +101,9 @@ nil (empty response body)
100
101
 
101
102
  > add_chunk_to_group_by_tracking_id(tr_dataset, tracking_id, add_chunk_to_group_data)
102
103
 
103
- add_chunk_to_group_by_tracking_id
104
+ Add Chunk to Group by Tracking ID
104
105
 
105
- 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.
106
+ Add Chunk to Group by Tracking ID Route to add a chunk to a group by tracking id.
106
107
 
107
108
  ### Examples
108
109
 
@@ -123,7 +124,7 @@ tracking_id = 'tracking_id_example' # String | Id of the group to add the chunk
123
124
  add_chunk_to_group_data = TrieveRubyClient::AddChunkToGroupData.new({chunk_id: 'chunk_id_example'}) # AddChunkToGroupData | JSON request payload to add a chunk to a group (bookmark it)
124
125
 
125
126
  begin
126
- # add_chunk_to_group_by_tracking_id
127
+ # Add Chunk to Group by Tracking ID
127
128
  api_instance.add_chunk_to_group_by_tracking_id(tr_dataset, tracking_id, add_chunk_to_group_data)
128
129
  rescue TrieveRubyClient::ApiError => e
129
130
  puts "Error when calling ChunkGroupApi->add_chunk_to_group_by_tracking_id: #{e}"
@@ -138,7 +139,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
138
139
 
139
140
  ```ruby
140
141
  begin
141
- # add_chunk_to_group_by_tracking_id
142
+ # Add Chunk to Group by Tracking ID
142
143
  data, status_code, headers = api_instance.add_chunk_to_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, add_chunk_to_group_data)
143
144
  p status_code # => 2xx
144
145
  p headers # => { ... }
@@ -174,9 +175,9 @@ nil (empty response body)
174
175
 
175
176
  > <ChunkGroup> create_chunk_group(tr_dataset, create_chunk_group_data)
176
177
 
177
- create_chunk_group
178
+ Create Chunk Group
178
179
 
179
- create_chunk_group Create a new chunk_group.
180
+ 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.
180
181
 
181
182
  ### Examples
182
183
 
@@ -196,7 +197,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
196
197
  create_chunk_group_data = TrieveRubyClient::CreateChunkGroupData.new({description: 'description_example', name: 'name_example'}) # CreateChunkGroupData | JSON request payload to cretea a chunkGroup
197
198
 
198
199
  begin
199
- # create_chunk_group
200
+ # Create Chunk Group
200
201
  result = api_instance.create_chunk_group(tr_dataset, create_chunk_group_data)
201
202
  p result
202
203
  rescue TrieveRubyClient::ApiError => e
@@ -212,7 +213,7 @@ This returns an Array which contains the response data, status code and headers.
212
213
 
213
214
  ```ruby
214
215
  begin
215
- # create_chunk_group
216
+ # Create Chunk Group
216
217
  data, status_code, headers = api_instance.create_chunk_group_with_http_info(tr_dataset, create_chunk_group_data)
217
218
  p status_code # => 2xx
218
219
  p headers # => { ... }
@@ -245,11 +246,11 @@ end
245
246
 
246
247
  ## delete_chunk_group
247
248
 
248
- > delete_chunk_group(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
249
+ > delete_chunk_group(tr_dataset, group_id, delete_chunks)
249
250
 
250
- delete_chunk_group
251
+ Delete Group
251
252
 
252
- 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.
253
+ 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.
253
254
 
254
255
  ### Examples
255
256
 
@@ -266,13 +267,12 @@ end
266
267
 
267
268
  api_instance = TrieveRubyClient::ChunkGroupApi.new
268
269
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
269
- group_id = TODO # Uuid | Id of the group you want to fetch. This can be either the group_id or the tracking_id. If both are provided, the group_id will be used.
270
- tracking_or_chunk = 'tracking_or_chunk_example' # String | The type of id you are using to search for the group. This can be either 'chunk' or 'tracking_id'
270
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group you want to fetch.
271
271
  delete_chunks = true # Boolean | Delete the chunks within the group
272
272
 
273
273
  begin
274
- # delete_chunk_group
275
- api_instance.delete_chunk_group(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
274
+ # Delete Group
275
+ api_instance.delete_chunk_group(tr_dataset, group_id, delete_chunks)
276
276
  rescue TrieveRubyClient::ApiError => e
277
277
  puts "Error when calling ChunkGroupApi->delete_chunk_group: #{e}"
278
278
  end
@@ -282,12 +282,12 @@ end
282
282
 
283
283
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
284
284
 
285
- > <Array(nil, Integer, Hash)> delete_chunk_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
285
+ > <Array(nil, Integer, Hash)> delete_chunk_group_with_http_info(tr_dataset, group_id, delete_chunks)
286
286
 
287
287
  ```ruby
288
288
  begin
289
- # delete_chunk_group
290
- data, status_code, headers = api_instance.delete_chunk_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
289
+ # Delete Group
290
+ data, status_code, headers = api_instance.delete_chunk_group_with_http_info(tr_dataset, group_id, delete_chunks)
291
291
  p status_code # => 2xx
292
292
  p headers # => { ... }
293
293
  p data # => nil
@@ -301,8 +301,7 @@ end
301
301
  | Name | Type | Description | Notes |
302
302
  | ---- | ---- | ----------- | ----- |
303
303
  | **tr_dataset** | **String** | The dataset id to use for the request | |
304
- | **group_id** | [**Uuid**](.md) | Id of the group you want to fetch. This can be either the group_id or the tracking_id. If both are provided, the group_id will be used. | |
305
- | **tracking_or_chunk** | **String** | The type of id you are using to search for the group. This can be either &#39;chunk&#39; or &#39;tracking_id&#39; | |
304
+ | **group_id** | **String** | Id of the group you want to fetch. | |
306
305
  | **delete_chunks** | **Boolean** | Delete the chunks within the group | |
307
306
 
308
307
  ### Return type
@@ -323,7 +322,9 @@ nil (empty response body)
323
322
 
324
323
  > delete_group_by_tracking_id(tr_dataset, tracking_id)
325
324
 
325
+ Delete Group by Tracking ID
326
326
 
327
+ Delete Group by Tracking ID Delete a chunk_group with the given tracking id.
327
328
 
328
329
  ### Examples
329
330
 
@@ -343,7 +344,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
343
344
  tracking_id = 'tracking_id_example' # String | Tracking id of the chunk_group to delete
344
345
 
345
346
  begin
346
-
347
+ # Delete Group by Tracking ID
347
348
  api_instance.delete_group_by_tracking_id(tr_dataset, tracking_id)
348
349
  rescue TrieveRubyClient::ApiError => e
349
350
  puts "Error when calling ChunkGroupApi->delete_group_by_tracking_id: #{e}"
@@ -358,7 +359,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
358
359
 
359
360
  ```ruby
360
361
  begin
361
-
362
+ # Delete Group by Tracking ID
362
363
  data, status_code, headers = api_instance.delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
363
364
  p status_code # => 2xx
364
365
  p headers # => { ... }
@@ -389,13 +390,86 @@ nil (empty response body)
389
390
  - **Accept**: application/json
390
391
 
391
392
 
393
+ ## get_chunk_group
394
+
395
+ > <ChunkGroup> get_chunk_group(tr_dataset, group_id)
396
+
397
+ Get Group
398
+
399
+ Get Group Fetch the group with the given id. get_group
400
+
401
+ ### Examples
402
+
403
+ ```ruby
404
+ require 'time'
405
+ require 'trieve_ruby_client'
406
+ # setup authorization
407
+ TrieveRubyClient.configure do |config|
408
+ # Configure API key authorization: ApiKey
409
+ config.api_key['ApiKey'] = 'YOUR API KEY'
410
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
411
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
412
+ end
413
+
414
+ api_instance = TrieveRubyClient::ChunkGroupApi.new
415
+ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
416
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group you want to fetch.
417
+
418
+ begin
419
+ # Get Group
420
+ result = api_instance.get_chunk_group(tr_dataset, group_id)
421
+ p result
422
+ rescue TrieveRubyClient::ApiError => e
423
+ puts "Error when calling ChunkGroupApi->get_chunk_group: #{e}"
424
+ end
425
+ ```
426
+
427
+ #### Using the get_chunk_group_with_http_info variant
428
+
429
+ This returns an Array which contains the response data, status code and headers.
430
+
431
+ > <Array(<ChunkGroup>, Integer, Hash)> get_chunk_group_with_http_info(tr_dataset, group_id)
432
+
433
+ ```ruby
434
+ begin
435
+ # Get Group
436
+ data, status_code, headers = api_instance.get_chunk_group_with_http_info(tr_dataset, group_id)
437
+ p status_code # => 2xx
438
+ p headers # => { ... }
439
+ p data # => <ChunkGroup>
440
+ rescue TrieveRubyClient::ApiError => e
441
+ puts "Error when calling ChunkGroupApi->get_chunk_group_with_http_info: #{e}"
442
+ end
443
+ ```
444
+
445
+ ### Parameters
446
+
447
+ | Name | Type | Description | Notes |
448
+ | ---- | ---- | ----------- | ----- |
449
+ | **tr_dataset** | **String** | The dataset id to use for the request | |
450
+ | **group_id** | **String** | Id of the group you want to fetch. | |
451
+
452
+ ### Return type
453
+
454
+ [**ChunkGroup**](ChunkGroup.md)
455
+
456
+ ### Authorization
457
+
458
+ [ApiKey](../README.md#ApiKey)
459
+
460
+ ### HTTP request headers
461
+
462
+ - **Content-Type**: Not defined
463
+ - **Accept**: application/json
464
+
465
+
392
466
  ## get_chunks_in_group
393
467
 
394
- > <BookmarkData> get_chunks_in_group(tr_dataset, group_id, tracking_or_chunk, page)
468
+ > <BookmarkData> get_chunks_in_group(tr_dataset, group_id, page)
395
469
 
396
- get_chunks_in_group
470
+ Get Chunks in Group
397
471
 
398
- 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.
472
+ 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.
399
473
 
400
474
  ### Examples
401
475
 
@@ -412,13 +486,12 @@ end
412
486
 
413
487
  api_instance = TrieveRubyClient::ChunkGroupApi.new
414
488
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
415
- group_id = TODO # Uuid | Id of the group you want to fetch. This can be either the group_id or the tracking_id. If both are provided, the group_id will be used.
416
- tracking_or_chunk = 'tracking_or_chunk_example' # String | The type of id you are using to search for the group. This can be either 'chunk' or 'tracking_id'
489
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group you want to fetch.
417
490
  page = 789 # Integer | The page of chunks to get from the group
418
491
 
419
492
  begin
420
- # get_chunks_in_group
421
- result = api_instance.get_chunks_in_group(tr_dataset, group_id, tracking_or_chunk, page)
493
+ # Get Chunks in Group
494
+ result = api_instance.get_chunks_in_group(tr_dataset, group_id, page)
422
495
  p result
423
496
  rescue TrieveRubyClient::ApiError => e
424
497
  puts "Error when calling ChunkGroupApi->get_chunks_in_group: #{e}"
@@ -429,12 +502,12 @@ end
429
502
 
430
503
  This returns an Array which contains the response data, status code and headers.
431
504
 
432
- > <Array(<BookmarkData>, Integer, Hash)> get_chunks_in_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, page)
505
+ > <Array(<BookmarkData>, Integer, Hash)> get_chunks_in_group_with_http_info(tr_dataset, group_id, page)
433
506
 
434
507
  ```ruby
435
508
  begin
436
- # get_chunks_in_group
437
- data, status_code, headers = api_instance.get_chunks_in_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, page)
509
+ # Get Chunks in Group
510
+ data, status_code, headers = api_instance.get_chunks_in_group_with_http_info(tr_dataset, group_id, page)
438
511
  p status_code # => 2xx
439
512
  p headers # => { ... }
440
513
  p data # => <BookmarkData>
@@ -448,8 +521,7 @@ end
448
521
  | Name | Type | Description | Notes |
449
522
  | ---- | ---- | ----------- | ----- |
450
523
  | **tr_dataset** | **String** | The dataset id to use for the request | |
451
- | **group_id** | [**Uuid**](.md) | Id of the group you want to fetch. This can be either the group_id or the tracking_id. If both are provided, the group_id will be used. | |
452
- | **tracking_or_chunk** | **String** | The type of id you are using to search for the group. This can be either &#39;chunk&#39; or &#39;tracking_id&#39; | |
524
+ | **group_id** | **String** | Id of the group you want to fetch. | |
453
525
  | **page** | **Integer** | The page of chunks to get from the group | |
454
526
 
455
527
  ### Return type
@@ -470,9 +542,9 @@ end
470
542
 
471
543
  > <BookmarkData> get_chunks_in_group_by_tracking_id(tr_dataset, group_tracking_id, page)
472
544
 
473
- get_chunks_in_group_by_tracking_id
545
+ Get Chunks in Group by Tracking ID
474
546
 
475
- 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.
547
+ 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.
476
548
 
477
549
  ### Examples
478
550
 
@@ -489,11 +561,11 @@ end
489
561
 
490
562
  api_instance = TrieveRubyClient::ChunkGroupApi.new
491
563
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
492
- group_tracking_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the group to get the chunks from
564
+ group_tracking_id = 'group_tracking_id_example' # String | The id of the group to get the chunks from
493
565
  page = 789 # Integer | The page of chunks to get from the group
494
566
 
495
567
  begin
496
- # get_chunks_in_group_by_tracking_id
568
+ # Get Chunks in Group by Tracking ID
497
569
  result = api_instance.get_chunks_in_group_by_tracking_id(tr_dataset, group_tracking_id, page)
498
570
  p result
499
571
  rescue TrieveRubyClient::ApiError => e
@@ -509,7 +581,7 @@ This returns an Array which contains the response data, status code and headers.
509
581
 
510
582
  ```ruby
511
583
  begin
512
- # get_chunks_in_group_by_tracking_id
584
+ # Get Chunks in Group by Tracking ID
513
585
  data, status_code, headers = api_instance.get_chunks_in_group_by_tracking_id_with_http_info(tr_dataset, group_tracking_id, page)
514
586
  p status_code # => 2xx
515
587
  p headers # => { ... }
@@ -545,9 +617,9 @@ end
545
617
 
546
618
  > <ChunkGroup> get_group_by_tracking_id(tr_dataset, tracking_id)
547
619
 
548
- get_group_by_tracking_id
620
+ Get Group by Tracking ID
549
621
 
550
- get_group_by_tracking_id
622
+ Get Group by Tracking ID Fetch the group with the given tracking id. get_group_by_tracking_id
551
623
 
552
624
  ### Examples
553
625
 
@@ -567,7 +639,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
567
639
  tracking_id = 'tracking_id_example' # String | The tracking id of the group to fetch.
568
640
 
569
641
  begin
570
- # get_group_by_tracking_id
642
+ # Get Group by Tracking ID
571
643
  result = api_instance.get_group_by_tracking_id(tr_dataset, tracking_id)
572
644
  p result
573
645
  rescue TrieveRubyClient::ApiError => e
@@ -583,7 +655,7 @@ This returns an Array which contains the response data, status code and headers.
583
655
 
584
656
  ```ruby
585
657
  begin
586
- # get_group_by_tracking_id
658
+ # Get Group by Tracking ID
587
659
  data, status_code, headers = api_instance.get_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
588
660
  p status_code # => 2xx
589
661
  p headers # => { ... }
@@ -618,7 +690,9 @@ end
618
690
 
619
691
  > <Array<BookmarkGroupResult>> get_groups_chunk_is_in(tr_dataset, get_groups_for_chunks_data)
620
692
 
693
+ Get Groups for Chunks
621
694
 
695
+ Get Groups for Chunks Route to get the groups that a chunk is in.
622
696
 
623
697
  ### Examples
624
698
 
@@ -638,7 +712,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
638
712
  get_groups_for_chunks_data = TrieveRubyClient::GetGroupsForChunksData.new({chunk_ids: ['chunk_ids_example']}) # GetGroupsForChunksData | JSON request payload to get the groups that a chunk is in
639
713
 
640
714
  begin
641
-
715
+ # Get Groups for Chunks
642
716
  result = api_instance.get_groups_chunk_is_in(tr_dataset, get_groups_for_chunks_data)
643
717
  p result
644
718
  rescue TrieveRubyClient::ApiError => e
@@ -654,7 +728,7 @@ This returns an Array which contains the response data, status code and headers.
654
728
 
655
729
  ```ruby
656
730
  begin
657
-
731
+ # Get Groups for Chunks
658
732
  data, status_code, headers = api_instance.get_groups_chunk_is_in_with_http_info(tr_dataset, get_groups_for_chunks_data)
659
733
  p status_code # => 2xx
660
734
  p headers # => { ... }
@@ -689,7 +763,9 @@ end
689
763
 
690
764
  > <Array<GroupScoreChunkDTO>> get_recommended_groups(tr_dataset, reccomend_group_chunks_request)
691
765
 
766
+ Get Recommended Groups
692
767
 
768
+ Get Recommended Groups Route to get recommended groups. This route will return groups which are similar to the groups in the request body.
693
769
 
694
770
  ### Examples
695
771
 
@@ -709,7 +785,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
709
785
  reccomend_group_chunks_request = TrieveRubyClient::ReccomendGroupChunksRequest.new # ReccomendGroupChunksRequest | JSON request payload to get recommendations of chunks similar to the chunks in the request
710
786
 
711
787
  begin
712
-
788
+ # Get Recommended Groups
713
789
  result = api_instance.get_recommended_groups(tr_dataset, reccomend_group_chunks_request)
714
790
  p result
715
791
  rescue TrieveRubyClient::ApiError => e
@@ -725,7 +801,7 @@ This returns an Array which contains the response data, status code and headers.
725
801
 
726
802
  ```ruby
727
803
  begin
728
-
804
+ # Get Recommended Groups
729
805
  data, status_code, headers = api_instance.get_recommended_groups_with_http_info(tr_dataset, reccomend_group_chunks_request)
730
806
  p status_code # => 2xx
731
807
  p headers # => { ... }
@@ -760,9 +836,9 @@ end
760
836
 
761
837
  > <GroupData> get_specific_dataset_chunk_groups(tr_dataset, dataset_id, page)
762
838
 
763
- get_dataset_groups
839
+ Get Groups for Dataset
764
840
 
765
- get_dataset_groups Fetch the groups which belong to a dataset specified by its id.
841
+ Get Groups for Dataset Fetch the groups which belong to a dataset specified by its id.
766
842
 
767
843
  ### Examples
768
844
 
@@ -783,7 +859,7 @@ dataset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the dat
783
859
  page = 789 # Integer | The page of groups to fetch. Each page contains 10 groups. Support for custom page size is coming soon.
784
860
 
785
861
  begin
786
- # get_dataset_groups
862
+ # Get Groups for Dataset
787
863
  result = api_instance.get_specific_dataset_chunk_groups(tr_dataset, dataset_id, page)
788
864
  p result
789
865
  rescue TrieveRubyClient::ApiError => e
@@ -799,7 +875,7 @@ This returns an Array which contains the response data, status code and headers.
799
875
 
800
876
  ```ruby
801
877
  begin
802
- # get_dataset_groups
878
+ # Get Groups for Dataset
803
879
  data, status_code, headers = api_instance.get_specific_dataset_chunk_groups_with_http_info(tr_dataset, dataset_id, page)
804
880
  p status_code # => 2xx
805
881
  p headers # => { ... }
@@ -835,9 +911,9 @@ end
835
911
 
836
912
  > remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
837
913
 
838
- remove_chunk_from_group
914
+ Remove Chunk from Group
839
915
 
840
- remove_chunk_from_group Route to remove a chunk from a group.
916
+ Remove Chunk from Group Route to remove a chunk from a group.
841
917
 
842
918
  ### Examples
843
919
 
@@ -858,7 +934,7 @@ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group to
858
934
  create_chunk_group_data = TrieveRubyClient::CreateChunkGroupData.new({description: 'description_example', name: 'name_example'}) # CreateChunkGroupData | JSON request payload to cretea a chunkGroup
859
935
 
860
936
  begin
861
- # remove_chunk_from_group
937
+ # Remove Chunk from Group
862
938
  api_instance.remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
863
939
  rescue TrieveRubyClient::ApiError => e
864
940
  puts "Error when calling ChunkGroupApi->remove_chunk_from_group: #{e}"
@@ -873,7 +949,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
873
949
 
874
950
  ```ruby
875
951
  begin
876
- # remove_chunk_from_group
952
+ # Remove Chunk from Group
877
953
  data, status_code, headers = api_instance.remove_chunk_from_group_with_http_info(tr_dataset, group_id, create_chunk_group_data)
878
954
  p status_code # => 2xx
879
955
  p headers # => { ... }
@@ -909,9 +985,9 @@ nil (empty response body)
909
985
 
910
986
  > <SearchOverGroupsResponseBody> search_over_groups(search_over_groups_data)
911
987
 
912
- group_oriented_search
988
+ Search Over Groups
913
989
 
914
- 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.
990
+ 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.
915
991
 
916
992
  ### Examples
917
993
 
@@ -923,7 +999,7 @@ api_instance = TrieveRubyClient::ChunkGroupApi.new
923
999
  search_over_groups_data = TrieveRubyClient::SearchOverGroupsData.new({query: 'query_example', search_type: 'search_type_example'}) # SearchOverGroupsData | JSON request payload to semantically search over groups
924
1000
 
925
1001
  begin
926
- # group_oriented_search
1002
+ # Search Over Groups
927
1003
  result = api_instance.search_over_groups(search_over_groups_data)
928
1004
  p result
929
1005
  rescue TrieveRubyClient::ApiError => e
@@ -939,7 +1015,7 @@ This returns an Array which contains the response data, status code and headers.
939
1015
 
940
1016
  ```ruby
941
1017
  begin
942
- # group_oriented_search
1018
+ # Search Over Groups
943
1019
  data, status_code, headers = api_instance.search_over_groups_with_http_info(search_over_groups_data)
944
1020
  p status_code # => 2xx
945
1021
  p headers # => { ... }
@@ -973,9 +1049,9 @@ No authorization required
973
1049
 
974
1050
  > <SearchGroupsResult> search_within_group(tr_dataset, search_within_group_data)
975
1051
 
976
- search_within_group
1052
+ Search Within Group
977
1053
 
978
- 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.
1054
+ 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.
979
1055
 
980
1056
  ### Examples
981
1057
 
@@ -995,7 +1071,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
995
1071
  search_within_group_data = TrieveRubyClient::SearchWithinGroupData.new({query: 'query_example', search_type: 'search_type_example'}) # SearchWithinGroupData | JSON request payload to semantically search a group
996
1072
 
997
1073
  begin
998
- # search_within_group
1074
+ # Search Within Group
999
1075
  result = api_instance.search_within_group(tr_dataset, search_within_group_data)
1000
1076
  p result
1001
1077
  rescue TrieveRubyClient::ApiError => e
@@ -1011,7 +1087,7 @@ This returns an Array which contains the response data, status code and headers.
1011
1087
 
1012
1088
  ```ruby
1013
1089
  begin
1014
- # search_within_group
1090
+ # Search Within Group
1015
1091
  data, status_code, headers = api_instance.search_within_group_with_http_info(tr_dataset, search_within_group_data)
1016
1092
  p status_code # => 2xx
1017
1093
  p headers # => { ... }
@@ -1046,9 +1122,9 @@ end
1046
1122
 
1047
1123
  > update_chunk_group(tr_dataset, update_chunk_group_data)
1048
1124
 
1049
- update_chunk_group
1125
+ Update Group
1050
1126
 
1051
- update_chunk_group Update a chunk_group.
1127
+ Update Group Update a chunk_group. If you try to change the tracking_id to one that already exists, this operation will fail.
1052
1128
 
1053
1129
  ### Examples
1054
1130
 
@@ -1068,7 +1144,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
1068
1144
  update_chunk_group_data = TrieveRubyClient::UpdateChunkGroupData.new # UpdateChunkGroupData | JSON request payload to update a chunkGroup
1069
1145
 
1070
1146
  begin
1071
- # update_chunk_group
1147
+ # Update Group
1072
1148
  api_instance.update_chunk_group(tr_dataset, update_chunk_group_data)
1073
1149
  rescue TrieveRubyClient::ApiError => e
1074
1150
  puts "Error when calling ChunkGroupApi->update_chunk_group: #{e}"
@@ -1083,7 +1159,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
1083
1159
 
1084
1160
  ```ruby
1085
1161
  begin
1086
- # update_chunk_group
1162
+ # Update Group
1087
1163
  data, status_code, headers = api_instance.update_chunk_group_with_http_info(tr_dataset, update_chunk_group_data)
1088
1164
  p status_code # => 2xx
1089
1165
  p headers # => { ... }
@@ -1118,7 +1194,9 @@ nil (empty response body)
1118
1194
 
1119
1195
  > update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1120
1196
 
1197
+ Update Group by Tracking ID
1121
1198
 
1199
+ Update Group by Tracking ID Update a chunk_group with the given tracking id.
1122
1200
 
1123
1201
  ### Examples
1124
1202
 
@@ -1139,7 +1217,7 @@ tracking_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Tracking id of t
1139
1217
  update_group_by_tracking_id_data = TrieveRubyClient::UpdateGroupByTrackingIDData.new({tracking_id: 'tracking_id_example'}) # UpdateGroupByTrackingIDData | JSON request payload to update a chunkGroup
1140
1218
 
1141
1219
  begin
1142
-
1220
+ # Update Group by Tracking ID
1143
1221
  api_instance.update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1144
1222
  rescue TrieveRubyClient::ApiError => e
1145
1223
  puts "Error when calling ChunkGroupApi->update_group_by_tracking_id: #{e}"
@@ -1154,7 +1232,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
1154
1232
 
1155
1233
  ```ruby
1156
1234
  begin
1157
-
1235
+ # Update Group by Tracking ID
1158
1236
  data, status_code, headers = api_instance.update_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1159
1237
  p status_code # => 2xx
1160
1238
  p headers # => { ... }