trieve_ruby_client 0.7.6 → 0.8.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 (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/CreateChunkGroupData.md +3 -1
  4. data/docs/OrganizationUsageCount.md +2 -0
  5. data/docs/SearchChunkData.md +2 -0
  6. data/docs/SearchOverGroupsData.md +2 -0
  7. data/docs/SearchWithinGroupData.md +2 -0
  8. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  9. data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
  10. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  11. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  12. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  13. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  14. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  15. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  16. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  17. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  18. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api/user_api.rb +1 -1
  21. data/lib/trieve_ruby_client/api_client.rb +1 -1
  22. data/lib/trieve_ruby_client/api_error.rb +1 -1
  23. data/lib/trieve_ruby_client/configuration.rb +1 -1
  24. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  25. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  26. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  27. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  28. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  29. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  30. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  31. data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
  32. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  33. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  34. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  35. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  36. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
  37. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  38. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  39. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +17 -6
  40. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  41. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  42. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  43. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  44. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  45. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  46. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  47. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  48. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  49. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  50. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  51. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  52. data/lib/trieve_ruby_client/models/event.rb +1 -1
  53. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  54. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  55. data/lib/trieve_ruby_client/models/file.rb +1 -1
  56. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  57. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  58. data/lib/trieve_ruby_client/models/geo_info.rb +1 -1
  59. data/lib/trieve_ruby_client/models/geo_types.rb +1 -1
  60. data/lib/trieve_ruby_client/models/get_chunks_data.rb +1 -1
  61. data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
  62. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  63. data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +1 -1
  64. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  65. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  66. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
  67. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  68. data/lib/trieve_ruby_client/models/location_bounding_box.rb +1 -1
  69. data/lib/trieve_ruby_client/models/location_polygon.rb +1 -1
  70. data/lib/trieve_ruby_client/models/location_radius.rb +1 -1
  71. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  72. data/lib/trieve_ruby_client/models/message.rb +1 -1
  73. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  74. data/lib/trieve_ruby_client/models/organization_usage_count.rb +18 -2
  75. data/lib/trieve_ruby_client/models/range.rb +1 -1
  76. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  77. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  78. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
  79. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  80. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  81. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  82. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  83. data/lib/trieve_ruby_client/models/search_chunk_data.rb +13 -2
  84. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  85. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +13 -2
  86. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  87. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  88. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_within_group_data.rb +13 -2
  90. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  92. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  93. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  94. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  95. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  96. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  97. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  98. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  99. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  100. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  101. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  102. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  103. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  104. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  105. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  106. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  107. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +1 -1
  111. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  113. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  114. data/lib/trieve_ruby_client/version.rb +2 -2
  115. data/lib/trieve_ruby_client.rb +1 -1
  116. data/openapi-generator.yaml +1 -1
  117. data/openapi.json +116 -8
  118. data/spec/spec_helper.rb +1 -1
  119. data/trieve_ruby_client-0.7.6.gem +0 -0
  120. data/trieve_ruby_client.gemspec +1 -1
  121. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c60cbaadb194dd6d1ef05f7ff7a1c10cce9b917a01f697cc1962f7e7cff7307
4
- data.tar.gz: e42e740cdee7bca501cef79b9e4949b86fec32d1b10fa3fadf68abae6946dcb6
3
+ metadata.gz: b011a732a1c100768658282b5cc12fde441a13858d278e0f04cd58124a1091c5
4
+ data.tar.gz: 72b1840e88e682f1b866deab79654b1478c43fd3107f46d89c822f47bf1483de
5
5
  SHA512:
6
- metadata.gz: 8f5108a2f52b915de1a3550ff04fc75725034ffb208ec192cab9f6d4c5d86c7a4a96b1f3800c31e2f0994c39ae32aa6254a0202869dacca5b8eba72a1f385887
7
- data.tar.gz: 3fc1c55240b0562475923a462bd96820b2f9e2c9503ef3fbd6eacff5c209776c20948ab4b92682b74fcfff4f8dc0c092f55099457ea2122a421fccbe6d609816
6
+ metadata.gz: 2204107a561fa98633b5f69b7aa0de92a1e4e6ae1fd422cc22527af6a9e847858c1bf05119be00d98c0846a0567d9ad1cbc471ef7e27418edab3a000a984f4ea
7
+ data.tar.gz: 27bf39cd2e4b253af367b39f9be0050a8630c571d70c323ff0f27a2effc117fff159577a36a82a72e6ef6e3b56dd708fac89290c9d75d22425f11e5a8409938e
data/README.md CHANGED
@@ -6,8 +6,8 @@ Trieve OpenAPI Specification. This document describes all of the operations avai
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: 0.7.6
10
- - Package version: 0.7.6
9
+ - API version: 0.8.0
10
+ - Package version: 0.8.0
11
11
  - Generator version: 7.4.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://trieve.ai](https://trieve.ai)
@@ -25,16 +25,16 @@ gem build trieve_ruby_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./trieve_ruby_client-0.7.6.gem
28
+ gem install ./trieve_ruby_client-0.8.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./trieve_ruby_client-0.7.6.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./trieve_ruby_client-0.8.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'trieve_ruby_client', '~> 0.7.6'
37
+ gem 'trieve_ruby_client', '~> 0.8.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -9,6 +9,7 @@
9
9
  | **name** | **String** | Name to assign to the chunk_group. Does not need to be unique. | |
10
10
  | **tag_set** | **Array<String>** | 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
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] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = TrieveRubyClient::CreateChunkGroupData.new(
20
21
  metadata: null,
21
22
  name: null,
22
23
  tag_set: null,
23
- tracking_id: null
24
+ tracking_id: null,
25
+ upsert_by_tracking_id: null
24
26
  )
25
27
  ```
26
28
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **chunk_count** | **Integer** | | |
7
8
  | **dataset_count** | **Integer** | | |
8
9
  | **file_storage** | **Integer** | | |
9
10
  | **id** | **String** | | |
@@ -17,6 +18,7 @@
17
18
  require 'trieve_ruby_client'
18
19
 
19
20
  instance = TrieveRubyClient::OrganizationUsageCount.new(
21
+ chunk_count: null,
20
22
  dataset_count: null,
21
23
  file_storage: null,
22
24
  id: null,
@@ -7,6 +7,7 @@
7
7
  | **date_bias** | **Boolean** | Set date_bias to true to bias search results towards more recent chunks. This will work best in hybrid search mode. | [optional] |
8
8
  | **filters** | [**ChunkFilter**](ChunkFilter.md) | | [optional] |
9
9
  | **get_collisions** | **Boolean** | Set get_collisions to true to get the collisions for each chunk. This will only apply if environment variable COLLISIONS_ENABLED is set to true. | [optional] |
10
+ | **get_total_pages** | **Boolean** | Get total page count for the query accounting for the applied filters. Defaults to true, but can be set to false to reduce latency in edge cases performance. | [optional] |
10
11
  | **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
11
12
  | **highlight_results** | **Boolean** | Set highlight_results to true to highlight the results. If not specified, this defaults to true. | [optional] |
12
13
  | **page** | **Integer** | Page of chunks to fetch. Page is 1-indexed. | [optional] |
@@ -26,6 +27,7 @@ instance = TrieveRubyClient::SearchChunkData.new(
26
27
  date_bias: null,
27
28
  filters: null,
28
29
  get_collisions: null,
30
+ get_total_pages: null,
29
31
  highlight_delimiters: null,
30
32
  highlight_results: null,
31
33
  page: null,
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **filters** | [**ChunkFilter**](ChunkFilter.md) | | [optional] |
8
8
  | **get_collisions** | **Boolean** | Set get_collisions to true to get the collisions for each chunk. This will only apply if environment variable COLLISIONS_ENABLED is set to true. | [optional] |
9
+ | **get_total_pages** | **Boolean** | Get total page count for the query accounting for the applied filters. Defaults to true, but can be set to false to reduce latency in edge cases performance. | [optional] |
9
10
  | **group_size** | **Integer** | Group_size is the number of chunks to fetch for each group. The default is 3. If a group has less than group_size chunks, all chunks will be returned. If this is set to a large number, we recommend setting slim_chunks to true to avoid returning the content and chunk_html of the chunks so as to lower the amount of time required for content download and serialization. | [optional] |
10
11
  | **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
11
12
  | **highlight_results** | **Boolean** | Set highlight_results to true to highlight the results. If not specified, this defaults to true. | [optional] |
@@ -24,6 +25,7 @@ require 'trieve_ruby_client'
24
25
  instance = TrieveRubyClient::SearchOverGroupsData.new(
25
26
  filters: null,
26
27
  get_collisions: null,
28
+ get_total_pages: null,
27
29
  group_size: null,
28
30
  highlight_delimiters: null,
29
31
  highlight_results: null,
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **date_bias** | **Boolean** | Set date_bias to true to bias search results towards more recent chunks. This will work best in hybrid search mode. | [optional] |
8
8
  | **filters** | [**ChunkFilter**](ChunkFilter.md) | | [optional] |
9
+ | **get_total_pages** | **Boolean** | Get total page count for the query accounting for the applied filters. Defaults to true, but can be set to false to reduce latency in edge cases performance. | [optional] |
9
10
  | **group_id** | **String** | Group specifies the group to search within. Results will only consist of chunks which are bookmarks within the specified group. | [optional] |
10
11
  | **group_tracking_id** | **String** | Group_tracking_id specifies the group to search within by tracking id. Results will only consist of chunks which are bookmarks within the specified group. If both group_id and group_tracking_id are provided, group_id will be used. | [optional] |
11
12
  | **highlight_delimiters** | **Array<String>** | Set highlight_delimiters to a list of strings to use as delimiters for highlighting. If not specified, this defaults to [\"?\", \",\", \".\", \"!\"]. | [optional] |
@@ -26,6 +27,7 @@ require 'trieve_ruby_client'
26
27
  instance = TrieveRubyClient::SearchWithinGroupData.new(
27
28
  date_bias: null,
28
29
  filters: null,
30
+ get_total_pages: null,
29
31
  group_id: null,
30
32
  group_tracking_id: null,
31
33
  highlight_delimiters: null,
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -30,6 +30,9 @@ module TrieveRubyClient
30
30
  # Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group.
31
31
  attr_accessor :tracking_id
32
32
 
33
+ # 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.
34
+ attr_accessor :upsert_by_tracking_id
35
+
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
34
37
  def self.attribute_map
35
38
  {
@@ -37,7 +40,8 @@ module TrieveRubyClient
37
40
  :'metadata' => :'metadata',
38
41
  :'name' => :'name',
39
42
  :'tag_set' => :'tag_set',
40
- :'tracking_id' => :'tracking_id'
43
+ :'tracking_id' => :'tracking_id',
44
+ :'upsert_by_tracking_id' => :'upsert_by_tracking_id'
41
45
  }
42
46
  end
43
47
 
@@ -53,7 +57,8 @@ module TrieveRubyClient
53
57
  :'metadata' => :'Object',
54
58
  :'name' => :'String',
55
59
  :'tag_set' => :'Array<String>',
56
- :'tracking_id' => :'String'
60
+ :'tracking_id' => :'String',
61
+ :'upsert_by_tracking_id' => :'Boolean'
57
62
  }
58
63
  end
59
64
 
@@ -63,7 +68,8 @@ module TrieveRubyClient
63
68
  :'description',
64
69
  :'metadata',
65
70
  :'tag_set',
66
- :'tracking_id'
71
+ :'tracking_id',
72
+ :'upsert_by_tracking_id'
67
73
  ])
68
74
  end
69
75
 
@@ -105,6 +111,10 @@ module TrieveRubyClient
105
111
  if attributes.key?(:'tracking_id')
106
112
  self.tracking_id = attributes[:'tracking_id']
107
113
  end
114
+
115
+ if attributes.key?(:'upsert_by_tracking_id')
116
+ self.upsert_by_tracking_id = attributes[:'upsert_by_tracking_id']
117
+ end
108
118
  end
109
119
 
110
120
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -136,7 +146,8 @@ module TrieveRubyClient
136
146
  metadata == o.metadata &&
137
147
  name == o.name &&
138
148
  tag_set == o.tag_set &&
139
- tracking_id == o.tracking_id
149
+ tracking_id == o.tracking_id &&
150
+ upsert_by_tracking_id == o.upsert_by_tracking_id
140
151
  end
141
152
 
142
153
  # @see the `==` method
@@ -148,7 +159,7 @@ module TrieveRubyClient
148
159
  # Calculates hash code according to all attributes.
149
160
  # @return [Integer] Hash code
150
161
  def hash
151
- [description, metadata, name, tag_set, tracking_id].hash
162
+ [description, metadata, name, tag_set, tracking_id, upsert_by_tracking_id].hash
152
163
  end
153
164
 
154
165
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
5
 
6
- The version of the OpenAPI document: 0.7.6
6
+ The version of the OpenAPI document: 0.8.0
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0