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
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.4.0
11
11
  =end
12
12
 
13
13
  module TrieveRubyClient
14
- VERSION = '0.7.6'
14
+ VERSION = '0.8.0'
15
15
  end
@@ -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
@@ -5,5 +5,5 @@ gemHomepage: "https://trieve.ai"
5
5
  gemLicense: "MIT"
6
6
  gemName: "trieve_ruby_client"
7
7
  gemSummary: "Trieve Ruby API client"
8
- gemVersion: "0.7.6"
8
+ gemVersion: "0.8.0"
9
9
  moduleName: "TrieveRubyClient"
data/openapi.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "name": "BSL",
13
13
  "url": "https://github.com/devflowinc/trieve/blob/main/LICENSE.txt"
14
14
  },
15
- "version": "0.7.6"
15
+ "version": "0.8.0"
16
16
  },
17
17
  "servers": [
18
18
  {
@@ -666,7 +666,14 @@
666
666
  }
667
667
  },
668
668
  "404": {
669
- "description": "Chunk not found"
669
+ "description": "Chunk not found",
670
+ "content": {
671
+ "application/json": {
672
+ "schema": {
673
+ "$ref": "#/components/schemas/ErrorResponseBody"
674
+ }
675
+ }
676
+ }
670
677
  }
671
678
  },
672
679
  "security": [
@@ -779,7 +786,14 @@
779
786
  }
780
787
  },
781
788
  "404": {
782
- "description": "Chunk not found"
789
+ "description": "Chunk not found",
790
+ "content": {
791
+ "application/json": {
792
+ "schema": {
793
+ "$ref": "#/components/schemas/ErrorResponseBody"
794
+ }
795
+ }
796
+ }
783
797
  }
784
798
  },
785
799
  "security": [
@@ -1425,7 +1439,14 @@
1425
1439
  }
1426
1440
  },
1427
1441
  "404": {
1428
- "description": "Group not found"
1442
+ "description": "Group not found",
1443
+ "content": {
1444
+ "application/json": {
1445
+ "schema": {
1446
+ "$ref": "#/components/schemas/ErrorResponseBody"
1447
+ }
1448
+ }
1449
+ }
1429
1450
  }
1430
1451
  },
1431
1452
  "security": [
@@ -1487,7 +1508,14 @@
1487
1508
  }
1488
1509
  },
1489
1510
  "404": {
1490
- "description": "Group not found"
1511
+ "description": "Group not found",
1512
+ "content": {
1513
+ "application/json": {
1514
+ "schema": {
1515
+ "$ref": "#/components/schemas/ErrorResponseBody"
1516
+ }
1517
+ }
1518
+ }
1491
1519
  }
1492
1520
  },
1493
1521
  "security": [
@@ -1725,7 +1753,14 @@
1725
1753
  }
1726
1754
  },
1727
1755
  "404": {
1728
- "description": "Group not found"
1756
+ "description": "Group not found",
1757
+ "content": {
1758
+ "application/json": {
1759
+ "schema": {
1760
+ "$ref": "#/components/schemas/ErrorResponseBody"
1761
+ }
1762
+ }
1763
+ }
1729
1764
  }
1730
1765
  },
1731
1766
  "security": [
@@ -1860,7 +1895,14 @@
1860
1895
  }
1861
1896
  },
1862
1897
  "404": {
1863
- "description": "Group not found"
1898
+ "description": "Group not found",
1899
+ "content": {
1900
+ "application/json": {
1901
+ "schema": {
1902
+ "$ref": "#/components/schemas/ErrorResponseBody"
1903
+ }
1904
+ }
1905
+ }
1864
1906
  }
1865
1907
  },
1866
1908
  "security": [
@@ -1925,6 +1967,16 @@
1925
1967
  }
1926
1968
  }
1927
1969
  }
1970
+ },
1971
+ "404": {
1972
+ "description": "Any one of the specified chunks not found",
1973
+ "content": {
1974
+ "application/json": {
1975
+ "schema": {
1976
+ "$ref": "#/components/schemas/ErrorResponseBody"
1977
+ }
1978
+ }
1979
+ }
1928
1980
  }
1929
1981
  },
1930
1982
  "security": [
@@ -1986,6 +2038,16 @@
1986
2038
  }
1987
2039
  }
1988
2040
  }
