trieve_ruby_client 0.3.5 → 0.4.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 (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +78 -74
  3. data/docs/AuthApi.md +28 -34
  4. data/docs/AuthQuery.md +22 -0
  5. data/docs/BatchQueuedChunkResponse.md +20 -0
  6. data/docs/ChunkApi.md +69 -143
  7. data/docs/ChunkData.md +42 -0
  8. data/docs/ChunkGroupApi.md +169 -85
  9. data/docs/CreateChunkData.md +41 -34
  10. data/docs/DatasetApi.md +31 -31
  11. data/docs/EventsApi.md +13 -13
  12. data/docs/FileApi.md +21 -21
  13. data/docs/GetEventsData.md +22 -0
  14. data/docs/HealthApi.md +6 -4
  15. data/docs/InvitationApi.md +6 -6
  16. data/docs/MessageApi.md +21 -21
  17. data/docs/OrganizationApi.md +31 -31
  18. data/docs/ReturnQueuedChunk.md +39 -10
  19. data/docs/SingleQueuedChunkResponse.md +20 -0
  20. data/docs/StripeApi.md +21 -13
  21. data/docs/TopicApi.md +21 -21
  22. data/docs/UserApi.md +16 -16
  23. data/lib/trieve_ruby_client/api/auth_api.rb +27 -34
  24. data/lib/trieve_ruby_client/api/chunk_api.rb +57 -132
  25. data/lib/trieve_ruby_client/api/chunk_group_api.rb +149 -61
  26. data/lib/trieve_ruby_client/api/dataset_api.rb +25 -25
  27. data/lib/trieve_ruby_client/api/events_api.rb +21 -16
  28. data/lib/trieve_ruby_client/api/file_api.rb +17 -17
  29. data/lib/trieve_ruby_client/api/health_api.rb +5 -1
  30. data/lib/trieve_ruby_client/api/invitation_api.rb +5 -5
  31. data/lib/trieve_ruby_client/api/message_api.rb +17 -17
  32. data/lib/trieve_ruby_client/api/organization_api.rb +25 -25
  33. data/lib/trieve_ruby_client/api/stripe_api.rb +17 -1
  34. data/lib/trieve_ruby_client/api/topic_api.rb +17 -17
  35. data/lib/trieve_ruby_client/api/user_api.rb +13 -13
  36. data/lib/trieve_ruby_client/api_client.rb +1 -1
  37. data/lib/trieve_ruby_client/api_error.rb +1 -1
  38. data/lib/trieve_ruby_client/configuration.rb +8 -4
  39. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  40. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  41. data/lib/trieve_ruby_client/models/auth_query.rb +238 -0
  42. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +240 -0
  43. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  44. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  45. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  46. data/lib/trieve_ruby_client/models/chunk_data.rb +356 -0
  47. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  48. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  49. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  50. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  51. data/lib/trieve_ruby_client/models/chunk_metadata_with_file_data.rb +1 -1
  52. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  53. data/lib/trieve_ruby_client/models/create_chunk_data.rb +79 -330
  54. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  55. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  56. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  57. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  58. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  59. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  60. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  61. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  62. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  63. data/lib/trieve_ruby_client/models/delete_dataset_request.rb +1 -1
  64. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  65. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  66. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  67. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  68. data/lib/trieve_ruby_client/models/event.rb +1 -1
  69. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  70. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  71. data/lib/trieve_ruby_client/models/file.rb +1 -1
  72. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  73. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  74. data/lib/trieve_ruby_client/models/get_events_data.rb +240 -0
  75. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  76. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  77. data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +1 -1
  78. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  79. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  80. data/lib/trieve_ruby_client/models/message.rb +1 -1
  81. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  82. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  83. data/lib/trieve_ruby_client/models/range.rb +1 -1
  84. data/lib/trieve_ruby_client/models/reccomend_group_chunks_request.rb +1 -1
  85. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  86. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  87. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +75 -207
  88. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  90. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
  94. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  95. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  96. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  97. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +238 -0
  98. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  99. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  100. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  101. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  102. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  103. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  104. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  105. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  106. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  113. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  114. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  115. data/lib/trieve_ruby_client/version.rb +2 -2
  116. data/lib/trieve_ruby_client.rb +6 -2
  117. data/openapi-generator.yaml +1 -1
  118. data/openapi.json +1233 -824
  119. data/spec/models/auth_query_spec.rb +48 -0
  120. data/spec/models/batch_queued_chunk_response_spec.rb +42 -0
  121. data/spec/models/chunk_data_spec.rb +108 -0
  122. data/spec/models/get_events_data_spec.rb +48 -0
  123. data/spec/models/single_queued_chunk_response_spec.rb +42 -0
  124. data/spec/spec_helper.rb +1 -1
  125. data/trieve_ruby_client-0.3.5.gem +0 -0
  126. data/trieve_ruby_client.gemspec +1 -1
  127. metadata +23 -4
  128. data/trieve_ruby_client-0.3.4.gem +0 -0
  129. 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/{tracking_or_chunk}/{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/{tracking_or_chunk}/{group_id} | Get Group |
13
+ | [**get_chunks_in_group**](ChunkGroupApi.md#get_chunks_in_group) | **GET** /api/chunk_group/{tracking_or_chunk}/{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. Think of a bookmark as a chunk which is a member of a group.
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.
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, tracking_or_chunk, 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,13 @@ 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
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'
271
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | 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.
271
272
  delete_chunks = true # Boolean | Delete the chunks within the group
272
273
 
273
274
  begin
274
- # delete_chunk_group
275
- api_instance.delete_chunk_group(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
275
+ # Delete Group
276
+ api_instance.delete_chunk_group(tr_dataset, tracking_or_chunk, group_id, delete_chunks)
276
277
  rescue TrieveRubyClient::ApiError => e
277
278
  puts "Error when calling ChunkGroupApi->delete_chunk_group: #{e}"
278
279
  end
@@ -282,12 +283,12 @@ end
282
283
 
283
284
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
284
285
 
285
- > <Array(nil, Integer, Hash)> delete_chunk_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, delete_chunks)
286
+ > <Array(nil, Integer, Hash)> delete_chunk_group_with_http_info(tr_dataset, tracking_or_chunk, group_id, delete_chunks)
286
287
 
287
288
  ```ruby
288
289
  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)
290
+ # Delete Group
291
+ data, status_code, headers = api_instance.delete_chunk_group_with_http_info(tr_dataset, tracking_or_chunk, group_id, delete_chunks)
291
292
  p status_code # => 2xx
292
293
  p headers # => { ... }
293
294
  p data # => nil
@@ -301,8 +302,8 @@ end
301
302
  | Name | Type | Description | Notes |
302
303
  | ---- | ---- | ----------- | ----- |
303
304
  | **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
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; | |
306
+ | **group_id** | **String** | 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. | |
306
307
  | **delete_chunks** | **Boolean** | Delete the chunks within the group | |
307
308
 
308
309
  ### Return type
@@ -323,7 +324,9 @@ nil (empty response body)
323
324
 
324
325
  > delete_group_by_tracking_id(tr_dataset, tracking_id)
325
326
 
327
+ Delete Group by Tracking ID
326
328
 
329
+ Delete Group by Tracking ID Delete a chunk_group with the given tracking id.
327
330
 
328
331
  ### Examples
329
332
 
@@ -343,7 +346,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
343
346
  tracking_id = 'tracking_id_example' # String | Tracking id of the chunk_group to delete
344
347
 
345
348
  begin
346
-
349
+ # Delete Group by Tracking ID
347
350
  api_instance.delete_group_by_tracking_id(tr_dataset, tracking_id)
348
351
  rescue TrieveRubyClient::ApiError => e
349
352
  puts "Error when calling ChunkGroupApi->delete_group_by_tracking_id: #{e}"
@@ -358,7 +361,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
358
361
 
359
362
  ```ruby
360
363
  begin
361
-
364
+ # Delete Group by Tracking ID
362
365
  data, status_code, headers = api_instance.delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
363
366
  p status_code # => 2xx
364
367
  p headers # => { ... }
@@ -389,13 +392,88 @@ nil (empty response body)
389
392
  - **Accept**: application/json
390
393
 
391
394
 
395
+ ## get_chunk_group
396
+
397
+ > <ChunkGroup> get_chunk_group(tr_dataset, tracking_or_chunk, group_id)
398
+
399
+ Get Group
400
+
401
+ Get Group Fetch the group with the given id. get_group
402
+
403
+ ### Examples
404
+
405
+ ```ruby
406
+ require 'time'
407
+ require 'trieve_ruby_client'
408
+ # setup authorization
409
+ TrieveRubyClient.configure do |config|
410
+ # Configure API key authorization: ApiKey
411
+ config.api_key['ApiKey'] = 'YOUR API KEY'
412
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
413
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
414
+ end
415
+
416
+ api_instance = TrieveRubyClient::ChunkGroupApi.new
417
+ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
418
+ 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'
419
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group you want to fetch. This can be either the group_id or the tracking_id.
420
+
421
+ begin
422
+ # Get Group
423
+ result = api_instance.get_chunk_group(tr_dataset, tracking_or_chunk, group_id)
424
+ p result
425
+ rescue TrieveRubyClient::ApiError => e
426
+ puts "Error when calling ChunkGroupApi->get_chunk_group: #{e}"
427
+ end
428
+ ```
429
+
430
+ #### Using the get_chunk_group_with_http_info variant
431
+
432
+ This returns an Array which contains the response data, status code and headers.
433
+
434
+ > <Array(<ChunkGroup>, Integer, Hash)> get_chunk_group_with_http_info(tr_dataset, tracking_or_chunk, group_id)
435
+
436
+ ```ruby
437
+ begin
438
+ # Get Group
439
+ data, status_code, headers = api_instance.get_chunk_group_with_http_info(tr_dataset, tracking_or_chunk, group_id)
440
+ p status_code # => 2xx
441
+ p headers # => { ... }
442
+ p data # => <ChunkGroup>
443
+ rescue TrieveRubyClient::ApiError => e
444
+ puts "Error when calling ChunkGroupApi->get_chunk_group_with_http_info: #{e}"
445
+ end
446
+ ```
447
+
448
+ ### Parameters
449
+
450
+ | Name | Type | Description | Notes |
451
+ | ---- | ---- | ----------- | ----- |
452
+ | **tr_dataset** | **String** | The dataset id to use for the request | |
453
+ | **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; | |
454
+ | **group_id** | **String** | Id of the group you want to fetch. This can be either the group_id or the tracking_id. | |
455
+
456
+ ### Return type
457
+
458
+ [**ChunkGroup**](ChunkGroup.md)
459
+
460
+ ### Authorization
461
+
462
+ [ApiKey](../README.md#ApiKey)
463
+
464
+ ### HTTP request headers
465
+
466
+ - **Content-Type**: Not defined
467
+ - **Accept**: application/json
468
+
469
+
392
470
  ## get_chunks_in_group
393
471
 
394
- > <BookmarkData> get_chunks_in_group(tr_dataset, group_id, tracking_or_chunk, page)
472
+ > <BookmarkData> get_chunks_in_group(tr_dataset, tracking_or_chunk, group_id, page)
395
473
 
396
- get_chunks_in_group
474
+ Get Chunks in Group
397
475
 
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.
476
+ 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
477
 
400
478
  ### Examples
401
479
 
@@ -412,13 +490,13 @@ end
412
490
 
413
491
  api_instance = TrieveRubyClient::ChunkGroupApi.new
414
492
  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
493
  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'
494
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | 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.
417
495
  page = 789 # Integer | The page of chunks to get from the group
418
496
 
419
497
  begin
420
- # get_chunks_in_group
421
- result = api_instance.get_chunks_in_group(tr_dataset, group_id, tracking_or_chunk, page)
498
+ # Get Chunks in Group
499
+ result = api_instance.get_chunks_in_group(tr_dataset, tracking_or_chunk, group_id, page)
422
500
  p result
423
501
  rescue TrieveRubyClient::ApiError => e
424
502
  puts "Error when calling ChunkGroupApi->get_chunks_in_group: #{e}"
@@ -429,12 +507,12 @@ end
429
507
 
430
508
  This returns an Array which contains the response data, status code and headers.
431
509
 
432
- > <Array(<BookmarkData>, Integer, Hash)> get_chunks_in_group_with_http_info(tr_dataset, group_id, tracking_or_chunk, page)
510
+ > <Array(<BookmarkData>, Integer, Hash)> get_chunks_in_group_with_http_info(tr_dataset, tracking_or_chunk, group_id, page)
433
511
 
434
512
  ```ruby
435
513
  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)
514
+ # Get Chunks in Group
515
+ data, status_code, headers = api_instance.get_chunks_in_group_with_http_info(tr_dataset, tracking_or_chunk, group_id, page)
438
516
  p status_code # => 2xx
439
517
  p headers # => { ... }
440
518
  p data # => <BookmarkData>
@@ -448,8 +526,8 @@ end
448
526
  | Name | Type | Description | Notes |
449
527
  | ---- | ---- | ----------- | ----- |
450
528
  | **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
529
  | **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; | |
530
+ | **group_id** | **String** | 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. | |
453
531
  | **page** | **Integer** | The page of chunks to get from the group | |
454
532
 
455
533
  ### Return type
@@ -470,9 +548,9 @@ end
470
548
 
471
549
  > <BookmarkData> get_chunks_in_group_by_tracking_id(tr_dataset, group_tracking_id, page)
472
550
 
473
- get_chunks_in_group_by_tracking_id
551
+ Get Chunks in Group by Tracking ID
474
552
 
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.
553
+ 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
554
 
477
555
  ### Examples
478
556
 
@@ -493,7 +571,7 @@ group_tracking_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of
493
571
  page = 789 # Integer | The page of chunks to get from the group
494
572
 
495
573
  begin
496
- # get_chunks_in_group_by_tracking_id
574
+ # Get Chunks in Group by Tracking ID
497
575
  result = api_instance.get_chunks_in_group_by_tracking_id(tr_dataset, group_tracking_id, page)
498
576
  p result
499
577
  rescue TrieveRubyClient::ApiError => e
@@ -509,7 +587,7 @@ This returns an Array which contains the response data, status code and headers.
509
587
 
510
588
  ```ruby
511
589
  begin
512
- # get_chunks_in_group_by_tracking_id
590
+ # Get Chunks in Group by Tracking ID
513
591
  data, status_code, headers = api_instance.get_chunks_in_group_by_tracking_id_with_http_info(tr_dataset, group_tracking_id, page)
514
592
  p status_code # => 2xx
515
593
  p headers # => { ... }
@@ -545,9 +623,9 @@ end
545
623
 
546
624
  > <ChunkGroup> get_group_by_tracking_id(tr_dataset, tracking_id)
547
625
 
548
- get_group_by_tracking_id
626
+ Get Group by Tracking ID
549
627
 
550
- get_group_by_tracking_id
628
+ Get Group by Tracking ID Fetch the group with the given tracking id. get_group_by_tracking_id
551
629
 
552
630
  ### Examples
553
631
 
@@ -567,7 +645,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
567
645
  tracking_id = 'tracking_id_example' # String | The tracking id of the group to fetch.
568
646
 
569
647
  begin
570
- # get_group_by_tracking_id
648
+ # Get Group by Tracking ID
571
649
  result = api_instance.get_group_by_tracking_id(tr_dataset, tracking_id)
572
650
  p result
573
651
  rescue TrieveRubyClient::ApiError => e
@@ -583,7 +661,7 @@ This returns an Array which contains the response data, status code and headers.
583
661
 
584
662
  ```ruby
585
663
  begin
586
- # get_group_by_tracking_id
664
+ # Get Group by Tracking ID
587
665
  data, status_code, headers = api_instance.get_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
588
666
  p status_code # => 2xx
589
667
  p headers # => { ... }
@@ -618,7 +696,9 @@ end
618
696
 
619
697
  > <Array<BookmarkGroupResult>> get_groups_chunk_is_in(tr_dataset, get_groups_for_chunks_data)
620
698
 
699
+ Get Groups for Chunks
621
700
 
701
+ Get Groups for Chunks Route to get the groups that a chunk is in.
622
702
 
623
703
  ### Examples
624
704
 
@@ -638,7 +718,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
638
718
  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
719
 
640
720
  begin
641
-
721
+ # Get Groups for Chunks
642
722
  result = api_instance.get_groups_chunk_is_in(tr_dataset, get_groups_for_chunks_data)
643
723
  p result
644
724
  rescue TrieveRubyClient::ApiError => e
@@ -654,7 +734,7 @@ This returns an Array which contains the response data, status code and headers.
654
734
 
655
735
  ```ruby
656
736
  begin
657
-
737
+ # Get Groups for Chunks
658
738
  data, status_code, headers = api_instance.get_groups_chunk_is_in_with_http_info(tr_dataset, get_groups_for_chunks_data)
659
739
  p status_code # => 2xx
660
740
  p headers # => { ... }
@@ -689,7 +769,9 @@ end
689
769
 
690
770
  > <Array<GroupScoreChunkDTO>> get_recommended_groups(tr_dataset, reccomend_group_chunks_request)
691
771
 
772
+ Get Recommended Groups
692
773
 
774
+ Get Recommended Groups Route to get recommended groups. This route will return groups which are similar to the groups in the request body.
693
775
 
694
776
  ### Examples
695
777
 
@@ -709,7 +791,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
709
791
  reccomend_group_chunks_request = TrieveRubyClient::ReccomendGroupChunksRequest.new # ReccomendGroupChunksRequest | JSON request payload to get recommendations of chunks similar to the chunks in the request
710
792
 
711
793
  begin
712
-
794
+ # Get Recommended Groups
713
795
  result = api_instance.get_recommended_groups(tr_dataset, reccomend_group_chunks_request)
714
796
  p result
715
797
  rescue TrieveRubyClient::ApiError => e
@@ -725,7 +807,7 @@ This returns an Array which contains the response data, status code and headers.
725
807
 
726
808
  ```ruby
727
809
  begin
728
-
810
+ # Get Recommended Groups
729
811
  data, status_code, headers = api_instance.get_recommended_groups_with_http_info(tr_dataset, reccomend_group_chunks_request)
730
812
  p status_code # => 2xx
731
813
  p headers # => { ... }
@@ -760,9 +842,9 @@ end
760
842
 
761
843
  > <GroupData> get_specific_dataset_chunk_groups(tr_dataset, dataset_id, page)
762
844
 
763
- get_dataset_groups
845
+ Get Groups for Dataset
764
846
 
765
- get_dataset_groups Fetch the groups which belong to a dataset specified by its id.
847
+ Get Groups for Dataset Fetch the groups which belong to a dataset specified by its id.
766
848
 
767
849
  ### Examples
768
850
 
@@ -783,7 +865,7 @@ dataset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the dat
783
865
  page = 789 # Integer | The page of groups to fetch. Each page contains 10 groups. Support for custom page size is coming soon.
784
866
 
785
867
  begin
786
- # get_dataset_groups
868
+ # Get Groups for Dataset
787
869
  result = api_instance.get_specific_dataset_chunk_groups(tr_dataset, dataset_id, page)
788
870
  p result
789
871
  rescue TrieveRubyClient::ApiError => e
@@ -799,7 +881,7 @@ This returns an Array which contains the response data, status code and headers.
799
881
 
800
882
  ```ruby
801
883
  begin
802
- # get_dataset_groups
884
+ # Get Groups for Dataset
803
885
  data, status_code, headers = api_instance.get_specific_dataset_chunk_groups_with_http_info(tr_dataset, dataset_id, page)
804
886
  p status_code # => 2xx
805
887
  p headers # => { ... }
@@ -835,9 +917,9 @@ end
835
917
 
836
918
  > remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
837
919
 
838
- remove_chunk_from_group
920
+ Remove Chunk from Group
839
921
 
840
- remove_chunk_from_group Route to remove a chunk from a group.
922
+ Remove Chunk from Group Route to remove a chunk from a group.
841
923
 
842
924
  ### Examples
843
925
 
@@ -858,7 +940,7 @@ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group to
858
940
  create_chunk_group_data = TrieveRubyClient::CreateChunkGroupData.new({description: 'description_example', name: 'name_example'}) # CreateChunkGroupData | JSON request payload to cretea a chunkGroup
859
941
 
860
942
  begin
861
- # remove_chunk_from_group
943
+ # Remove Chunk from Group
862
944
  api_instance.remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
863
945
  rescue TrieveRubyClient::ApiError => e
864
946
  puts "Error when calling ChunkGroupApi->remove_chunk_from_group: #{e}"
@@ -873,7 +955,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
873
955
 
874
956
  ```ruby
875
957
  begin
876
- # remove_chunk_from_group
958
+ # Remove Chunk from Group
877
959
  data, status_code, headers = api_instance.remove_chunk_from_group_with_http_info(tr_dataset, group_id, create_chunk_group_data)
878
960
  p status_code # => 2xx
879
961
  p headers # => { ... }
@@ -909,9 +991,9 @@ nil (empty response body)
909
991
 
910
992
  > <SearchOverGroupsResponseBody> search_over_groups(search_over_groups_data)
911
993
 
912
- group_oriented_search
994
+ Search Over Groups
913
995
 
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.
996
+ 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
997
 
916
998
  ### Examples
917
999
 
@@ -923,7 +1005,7 @@ api_instance = TrieveRubyClient::ChunkGroupApi.new
923
1005
  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
1006
 
925
1007
  begin
926
- # group_oriented_search
1008
+ # Search Over Groups
927
1009
  result = api_instance.search_over_groups(search_over_groups_data)
928
1010
  p result
929
1011
  rescue TrieveRubyClient::ApiError => e
@@ -939,7 +1021,7 @@ This returns an Array which contains the response data, status code and headers.
939
1021
 
940
1022
  ```ruby
941
1023
  begin
942
- # group_oriented_search
1024
+ # Search Over Groups
943
1025
  data, status_code, headers = api_instance.search_over_groups_with_http_info(search_over_groups_data)
944
1026
  p status_code # => 2xx
945
1027
  p headers # => { ... }
@@ -973,9 +1055,9 @@ No authorization required
973
1055
 
974
1056
  > <SearchGroupsResult> search_within_group(tr_dataset, search_within_group_data)
975
1057
 
976
- search_within_group
1058
+ Search Within Group
977
1059
 
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.
1060
+ 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
1061
 
980
1062
  ### Examples
981
1063
 
@@ -995,7 +1077,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
995
1077
  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
1078
 
997
1079
  begin
998
- # search_within_group
1080
+ # Search Within Group
999
1081
  result = api_instance.search_within_group(tr_dataset, search_within_group_data)
1000
1082
  p result
1001
1083
  rescue TrieveRubyClient::ApiError => e
@@ -1011,7 +1093,7 @@ This returns an Array which contains the response data, status code and headers.
1011
1093
 
1012
1094
  ```ruby
1013
1095
  begin
1014
- # search_within_group
1096
+ # Search Within Group
1015
1097
  data, status_code, headers = api_instance.search_within_group_with_http_info(tr_dataset, search_within_group_data)
1016
1098
  p status_code # => 2xx
1017
1099
  p headers # => { ... }
@@ -1046,9 +1128,9 @@ end
1046
1128
 
1047
1129
  > update_chunk_group(tr_dataset, update_chunk_group_data)
1048
1130
 
1049
- update_chunk_group
1131
+ Update Group
1050
1132
 
1051
- update_chunk_group Update a chunk_group.
1133
+ Update Group Update a chunk_group.
1052
1134
 
1053
1135
  ### Examples
1054
1136
 
@@ -1068,7 +1150,7 @@ tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the reque
1068
1150
  update_chunk_group_data = TrieveRubyClient::UpdateChunkGroupData.new # UpdateChunkGroupData | JSON request payload to update a chunkGroup
1069
1151
 
1070
1152
  begin
1071
- # update_chunk_group
1153
+ # Update Group
1072
1154
  api_instance.update_chunk_group(tr_dataset, update_chunk_group_data)
1073
1155
  rescue TrieveRubyClient::ApiError => e
1074
1156
  puts "Error when calling ChunkGroupApi->update_chunk_group: #{e}"
@@ -1083,7 +1165,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
1083
1165
 
1084
1166
  ```ruby
1085
1167
  begin
1086
- # update_chunk_group
1168
+ # Update Group
1087
1169
  data, status_code, headers = api_instance.update_chunk_group_with_http_info(tr_dataset, update_chunk_group_data)
1088
1170
  p status_code # => 2xx
1089
1171
  p headers # => { ... }
@@ -1118,7 +1200,9 @@ nil (empty response body)
1118
1200
 
1119
1201
  > update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1120
1202
 
1203
+ Update Group by Tracking ID
1121
1204
 
1205
+ Update Group by Tracking ID Update a chunk_group with the given tracking id.
1122
1206
 
1123
1207
  ### Examples
1124
1208
 
@@ -1139,7 +1223,7 @@ tracking_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Tracking id of t
1139
1223
  update_group_by_tracking_id_data = TrieveRubyClient::UpdateGroupByTrackingIDData.new({tracking_id: 'tracking_id_example'}) # UpdateGroupByTrackingIDData | JSON request payload to update a chunkGroup
1140
1224
 
1141
1225
  begin
1142
-
1226
+ # Update Group by Tracking ID
1143
1227
  api_instance.update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1144
1228
  rescue TrieveRubyClient::ApiError => e
1145
1229
  puts "Error when calling ChunkGroupApi->update_group_by_tracking_id: #{e}"
@@ -1154,7 +1238,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
1154
1238
 
1155
1239
  ```ruby
1156
1240
  begin
1157
-
1241
+ # Update Group by Tracking ID
1158
1242
  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
1243
  p status_code # => 2xx
1160
1244
  p headers # => { ... }