trieve_ruby_client 0.6.7 → 0.6.9

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 (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/CreateDatasetRequest.md +3 -1
  4. data/docs/Dataset.md +2 -0
  5. data/docs/DatasetApi.md +1 -1
  6. data/docs/DatasetDTO.md +2 -0
  7. data/docs/RecommendChunksRequest.md +2 -0
  8. data/docs/RecommendGroupChunksRequest.md +2 -0
  9. data/docs/UpdateDatasetRequest.md +4 -2
  10. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  11. data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
  12. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  13. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  14. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  15. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  16. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  17. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  18. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  21. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  22. data/lib/trieve_ruby_client/api/user_api.rb +1 -1
  23. data/lib/trieve_ruby_client/api_client.rb +1 -1
  24. data/lib/trieve_ruby_client/api_error.rb +1 -1
  25. data/lib/trieve_ruby_client/configuration.rb +1 -1
  26. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  27. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  28. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  29. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  30. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  31. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  32. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  33. data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
  34. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  35. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  36. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  37. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  38. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
  39. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  40. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  41. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  42. data/lib/trieve_ruby_client/models/create_dataset_request.rb +17 -6
  43. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  44. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  45. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  46. data/lib/trieve_ruby_client/models/dataset.rb +12 -2
  47. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  48. data/lib/trieve_ruby_client/models/dataset_dto.rb +12 -2
  49. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  50. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  51. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  52. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  53. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  54. data/lib/trieve_ruby_client/models/event.rb +1 -1
  55. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  56. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  57. data/lib/trieve_ruby_client/models/file.rb +1 -1
  58. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  59. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  60. data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
  61. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  62. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  63. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  64. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
  65. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  66. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  67. data/lib/trieve_ruby_client/models/message.rb +1 -1
  68. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  69. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  70. data/lib/trieve_ruby_client/models/range.rb +1 -1
  71. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  72. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +13 -2
  73. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +13 -2
  74. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  75. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  76. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  77. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  78. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  79. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  80. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  81. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  82. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  83. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  84. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  85. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  86. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  87. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  88. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  89. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  90. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  91. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  92. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  93. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  94. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  95. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  96. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  97. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  98. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  99. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  100. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  101. data/lib/trieve_ruby_client/models/update_dataset_request.rb +18 -13
  102. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  103. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  104. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  105. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  106. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  107. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  108. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  109. data/lib/trieve_ruby_client/version.rb +2 -2
  110. data/lib/trieve_ruby_client.rb +1 -1
  111. data/openapi-generator.yaml +1 -1
  112. data/openapi.json +33 -5
  113. data/spec/spec_helper.rb +1 -1
  114. data/trieve_ruby_client-0.6.7.gem +0 -0
  115. data/trieve_ruby_client.gemspec +1 -1
  116. 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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -27,13 +27,17 @@ module TrieveRubyClient
27
27
  # The new server configuration of the dataset, can be arbitrary JSON. See docs.trieve.ai for more information. If not provided, the server configuration will not be updated.
28
28
  attr_accessor :server_configuration
29
29
 
30
+ # tracking ID for the dataset. Can be used to track the dataset in external systems.
31
+ attr_accessor :tracking_id
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
36
  :'client_configuration' => :'client_configuration',
34
37
  :'dataset_id' => :'dataset_id',
35
38
  :'dataset_name' => :'dataset_name',
36
- :'server_configuration' => :'server_configuration'
39
+ :'server_configuration' => :'server_configuration',
40
+ :'tracking_id' => :'tracking_id'
37
41
  }
38
42
  end
39
43
 
@@ -48,7 +52,8 @@ module TrieveRubyClient
48
52
  :'client_configuration' => :'Object',
49
53
  :'dataset_id' => :'String',
50
54
  :'dataset_name' => :'String',
51
- :'server_configuration' => :'Object'
55
+ :'server_configuration' => :'Object',
56
+ :'tracking_id' => :'String'
52
57
  }
53
58
  end
54
59
 
@@ -56,8 +61,10 @@ module TrieveRubyClient
56
61
  def self.openapi_nullable
57
62
  Set.new([
58
63
  :'client_configuration',
64
+ :'dataset_id',
59
65
  :'dataset_name',
60
- :'server_configuration'
66
+ :'server_configuration',
67
+ :'tracking_id'
61
68
  ])
62
69
  end
63
70
 
@@ -82,8 +89,6 @@ module TrieveRubyClient
82
89
 
83
90
  if attributes.key?(:'dataset_id')
84
91
  self.dataset_id = attributes[:'dataset_id']
85
- else
86
- self.dataset_id = nil
87
92
  end
88
93
 
89
94
  if attributes.key?(:'dataset_name')
@@ -93,6 +98,10 @@ module TrieveRubyClient
93
98
  if attributes.key?(:'server_configuration')
94
99
  self.server_configuration = attributes[:'server_configuration']
95
100
  end
101
+
102
+ if attributes.key?(:'tracking_id')
103
+ self.tracking_id = attributes[:'tracking_id']
104
+ end
96
105
  end
97
106
 
98
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -100,10 +109,6 @@ module TrieveRubyClient
100
109
  def list_invalid_properties
101
110
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
102
111
  invalid_properties = Array.new
103
- if @dataset_id.nil?
104
- invalid_properties.push('invalid value for "dataset_id", dataset_id cannot be nil.')
105
- end
106
-
107
112
  invalid_properties
108
113
  end
109
114
 
@@ -111,7 +116,6 @@ module TrieveRubyClient
111
116
  # @return true if the model is valid
112
117
  def valid?
113
118
  warn '[DEPRECATED] the `valid?` method is obsolete'
114
- return false if @dataset_id.nil?
115
119
  true
116
120
  end
117
121
 
@@ -123,7 +127,8 @@ module TrieveRubyClient
123
127
  client_configuration == o.client_configuration &&
124
128
  dataset_id == o.dataset_id &&
125
129
  dataset_name == o.dataset_name &&
126
- server_configuration == o.server_configuration
130
+ server_configuration == o.server_configuration &&
131
+ tracking_id == o.tracking_id
127
132
  end
128
133
 
129
134
  # @see the `==` method
@@ -135,7 +140,7 @@ module TrieveRubyClient
135
140
  # Calculates hash code according to all attributes.
136
141
  # @return [Integer] Hash code
137
142
  def hash
138
- [client_configuration, dataset_id, dataset_name, server_configuration].hash
143
+ [client_configuration, dataset_id, dataset_name, server_configuration, tracking_id].hash
139
144
  end
140
145
 
141
146
  # 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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7'
14
+ VERSION = '0.6.9'
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7"
8
+ gemVersion: "0.6.9"
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.6.7"
15
+ "version": "0.6.9"
16
16
  },
17
17
  "servers": [
18
18
  {
@@ -4726,6 +4726,11 @@
4726
4726
  },
4727
4727
  "server_configuration": {
4728
4728
  "description": "Server configuration for the dataset, can be arbitrary JSON. We recommend setting to `{}` to start. See docs.trieve.ai for more information or adjust with the admin dashboard."
4729
+ },
4730
+ "tracking_id": {
4731
+ "type": "string",
4732
+ "description": "Optional tracking ID for the dataset. Can be used to track the dataset in external systems.",
4733
+ "nullable": true
4729
4734
  }
4730
4735
  },
4731
4736
  "example": {
@@ -4840,6 +4845,10 @@
4840
4845
  "format": "uuid"
4841
4846
  },
4842
4847
  "server_configuration": {},
4848
+ "tracking_id": {
4849
+ "type": "string",
4850
+ "nullable": true
4851
+ },
4843
4852
  "updated_at": {
4844
4853
  "type": "string",
4845
4854
  "format": "date-time"
@@ -4856,6 +4865,7 @@
4856
4865
  "server_configuration": {
4857
4866
  "key": "value"
4858
4867
  },
4868
+ "tracking_id": "3",
4859
4869
  "updated_at": "2021-01-01T00:00:00"
4860
4870
  }