2041
+ },
2042
+ "404": {
2043
+ "description": "Any one of the specified chunks not found",
2044
+ "content": {
2045
+ "application/json": {
2046
+ "schema": {
2047
+ "$ref": "#/components/schemas/ErrorResponseBody"
2048
+ }
2049
+ }
2050
+ }
1989
2051
  }
1990
2052
  },
1991
2053
  "security": [
@@ -2665,6 +2727,16 @@
2665
2727
  }
2666
2728
  }
2667
2729
  }
2730
+ },
2731
+ "404": {
2732
+ "description": "File not found",
2733
+ "content": {
2734
+ "application/json": {
2735
+ "schema": {
2736
+ "$ref": "#/components/schemas/ErrorResponseBody"
2737
+ }
2738
+ }
2739
+ }
2668
2740
  }
2669
2741
  },
2670
2742
  "security": [
@@ -3322,6 +3394,16 @@
3322
3394
  }
3323
3395
  }
3324
3396
  }
3397
+ },
3398
+ "404": {
3399
+ "description": "Organization not found",
3400
+ "content": {
3401
+ "application/json": {
3402
+ "schema": {
3403
+ "$ref": "#/components/schemas/ErrorResponseBody"
3404
+ }
3405
+ }
3406
+ }
3325
3407
  }
3326
3408
  },
3327
3409
  "security": [
@@ -4841,6 +4923,11 @@
4841
4923
  "type": "string",
4842
4924
  "description": "Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group.",
4843
4925
  "nullable": true
4926
+ },
4927
+ "upsert_by_tracking_id": {
4928
+ "type": "boolean",
4929
+ "description": "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.",
4930
+ "nullable": true
4844
4931
  }
4845
4932
  }
4846
4933
  },
@@ -5923,9 +6010,14 @@
5923
6010
  "dataset_count",
5924
6011
  "user_count",
5925
6012
  "file_storage",
5926
- "message_count"
6013
+ "message_count",
6014
+ "chunk_count"
5927
6015
  ],
5928
6016
  "properties": {
6017
+ "chunk_count": {
6018
+ "type": "integer",
6019
+ "format": "int32"
6020
+ },
5929
6021
  "dataset_count": {
5930
6022
  "type": "integer",
5931
6023
  "format": "int32"
@@ -5952,6 +6044,7 @@
5952
6044
  }
5953
6045
  },
5954
6046
  "example": {
6047
+ "chunk_count": 1000,
5955
6048
  "dataset_count": 1,
5956
6049
  "file_storage": 512,
5957
6050
  "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
@@ -6303,6 +6396,11 @@
6303
6396
  "description": "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.",
6304
6397
  "nullable": true
6305
6398
  },
6399
+ "get_total_pages": {
6400
+ "type": "boolean",
6401
+ "description": "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.",
6402
+ "nullable": true
6403
+ },
6306
6404
  "highlight_delimiters": {
6307
6405
  "type": "array",
6308
6406
  "items": {
@@ -6459,6 +6557,11 @@
6459
6557
  "description": "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.",
6460
6558
  "nullable": true
6461
6559
  },
6560
+ "get_total_pages": {
6561
+ "type": "boolean",
6562
+ "description": "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.",
6563
+ "nullable": true
6564
+ },
6462
6565
  "group_size": {
6463
6566
  "type": "integer",
6464
6567
  "format": "int32",
@@ -6591,6 +6694,11 @@
6591
6694
  ],
6592
6695
  "nullable": true
6593
6696
  },
6697
+ "get_total_pages": {
6698
+ "type": "boolean",
6699
+ "description": "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.",
6700
+ "nullable": true
6701
+ },
6594
6702
  "group_id": {
6595
6703
  "type": "string",
6596
6704
  "format": "uuid",
data/spec/spec_helper.rb CHANGED
@@ -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
Binary file
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
7
7
 
8
- The version of the OpenAPI document: 0.7.6
8
+ The version of the OpenAPI document: 0.8.0
9
9
  Contact: developers@trieve.ai
10
10
  Generated by: https://openapi-generator.tech
11
11
  Generator version: 7.4.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trieve_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trieve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-03 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -434,6 +434,7 @@ files:
434
434
  - trieve_ruby_client-0.6.7.gem
435
435
  - trieve_ruby_client-0.6.9.gem
436
436
  - trieve_ruby_client-0.7.2.gem
437
+ - trieve_ruby_client-0.7.6.gem
437
438
  - trieve_ruby_client.gemspec
438
439
  homepage: https://trieve.ai
439
440
  licenses: