trieve_ruby_client 0.8.2 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -30
  3. data/docs/ApiKeyRespBody.md +32 -0
  4. data/docs/AutocompleteData.md +42 -0
  5. data/docs/AutocompleteReqPayload.md +50 -0
  6. data/docs/BoostPhrase.md +20 -0
  7. data/docs/ChunkApi.md +140 -66
  8. data/docs/ChunkData.md +3 -1
  9. data/docs/ChunkFilter.md +3 -3
  10. data/docs/ChunkGroup.md +1 -1
  11. data/docs/ChunkGroupApi.md +35 -33
  12. data/docs/ChunkMetadata.md +5 -1
  13. data/docs/ChunkMetadataStringTagSet.md +46 -0
  14. data/docs/ChunkMetadataTypes.md +51 -0
  15. data/docs/ChunkReqPayload.md +50 -0
  16. data/docs/ClientDatasetConfiguration.md +0 -2
  17. data/docs/ConditionType.md +49 -0
  18. data/docs/ContentChunkMetadata.md +32 -0
  19. data/docs/CreateChunkGroupReqPayload.md +28 -0
  20. data/docs/CreateChunkReqPayloadEnum.md +49 -0
  21. data/docs/CreateDatasetRequest.md +2 -2
  22. data/docs/CreateMessageData.md +2 -2
  23. data/docs/CreateMessageReqPayload.md +42 -0
  24. data/docs/CreateTopicReqPayload.md +22 -0
  25. data/docs/Dataset.md +2 -0
  26. data/docs/DatasetApi.md +236 -12
  27. data/docs/DateRange.md +24 -0
  28. data/docs/EditMessageReqPayload.md +44 -0
  29. data/docs/FieldCondition.md +2 -0
  30. data/docs/File.md +1 -1
  31. data/docs/FileApi.md +7 -7
  32. data/docs/GenerateChunksRequest.md +2 -0
  33. data/docs/GetDatasetsPagination.md +20 -0
  34. data/docs/HasIDCondition.md +20 -0
  35. data/docs/InvitationApi.md +1 -1
  36. data/docs/MatchCondition.md +3 -1
  37. data/docs/MessageApi.md +42 -42
  38. data/docs/Organization.md +2 -0
  39. data/docs/OrganizationApi.md +24 -25
  40. data/docs/RangeCondition.md +1 -3
  41. data/docs/RegenerateMessageReqPayload.md +40 -0
  42. data/docs/RemoveChunkFromGroupReqPayload.md +18 -0
  43. data/docs/ScoreChunkDTO.md +3 -1
  44. data/docs/SearchChunkData.md +9 -3
  45. data/docs/SearchChunksReqPayload.md +54 -0
  46. data/docs/SearchOverGroupsData.md +10 -2
  47. data/docs/SearchWithinGroupData.md +12 -2
  48. data/docs/SetUserApiKeyRequest.md +4 -0
  49. data/docs/SlimChunkMetadata.md +4 -0
  50. data/docs/SuggestedQueriesReqPayload.md +18 -0
  51. data/docs/TopicApi.md +16 -16
  52. data/docs/UpdateChunkData.md +2 -0
  53. data/docs/UpdateChunkReqPayload.md +46 -0
  54. data/docs/UpdateDatasetRequest.md +2 -0
  55. data/docs/UpdateGroupByTrackingIDReqPayload.md +26 -0
  56. data/docs/UpdateTopicReqPayload.md +20 -0
  57. data/docs/UpdateUserOrgRoleData.md +1 -1
  58. data/docs/UploadFileReqPayload.md +40 -0
  59. data/docs/UserApi.md +7 -8
  60. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  61. data/lib/trieve_ruby_client/api/chunk_api.rb +158 -83
  62. data/lib/trieve_ruby_client/api/chunk_group_api.rb +58 -51
  63. data/lib/trieve_ruby_client/api/dataset_api.rb +224 -15
  64. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  65. data/lib/trieve_ruby_client/api/file_api.rb +12 -12
  66. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  67. data/lib/trieve_ruby_client/api/invitation_api.rb +3 -3
  68. data/lib/trieve_ruby_client/api/message_api.rb +50 -50
  69. data/lib/trieve_ruby_client/api/organization_api.rb +27 -27
  70. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  71. data/lib/trieve_ruby_client/api/topic_api.rb +27 -27
  72. data/lib/trieve_ruby_client/api/user_api.rb +8 -8
  73. data/lib/trieve_ruby_client/api_client.rb +1 -1
  74. data/lib/trieve_ruby_client/api_error.rb +1 -1
  75. data/lib/trieve_ruby_client/configuration.rb +1 -1
  76. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  77. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  78. data/lib/trieve_ruby_client/models/api_key_resp_body.rb +325 -0
  79. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  80. data/lib/trieve_ruby_client/models/autocomplete_data.rb +378 -0
  81. data/lib/trieve_ruby_client/models/autocomplete_req_payload.rb +467 -0
  82. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  83. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  84. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  85. data/lib/trieve_ruby_client/models/boost_phrase.rb +240 -0
  86. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  87. data/lib/trieve_ruby_client/models/chunk_data.rb +16 -9
  88. data/lib/trieve_ruby_client/models/chunk_filter.rb +4 -4
  89. data/lib/trieve_ruby_client/models/chunk_group.rb +5 -3
  90. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  91. data/lib/trieve_ruby_client/models/chunk_metadata.rb +28 -4
  92. data/lib/trieve_ruby_client/models/chunk_metadata_string_tag_set.rb +387 -0
  93. data/lib/trieve_ruby_client/models/chunk_metadata_types.rb +106 -0
  94. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
  95. data/lib/trieve_ruby_client/models/chunk_req_payload.rb +400 -0
  96. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +2 -18
  97. data/lib/trieve_ruby_client/models/condition_type.rb +105 -0
  98. data/lib/trieve_ruby_client/models/content_chunk_metadata.rb +299 -0
  99. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  100. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  101. data/lib/trieve_ruby_client/models/create_chunk_group_req_payload.rb +273 -0
  102. data/lib/trieve_ruby_client/models/create_chunk_req_payload_enum.rb +105 -0
  103. data/lib/trieve_ruby_client/models/create_dataset_request.rb +3 -3
  104. data/lib/trieve_ruby_client/models/create_message_data.rb +13 -13
  105. data/lib/trieve_ruby_client/models/create_message_req_payload.rb +378 -0
  106. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/create_topic_req_payload.rb +244 -0
  109. data/lib/trieve_ruby_client/models/dataset.rb +18 -2
  110. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  111. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  112. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  113. data/lib/trieve_ruby_client/models/date_range.rb +245 -0
  114. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  115. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  116. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  117. data/lib/trieve_ruby_client/models/edit_message_req_payload.rb +395 -0
  118. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  119. data/lib/trieve_ruby_client/models/event.rb +1 -1
  120. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  121. data/lib/trieve_ruby_client/models/field_condition.rb +12 -2
  122. data/lib/trieve_ruby_client/models/file.rb +5 -3
  123. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  124. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +13 -2
  125. data/lib/trieve_ruby_client/models/geo_info.rb +1 -1
  126. data/lib/trieve_ruby_client/models/geo_types.rb +1 -1
  127. data/lib/trieve_ruby_client/models/get_chunks_data.rb +1 -1
  128. data/lib/trieve_ruby_client/models/get_datasets_pagination.rb +225 -0
  129. data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
  130. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  131. data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +1 -1
  132. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  133. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  134. data/lib/trieve_ruby_client/models/has_id_condition.rb +229 -0
  135. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  136. data/lib/trieve_ruby_client/models/location_bounding_box.rb +1 -1
  137. data/lib/trieve_ruby_client/models/location_polygon.rb +1 -1
  138. data/lib/trieve_ruby_client/models/location_radius.rb +1 -1
  139. data/lib/trieve_ruby_client/models/match_condition.rb +2 -1
  140. data/lib/trieve_ruby_client/models/message.rb +1 -1
  141. data/lib/trieve_ruby_client/models/organization.rb +18 -2
  142. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  143. data/lib/trieve_ruby_client/models/range.rb +1 -1
  144. data/lib/trieve_ruby_client/models/range_condition.rb +2 -3
  145. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  146. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
  147. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  148. data/lib/trieve_ruby_client/models/regenerate_message_req_payload.rb +361 -0
  149. data/lib/trieve_ruby_client/models/remove_chunk_from_group_req_payload.rb +222 -0
  150. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  151. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +15 -3
  152. data/lib/trieve_ruby_client/models/search_chunk_data.rb +40 -5
  153. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  154. data/lib/trieve_ruby_client/models/search_chunks_req_payload.rb +504 -0
  155. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +93 -4
  156. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  157. data/lib/trieve_ruby_client/models/search_within_group_data.rb +106 -4
  158. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  159. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +28 -2
  160. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  161. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  162. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +24 -2
  163. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  164. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  165. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  166. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  167. data/lib/trieve_ruby_client/models/suggested_queries_req_payload.rb +222 -0
  168. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  169. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  170. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  171. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  172. data/lib/trieve_ruby_client/models/update_chunk_data.rb +15 -2
  173. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  174. data/lib/trieve_ruby_client/models/update_chunk_req_payload.rb +376 -0
  175. data/lib/trieve_ruby_client/models/update_dataset_request.rb +13 -2
  176. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  177. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_req_payload.rb +268 -0
  178. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  179. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  180. data/lib/trieve_ruby_client/models/update_topic_req_payload.rb +239 -0
  181. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +2 -2
  182. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  183. data/lib/trieve_ruby_client/models/upload_file_req_payload.rb +368 -0
  184. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  185. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  186. data/lib/trieve_ruby_client/version.rb +2 -2
  187. data/lib/trieve_ruby_client.rb +25 -20
  188. data/openapi-generator.yaml +1 -1
  189. data/openapi.json +1 -7789
  190. data/spec/models/api_key_resp_body_spec.rb +78 -0
  191. data/spec/models/autocomplete_data_spec.rb +108 -0
  192. data/spec/models/autocomplete_req_payload_spec.rb +132 -0
  193. data/spec/models/boost_phrase_spec.rb +42 -0
  194. data/spec/models/chunk_metadata_string_tag_set_spec.rb +120 -0
  195. data/spec/models/chunk_metadata_types_spec.rb +32 -0
  196. data/spec/models/chunk_req_payload_spec.rb +132 -0
  197. data/spec/models/condition_type_spec.rb +32 -0
  198. data/spec/models/content_chunk_metadata_spec.rb +72 -0
  199. data/spec/models/create_chunk_group_req_payload_spec.rb +66 -0
  200. data/spec/models/create_chunk_req_payload_enum_spec.rb +32 -0
  201. data/spec/models/create_message_req_payload_spec.rb +108 -0
  202. data/spec/models/create_topic_req_payload_spec.rb +48 -0
  203. data/spec/models/date_range_spec.rb +54 -0
  204. data/spec/models/edit_message_req_payload_spec.rb +114 -0
  205. data/spec/models/get_datasets_pagination_spec.rb +42 -0
  206. data/spec/models/has_id_condition_spec.rb +42 -0
  207. data/spec/models/regenerate_message_req_payload_spec.rb +102 -0
  208. data/spec/models/remove_chunk_from_group_req_payload_spec.rb +36 -0
  209. data/spec/models/search_chunks_req_payload_spec.rb +144 -0
  210. data/spec/models/suggested_queries_req_payload_spec.rb +36 -0
  211. data/spec/models/update_chunk_req_payload_spec.rb +120 -0
  212. data/spec/models/update_group_by_tracking_id_req_payload_spec.rb +60 -0
  213. data/spec/models/update_topic_req_payload_spec.rb +42 -0
  214. data/spec/models/upload_file_req_payload_spec.rb +102 -0
  215. data/spec/spec_helper.rb +1 -1
  216. data/trieve_ruby_client-0.8.2.gem +0 -0
  217. data/trieve_ruby_client-0.8.5.gem +0 -0
  218. data/trieve_ruby_client.gemspec +1 -1
  219. metadata +104 -2
@@ -29,7 +29,7 @@ All URIs are relative to *https://api.trieve.ai*
29
29
 
30
30
  Add Chunk to Group
31
31
 
32
- 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. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
33
33
 
34
34
  ### Examples
35
35
 
@@ -103,7 +103,7 @@ nil (empty response body)
103
103
 
104
104
  Add Chunk to Group by Tracking ID
105
105
 
106
- Add Chunk to Group by Tracking ID Route to add a chunk to a group by tracking id.
106
+ Add Chunk to Group by Tracking ID Route to add a chunk to a group by tracking id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
107
107
 
108
108
  ### Examples
109
109
 
@@ -173,11 +173,11 @@ nil (empty response body)
173
173
 
174
174
  ## create_chunk_group
175
175
 
176
- > <ChunkGroup> create_chunk_group(tr_dataset, create_chunk_group_data)
176
+ > <ChunkGroup> create_chunk_group(tr_dataset, create_chunk_group_req_payload)
177
177
 
178
178
  Create Chunk Group
179
179
 
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
+ 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. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
181
181
 
182
182
  ### Examples
183
183
 
@@ -194,11 +194,11 @@ end
194
194
 
195
195
  api_instance = TrieveRubyClient::ChunkGroupApi.new
196
196
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
197
- create_chunk_group_data = TrieveRubyClient::CreateChunkGroupData.new({name: 'name_example'}) # CreateChunkGroupData | JSON request payload to cretea a chunkGroup
197
+ create_chunk_group_req_payload = TrieveRubyClient::CreateChunkGroupReqPayload.new # CreateChunkGroupReqPayload | JSON request payload to cretea a chunkGroup
198
198
 
199
199
  begin
200
200
  # Create Chunk Group
201
- result = api_instance.create_chunk_group(tr_dataset, create_chunk_group_data)
201
+ result = api_instance.create_chunk_group(tr_dataset, create_chunk_group_req_payload)
202
202
  p result
203
203
  rescue TrieveRubyClient::ApiError => e
204
204
  puts "Error when calling ChunkGroupApi->create_chunk_group: #{e}"
@@ -209,12 +209,12 @@ end
209
209
 
210
210
  This returns an Array which contains the response data, status code and headers.
211
211
 
212
- > <Array(<ChunkGroup>, Integer, Hash)> create_chunk_group_with_http_info(tr_dataset, create_chunk_group_data)
212
+ > <Array(<ChunkGroup>, Integer, Hash)> create_chunk_group_with_http_info(tr_dataset, create_chunk_group_req_payload)
213
213
 
214
214
  ```ruby
215
215
  begin
216
216
  # Create Chunk Group
217
- data, status_code, headers = api_instance.create_chunk_group_with_http_info(tr_dataset, create_chunk_group_data)
217
+ data, status_code, headers = api_instance.create_chunk_group_with_http_info(tr_dataset, create_chunk_group_req_payload)
218
218
  p status_code # => 2xx
219
219
  p headers # => { ... }
220
220
  p data # => <ChunkGroup>
@@ -228,7 +228,7 @@ end
228
228
  | Name | Type | Description | Notes |
229
229
  | ---- | ---- | ----------- | ----- |
230
230
  | **tr_dataset** | **String** | The dataset id to use for the request | |
231
- | **create_chunk_group_data** | [**CreateChunkGroupData**](CreateChunkGroupData.md) | JSON request payload to cretea a chunkGroup | |
231
+ | **create_chunk_group_req_payload** | [**CreateChunkGroupReqPayload**](CreateChunkGroupReqPayload.md) | JSON request payload to cretea a chunkGroup | |
232
232
 
233
233
  ### Return type
234
234
 
@@ -250,7 +250,7 @@ end
250
250
 
251
251
  Delete Group
252
252
 
253
- Delete Group This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group.
253
+ Delete Group This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
254
254
 
255
255
  ### Examples
256
256
 
@@ -320,11 +320,11 @@ nil (empty response body)
320
320
 
321
321
  ## delete_group_by_tracking_id
322
322
 
323
- > delete_group_by_tracking_id(tr_dataset, tracking_id)
323
+ > delete_group_by_tracking_id(tr_dataset, tracking_id, delete_chunks)
324
324
 
325
325
  Delete Group by Tracking ID
326
326
 
327
- Delete Group by Tracking ID Delete a chunk_group with the given tracking id.
327
+ Delete Group by Tracking ID Delete a chunk_group with the given tracking id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
328
328
 
329
329
  ### Examples
330
330
 
@@ -342,10 +342,11 @@ end
342
342
  api_instance = TrieveRubyClient::ChunkGroupApi.new
343
343
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
344
344
  tracking_id = 'tracking_id_example' # String | Tracking id of the chunk_group to delete
345
+ delete_chunks = true # Boolean | Delete the chunks within the group
345
346
 
346
347
  begin
347
348
  # Delete Group by Tracking ID
348
- api_instance.delete_group_by_tracking_id(tr_dataset, tracking_id)
349
+ api_instance.delete_group_by_tracking_id(tr_dataset, tracking_id, delete_chunks)
349
350
  rescue TrieveRubyClient::ApiError => e
350
351
  puts "Error when calling ChunkGroupApi->delete_group_by_tracking_id: #{e}"
351
352
  end
@@ -355,12 +356,12 @@ end
355
356
 
356
357
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
357
358
 
358
- > <Array(nil, Integer, Hash)> delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
359
+ > <Array(nil, Integer, Hash)> delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, delete_chunks)
359
360
 
360
361
  ```ruby
361
362
  begin
362
363
  # Delete Group by Tracking ID
363
- data, status_code, headers = api_instance.delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id)
364
+ data, status_code, headers = api_instance.delete_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, delete_chunks)
364
365
  p status_code # => 2xx
365
366
  p headers # => { ... }
366
367
  p data # => nil
@@ -375,6 +376,7 @@ end
375
376
  | ---- | ---- | ----------- | ----- |
376
377
  | **tr_dataset** | **String** | The dataset id to use for the request | |
377
378
  | **tracking_id** | **String** | Tracking id of the chunk_group to delete | |
379
+ | **delete_chunks** | **Boolean** | Delete the chunks within the group | |
378
380
 
379
381
  ### Return type
380
382
 
@@ -765,7 +767,7 @@ end
765
767
 
766
768
  Get Recommended Groups
767
769
 
768
- Get Recommended Groups Route to get recommended groups. This route will return groups which are similar to the groups in the request body.
770
+ Get Recommended Groups Route to get recommended groups. This route will return groups which are similar to the groups in the request body. You must provide at least one positive group id or group tracking id.
769
771
 
770
772
  ### Examples
771
773
 
@@ -909,11 +911,11 @@ end
909
911
 
910
912
  ## remove_chunk_from_group
911
913
 
912
- > remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
914
+ > remove_chunk_from_group(tr_dataset, group_id, remove_chunk_from_group_req_payload)
913
915
 
914
916
  Remove Chunk from Group
915
917
 
916
- Remove Chunk from Group Route to remove a chunk from a group.
918
+ Remove Chunk from Group Route to remove a chunk from a group. Auth'ed user or api key must be an admin or owner of the dataset's organization to remove a chunk from a group.
917
919
 
918
920
  ### Examples
919
921
 
@@ -930,12 +932,12 @@ end
930
932
 
931
933
  api_instance = TrieveRubyClient::ChunkGroupApi.new
932
934
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
933
- group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group to remove the bookmark'ed chunk from
934
- create_chunk_group_data = TrieveRubyClient::CreateChunkGroupData.new({name: 'name_example'}) # CreateChunkGroupData | JSON request payload to cretea a chunkGroup
935
+ group_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Id of the group you want to remove the chunk from.
936
+ remove_chunk_from_group_req_payload = TrieveRubyClient::RemoveChunkFromGroupReqPayload.new({chunk_id: 'chunk_id_example'}) # RemoveChunkFromGroupReqPayload | JSON request payload to remove a chunk from a group
935
937
 
936
938
  begin
937
939
  # Remove Chunk from Group
938
- api_instance.remove_chunk_from_group(tr_dataset, group_id, create_chunk_group_data)
940
+ api_instance.remove_chunk_from_group(tr_dataset, group_id, remove_chunk_from_group_req_payload)
939
941
  rescue TrieveRubyClient::ApiError => e
940
942
  puts "Error when calling ChunkGroupApi->remove_chunk_from_group: #{e}"
941
943
  end
@@ -945,12 +947,12 @@ end
945
947
 
946
948
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
947
949
 
948
- > <Array(nil, Integer, Hash)> remove_chunk_from_group_with_http_info(tr_dataset, group_id, create_chunk_group_data)
950
+ > <Array(nil, Integer, Hash)> remove_chunk_from_group_with_http_info(tr_dataset, group_id, remove_chunk_from_group_req_payload)
949
951
 
950
952
  ```ruby
951
953
  begin
952
954
  # Remove Chunk from Group
953
- data, status_code, headers = api_instance.remove_chunk_from_group_with_http_info(tr_dataset, group_id, create_chunk_group_data)
955
+ data, status_code, headers = api_instance.remove_chunk_from_group_with_http_info(tr_dataset, group_id, remove_chunk_from_group_req_payload)
954
956
  p status_code # => 2xx
955
957
  p headers # => { ... }
956
958
  p data # => nil
@@ -964,8 +966,8 @@ end
964
966
  | Name | Type | Description | Notes |
965
967
  | ---- | ---- | ----------- | ----- |
966
968
  | **tr_dataset** | **String** | The dataset id to use for the request | |
967
- | **group_id** | **String** | Id of the group to remove the bookmark&#39;ed chunk from | |
968
- | **create_chunk_group_data** | [**CreateChunkGroupData**](CreateChunkGroupData.md) | JSON request payload to cretea a chunkGroup | |
969
+ | **group_id** | **String** | Id of the group you want to remove the chunk from. | |
970
+ | **remove_chunk_from_group_req_payload** | [**RemoveChunkFromGroupReqPayload**](RemoveChunkFromGroupReqPayload.md) | JSON request payload to remove a chunk from a group | |
969
971
 
970
972
  ### Return type
971
973
 
@@ -1133,7 +1135,7 @@ end
1133
1135
 
1134
1136
  Update Group
1135
1137
 
1136
- Update Group Update a chunk_group. If you try to change the tracking_id to one that already exists, this operation will fail.
1138
+ Update Group Update a chunk_group. If you try to change the tracking_id to one that already exists, this operation will fail. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
1137
1139
 
1138
1140
  ### Examples
1139
1141
 
@@ -1201,11 +1203,11 @@ nil (empty response body)
1201
1203
 
1202
1204
  ## update_group_by_tracking_id
1203
1205
 
1204
- > update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1206
+ > update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_req_payload)
1205
1207
 
1206
1208
  Update Group by Tracking ID
1207
1209
 
1208
- Update Group by Tracking ID Update a chunk_group with the given tracking id.
1210
+ Update Group by Tracking ID Update a chunk_group with the given tracking id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
1209
1211
 
1210
1212
  ### Examples
1211
1213
 
@@ -1223,11 +1225,11 @@ end
1223
1225
  api_instance = TrieveRubyClient::ChunkGroupApi.new
1224
1226
  tr_dataset = 'tr_dataset_example' # String | The dataset id to use for the request
1225
1227
  tracking_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Tracking id of the chunk_group to update
1226
- update_group_by_tracking_id_data = TrieveRubyClient::UpdateGroupByTrackingIDData.new({tracking_id: 'tracking_id_example'}) # UpdateGroupByTrackingIDData | JSON request payload to update a chunkGroup
1228
+ update_group_by_tracking_id_req_payload = TrieveRubyClient::UpdateGroupByTrackingIDReqPayload.new({tracking_id: 'tracking_id_example'}) # UpdateGroupByTrackingIDReqPayload | JSON request payload to update a chunkGroup
1227
1229
 
1228
1230
  begin
1229
1231
  # Update Group by Tracking ID
1230
- api_instance.update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1232
+ api_instance.update_group_by_tracking_id(tr_dataset, tracking_id, update_group_by_tracking_id_req_payload)
1231
1233
  rescue TrieveRubyClient::ApiError => e
1232
1234
  puts "Error when calling ChunkGroupApi->update_group_by_tracking_id: #{e}"
1233
1235
  end
@@ -1237,12 +1239,12 @@ end
1237
1239
 
1238
1240
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
1239
1241
 
1240
- > <Array(nil, Integer, Hash)> update_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1242
+ > <Array(nil, Integer, Hash)> update_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, update_group_by_tracking_id_req_payload)
1241
1243
 
1242
1244
  ```ruby
1243
1245
  begin
1244
1246
  # Update Group by Tracking ID
1245
- data, status_code, headers = api_instance.update_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, update_group_by_tracking_id_data)
1247
+ data, status_code, headers = api_instance.update_group_by_tracking_id_with_http_info(tr_dataset, tracking_id, update_group_by_tracking_id_req_payload)
1246
1248
  p status_code # => 2xx
1247
1249
  p headers # => { ... }
1248
1250
  p data # => nil
@@ -1257,7 +1259,7 @@ end
1257
1259
  | ---- | ---- | ----------- | ----- |
1258
1260
  | **tr_dataset** | **String** | The dataset id to use for the request | |
1259
1261
  | **tracking_id** | **String** | Tracking id of the chunk_group to update | |
1260
- | **update_group_by_tracking_id_data** | [**UpdateGroupByTrackingIDData**](UpdateGroupByTrackingIDData.md) | JSON request payload to update a chunkGroup | |
1262
+ | **update_group_by_tracking_id_req_payload** | [**UpdateGroupByTrackingIDReqPayload**](UpdateGroupByTrackingIDReqPayload.md) | JSON request payload to update a chunkGroup | |
1261
1263
 
1262
1264
  ### Return type
1263
1265
 
@@ -8,11 +8,13 @@
8
8
  | **created_at** | **Time** | | |
9
9
  | **dataset_id** | **String** | | |
10
10
  | **id** | **String** | | |
11
+ | **image_urls** | **Array&lt;String&gt;** | | [optional] |
11
12
  | **link** | **String** | | [optional] |
12
13
  | **location** | [**GeoInfo**](GeoInfo.md) | | [optional] |
13
14
  | **metadata** | **Object** | | [optional] |
15
+ | **num_value** | **Float** | | [optional] |
14
16
  | **qdrant_point_id** | **String** | | [optional] |
15
- | **tag_set** | **String** | | [optional] |
17
+ | **tag_set** | **Array&lt;String&gt;** | | [optional] |
16
18
  | **time_stamp** | **Time** | | [optional] |
17
19
  | **tracking_id** | **String** | | [optional] |
18
20
  | **updated_at** | **Time** | | |
@@ -28,9 +30,11 @@ instance = TrieveRubyClient::ChunkMetadata.new(
28
30
  created_at: null,
29
31
  dataset_id: null,
30
32
  id: null,
33
+ image_urls: null,
31
34
  link: null,
32
35
  location: null,
33
36
  metadata: null,
37
+ num_value: null,
34
38
  qdrant_point_id: null,
35
39
  tag_set: null,
36
40
  time_stamp: null,
@@ -0,0 +1,46 @@
1
+ # TrieveRubyClient::ChunkMetadataStringTagSet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **chunk_html** | **String** | | [optional] |
8
+ | **created_at** | **Time** | | |
9
+ | **dataset_id** | **String** | | |
10
+ | **id** | **String** | | |
11
+ | **image_urls** | **Array&lt;String&gt;** | | [optional] |
12
+ | **link** | **String** | | [optional] |
13
+ | **location** | [**GeoInfo**](GeoInfo.md) | | [optional] |
14
+ | **metadata** | **Object** | | [optional] |
15
+ | **num_value** | **Float** | | [optional] |
16
+ | **qdrant_point_id** | **String** | | [optional] |
17
+ | **tag_set** | **String** | | [optional] |
18
+ | **time_stamp** | **Time** | | [optional] |
19
+ | **tracking_id** | **String** | | [optional] |
20
+ | **updated_at** | **Time** | | |
21
+ | **weight** | **Float** | | |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'trieve_ruby_client'
27
+
28
+ instance = TrieveRubyClient::ChunkMetadataStringTagSet.new(
29
+ chunk_html: null,
30
+ created_at: null,
31
+ dataset_id: null,
32
+ id: null,
33
+ image_urls: null,
34
+ link: null,
35
+ location: null,
36
+ metadata: null,
37
+ num_value: null,
38
+ qdrant_point_id: null,
39
+ tag_set: null,
40
+ time_stamp: null,
41
+ tracking_id: null,
42
+ updated_at: null,
43
+ weight: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,51 @@
1
+ # TrieveRubyClient::ChunkMetadataTypes
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'trieve_ruby_client'
13
+
14
+ TrieveRubyClient::ChunkMetadataTypes.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'ChunkMetadataStringTagSet',
18
+ # :'ContentChunkMetadata',
19
+ # :'SlimChunkMetadata'
20
+ # ]
21
+ ```
22
+
23
+ ### build
24
+
25
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
26
+
27
+ #### Example
28
+
29
+ ```ruby
30
+ require 'trieve_ruby_client'
31
+
32
+ TrieveRubyClient::ChunkMetadataTypes.build(data)
33
+ # => #<ChunkMetadataStringTagSet:0x00007fdd4aab02a0>
34
+
35
+ TrieveRubyClient::ChunkMetadataTypes.build(data_that_doesnt_match)
36
+ # => nil
37
+ ```
38
+
39
+ #### Parameters
40
+
41
+ | Name | Type | Description |
42
+ | ---- | ---- | ----------- |
43
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
44
+
45
+ #### Return type
46
+
47
+ - `ChunkMetadataStringTagSet`
48
+ - `ContentChunkMetadata`
49
+ - `SlimChunkMetadata`
50
+ - `nil` (if no type matches)
51
+
@@ -0,0 +1,50 @@
1
+ # TrieveRubyClient::ChunkReqPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **boost_phrase** | [**BoostPhrase**](BoostPhrase.md) | | [optional] |
8
+ | **chunk_html** | **String** | HTML content of the chunk. This can also be plaintext. The innerText of the HTML will be used to create the embedding vector. The point of using HTML is for convienience, as some users have applications where users submit HTML content. | [optional] |
9
+ | **chunk_vector** | **Array&lt;Float&gt;** | Chunk_vector is a vector of floats which can be used instead of generating a new embedding. This is useful for when you are using a pre-embedded dataset. If this is not provided, the innerText of the chunk_html will be used to create the embedding. | [optional] |
10
+ | **convert_html_to_text** | **Boolean** | Convert HTML to raw text before processing to avoid adding noise to the vector embeddings. By default this is true. If you are using HTML content that you want to be included in the vector embeddings, set this to false. | [optional] |
11
+ | **group_ids** | **Array&lt;String&gt;** | Group ids are the ids of the groups that the chunk should be placed into. This is useful for when you want to create a chunk and add it to a group or multiple groups in one request. Necessary because this route queues the chunk for ingestion and the chunk may not exist yet immediately after response. | [optional] |
12
+ | **group_tracking_ids** | **Array&lt;String&gt;** | Group tracking_ids are the tracking_ids of the groups that the chunk should be placed into. This is useful for when you want to create a chunk and add it to a group or multiple groups in one request. Necessary because this route queues the chunk for ingestion and the chunk may not exist yet immediately after response. | [optional] |
13
+ | **image_urls** | **Array&lt;String&gt;** | Image urls are a list of urls to images that are associated with the chunk. This is useful for when you want to associate images with a chunk. | [optional] |
14
+ | **link** | **String** | Link to the chunk. This can also be any string. Frequently, this is a link to the source of the chunk. The link value will not affect the embedding creation. | [optional] |
15
+ | **location** | [**GeoInfo**](GeoInfo.md) | | [optional] |
16
+ | **metadata** | **Object** | Metadata is a JSON object which can be used to filter chunks. This is useful for when you want to filter chunks by arbitrary metadata. Unlike with tag filtering, there is a performance hit for filtering on metadata. | [optional] |
17
+ | **num_value** | **Float** | Num value is an arbitrary numerical value that can be used to filter chunks. This is useful for when you want to filter chunks by numerical value. There is no performance hit for filtering on num_value. | [optional] |
18
+ | **split_avg** | **Boolean** | Split avg is a boolean which tells the server to split the text in the chunk_html into smaller chunks and average their resulting vectors. This is useful for when you want to create a chunk from a large piece of text and want to split it into smaller chunks to create a more fuzzy average dense vector. The sparse vector will be generated normally with no averaging. By default this is false. | [optional] |
19
+ | **tag_set** | **Array&lt;String&gt;** | Tag set is a list of tags. This can be used to filter chunks by tag. Unlike with metadata filtering, HNSW indices will exist for each tag such that there is not a performance hit for filtering on them. | [optional] |
20
+ | **time_stamp** | **String** | Time_stamp should be an ISO 8601 combined date and time without timezone. It is used for time window filtering and recency-biasing search results. | [optional] |
21
+ | **tracking_id** | **String** | Tracking_id is a string which can be used to identify a chunk. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk. | [optional] |
22
+ | **upsert_by_tracking_id** | **Boolean** | Upsert when a chunk with the same tracking_id exists. By default this is false, and the request will fail if a chunk with the same tracking_id exists. If this is true, the chunk will be updated if a chunk with the same tracking_id exists. | [optional] |
23
+ | **weight** | **Float** | Weight is a float which can be used to bias search results. This is useful for when you want to bias search results for a chunk. The magnitude only matters relative to other chunks in the chunk&#39;s dataset dataset. | [optional] |
24
+
25
+ ## Example
26
+
27
+ ```ruby
28
+ require 'trieve_ruby_client'
29
+
30
+ instance = TrieveRubyClient::ChunkReqPayload.new(
31
+ boost_phrase: null,
32
+ chunk_html: null,
33
+ chunk_vector: null,
34
+ convert_html_to_text: null,
35
+ group_ids: null,
36
+ group_tracking_ids: null,
37
+ image_urls: null,
38
+ link: null,
39
+ location: null,
40
+ metadata: null,
41
+ num_value: null,
42
+ split_avg: null,
43
+ tag_set: null,
44
+ time_stamp: null,
45
+ tracking_id: null,
46
+ upsert_by_tracking_id: null,
47
+ weight: null
48
+ )
49
+ ```
50
+
@@ -10,7 +10,6 @@
10
10
  | **file_name_key** | **String** | | |
11
11
  | **filter_items** | **Object** | | [optional] |
12
12
  | **frontmatter_vals** | **String** | | [optional] |
13
- | **image_metadata_key** | **String** | | |
14
13
  | **image_range_end_key** | **String** | | [optional] |
15
14
  | **image_range_start_key** | **String** | | [optional] |
16
15
  | **lines_before_show_more** | **Integer** | | [optional] |
@@ -29,7 +28,6 @@ instance = TrieveRubyClient::ClientDatasetConfiguration.new(
29
28
  file_name_key: null,
30
29
  filter_items: null,
31
30
  frontmatter_vals: null,
32
- image_metadata_key: null,
33
31
  image_range_end_key: null,
34
32
  image_range_start_key: null,
35
33
  lines_before_show_more: null,
@@ -0,0 +1,49 @@
1
+ # TrieveRubyClient::ConditionType
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'trieve_ruby_client'
13
+
14
+ TrieveRubyClient::ConditionType.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'FieldCondition',
18
+ # :'HasIDCondition'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'trieve_ruby_client'
30
+
31
+ TrieveRubyClient::ConditionType.build(data)
32
+ # => #<FieldCondition:0x00007fdd4aab02a0>
33
+
34
+ TrieveRubyClient::ConditionType.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `FieldCondition`
47
+ - `HasIDCondition`
48
+ - `nil` (if no type matches)
49
+
@@ -0,0 +1,32 @@
1
+ # TrieveRubyClient::ContentChunkMetadata
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **chunk_html** | **String** | | [optional] |
8
+ | **id** | **String** | | |
9
+ | **image_urls** | **Array&lt;String&gt;** | | [optional] |
10
+ | **num_value** | **Float** | | [optional] |
11
+ | **qdrant_point_id** | **String** | | [optional] |
12
+ | **time_stamp** | **Time** | | [optional] |
13
+ | **tracking_id** | **String** | | [optional] |
14
+ | **weight** | **Float** | | |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'trieve_ruby_client'
20
+
21
+ instance = TrieveRubyClient::ContentChunkMetadata.new(
22
+ chunk_html: null,
23
+ id: null,
24
+ image_urls: null,
25
+ num_value: null,
26
+ qdrant_point_id: null,
27
+ time_stamp: null,
28
+ tracking_id: null,
29
+ weight: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,28 @@
1
+ # TrieveRubyClient::CreateChunkGroupReqPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **description** | **String** | Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for. | [optional] |
8
+ | **metadata** | **Object** | Optional metadata to assign to the chunk_group. This is a JSON object that can store any additional information you want to associate with the chunks inside of the chunk_group. | [optional] |
9
+ | **name** | **String** | Name to assign to the chunk_group. Does not need to be unique. | [optional] |
10
+ | **tag_set** | **Array&lt;String&gt;** | Optional tags to assign to the chunk_group. This is a list of strings that can be used to categorize the chunks inside the chunk_group. | [optional] |
11
+ | **tracking_id** | **String** | Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group. | [optional] |
12
+ | **upsert_by_tracking_id** | **Boolean** | Upsert when a chunk_group with the same tracking_id exists. By default this is false, and the request will fail if a chunk_group with the same tracking_id exists. If this is true, the chunk_group will be updated if a chunk_group with the same tracking_id exists. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trieve_ruby_client'
18
+
19
+ instance = TrieveRubyClient::CreateChunkGroupReqPayload.new(
20
+ description: null,
21
+ metadata: null,
22
+ name: null,
23
+ tag_set: null,
24
+ tracking_id: null,
25
+ upsert_by_tracking_id: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,49 @@
1
+ # TrieveRubyClient::CreateChunkReqPayloadEnum
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'trieve_ruby_client'
13
+
14
+ TrieveRubyClient::CreateChunkReqPayloadEnum.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'Array<ChunkReqPayload>',
18
+ # :'ChunkReqPayload'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'trieve_ruby_client'
30
+
31
+ TrieveRubyClient::CreateChunkReqPayloadEnum.build(data)
32
+ # => #<Array<ChunkReqPayload>:0x00007fdd4aab02a0>
33
+
34
+ TrieveRubyClient::CreateChunkReqPayloadEnum.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `Array<ChunkReqPayload>`
47
+ - `ChunkReqPayload`
48
+ - `nil` (if no type matches)
49
+
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **client_configuration** | **Object** | Client configuration for the dataset, can be arbitrary JSON. We recommend setting to &#x60;{}&#x60; to start. See docs.trieve.ai for more information or adjust with the admin dashboard. | |
8
- | **dataset_name** | **String** | Name of the dataset. Must be unique within the organization. | |
8
+ | **dataset_name** | **String** | Name of the dataset. | |
9
9
  | **organization_id** | **String** | Organization ID that the dataset will belong to. | |
10
10
  | **server_configuration** | **Object** | Server configuration for the dataset, can be arbitrary JSON. We recommend setting to &#x60;{}&#x60; to start. See docs.trieve.ai for more information or adjust with the admin dashboard. | |
11
- | **tracking_id** | **String** | Optional tracking ID for the dataset. Can be used to track the dataset in external systems. | [optional] |
11
+ | **tracking_id** | **String** | Optional tracking ID for the dataset. Can be used to track the dataset in external systems. Must be unique within the organization. | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **highlight_citations** | **Boolean** | Whether or not to highlight the citations in the response. If this is set to true or not included, the citations will be highlighted. If this is set to false, the citations will not be highlighted. Default is true. | [optional] |
8
7
  | **highlight_delimiters** | **Array&lt;String&gt;** | The delimiters to use for highlighting the citations. If this is not included, the default delimiters will be used. Default is &#x60;[\&quot;.\&quot;, \&quot;!\&quot;, \&quot;?\&quot;, \&quot;\\n\&quot;, \&quot;\\t\&quot;, \&quot;,\&quot;]&#x60;. | [optional] |
8
+ | **highlight_results** | **Boolean** | Set highlight_results to false for a slight latency improvement (1-10ms). If not specified, this defaults to true. This will add &#x60;&lt;b&gt;&lt;mark&gt;&#x60; tags to the chunk_html of the chunks to highlight matching sub-sentences. | [optional] |
9
9
  | **new_message_content** | **String** | The content of the user message to attach to the topic and then generate an assistant message in response to. | |
10
10
  | **stream_response** | **Boolean** | Whether or not to stream the response. If this is set to true or not included, the response will be a stream. If this is set to false, the response will be a normal JSON response. Default is true. | [optional] |
11
11
  | **topic_id** | **String** | The ID of the topic to attach the message to. | |
@@ -16,8 +16,8 @@
16
16
  require 'trieve_ruby_client'
17
17
 
18
18
  instance = TrieveRubyClient::CreateMessageData.new(
19
- highlight_citations: null,
20
19
  highlight_delimiters: null,
20
+ highlight_results: null,
21
21
  new_message_content: null,
22
22
  stream_response: null,
23
23
  topic_id: null