4861
4871
  },
@@ -4918,6 +4928,10 @@
4918
4928
  "type": "string",
4919
4929
  "format": "uuid"
4920
4930
  },
4931
+ "tracking_id": {
4932
+ "type": "string",
4933
+ "nullable": true
4934
+ },
4921
4935
  "updated_at": {
4922
4936
  "type": "string",
4923
4937
  "format": "date-time"
@@ -4931,6 +4945,7 @@
4931
4945
  "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
4932
4946
  "name": "Trieve",
4933
4947
  "organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
4948
+ "tracking_id": "3",
4934
4949
  "updated_at": "2021-01-01T00:00:00"
4935
4950
  }
4936
4951
  },
@@ -5788,6 +5803,11 @@
5788
5803
  "description": "The tracking_ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.",
5789
5804
  "nullable": true
5790
5805
  },
5806
+ "recommend_type": {
5807
+ "type": "string",
5808
+ "description": "The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.",
5809
+ "nullable": true
5810
+ },
5791
5811
  "slim_chunks": {
5792
5812
  "type": "boolean",
5793
5813
  "description": "Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement. Default is false.",
@@ -5859,6 +5879,11 @@
5859
5879
  "description": "The ids of the groups to be used as positive examples for the recommendation. The groups in this array will be used to find similar groups.",
5860
5880
  "nullable": true
5861
5881
  },
5882
+ "recommend_type": {
5883
+ "type": "string",
5884
+ "description": "The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.",
5885
+ "nullable": true
5886
+ },
5862
5887
  "slim_chunks": {
5863
5888
  "type": "boolean",
5864
5889
  "description": "Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement. Default is false.",
@@ -7048,9 +7073,6 @@
7048
7073
  },
7049
7074
  "UpdateDatasetRequest": {
7050
7075
  "type": "object",
7051
- "required": [
7052
- "dataset_id"
7053
- ],
7054
7076
  "properties": {
7055
7077
  "client_configuration": {
7056
7078
  "description": "The new client configuration of the dataset, can be arbitrary JSON. See docs.trieve.ai for more information. If not provided, the client configuration will not be updated.",
@@ -7059,7 +7081,8 @@
7059
7081
  "dataset_id": {
7060
7082
  "type": "string",
7061
7083
  "format": "uuid",
7062
- "description": "The id of the dataset you want to update."
7084
+ "description": "The id of the dataset you want to update.",
7085
+ "nullable": true
7063
7086
  },
7064
7087
  "dataset_name": {
7065
7088
  "type": "string",
@@ -7069,6 +7092,11 @@
7069
7092
  "server_configuration": {
7070
7093
  "description": "The new server configuration of the dataset, can be arbitrary JSON. See docs.trieve.ai for more information. If not provided, the server configuration will not be updated.",
7071
7094
  "nullable": true
7095
+ },
7096
+ "tracking_id": {
7097
+ "type": "string",
7098
+ "description": "tracking ID for the dataset. Can be used to track the dataset in external systems.",
7099
+ "nullable": true
7072
7100
  }
7073
7101
  },
7074
7102
  "example": {
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.6.7
6
+ The version of the OpenAPI document: 0.6.9
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.6.7
8
+ The version of the OpenAPI document: 0.6.9
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.6.7
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trieve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-13 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -407,6 +407,7 @@ files:
407
407
  - trieve_ruby_client-0.5.7.gem
408
408
  - trieve_ruby_client-0.6.0.gem
409
409
  - trieve_ruby_client-0.6.2.gem
410
+ - trieve_ruby_client-0.6.7.gem
410
411
  - trieve_ruby_client.gemspec
411
412
  homepage: https://trieve.ai
412
413
  licenses: