trieve_ruby_client 0.8.0 → 0.8.2

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 (125) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ChunkData.md +1 -1
  4. data/docs/ChunkMetadata.md +0 -2
  5. data/docs/ChunkMetadataWithScore.md +0 -2
  6. data/docs/GroupScoreSlimChunks.md +4 -0
  7. data/docs/RecommendChunksRequest.md +1 -1
  8. data/docs/RecommendGroupChunksRequest.md +1 -1
  9. data/docs/SearchChunkData.md +5 -5
  10. data/docs/SearchOverGroupsData.md +3 -3
  11. data/docs/SearchWithinGroupData.md +5 -5
  12. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  13. data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
  14. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  15. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  16. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  17. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  18. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  19. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  21. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  22. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  23. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  24. data/lib/trieve_ruby_client/api/user_api.rb +1 -1
  25. data/lib/trieve_ruby_client/api_client.rb +1 -1
  26. data/lib/trieve_ruby_client/api_error.rb +1 -1
  27. data/lib/trieve_ruby_client/configuration.rb +1 -1
  28. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  29. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  30. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  31. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  32. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  33. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  34. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  35. data/lib/trieve_ruby_client/models/chunk_data.rb +8 -2
  36. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  37. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  38. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  39. data/lib/trieve_ruby_client/models/chunk_metadata.rb +2 -18
  40. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +2 -18
  41. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  42. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  43. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  44. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  45. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  46. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  47. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  48. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  49. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  50. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  51. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  52. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  53. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  54. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  55. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  56. data/lib/trieve_ruby_client/models/event.rb +1 -1
  57. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  58. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  59. data/lib/trieve_ruby_client/models/file.rb +1 -1
  60. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  61. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  62. data/lib/trieve_ruby_client/models/geo_info.rb +1 -1
  63. data/lib/trieve_ruby_client/models/geo_types.rb +1 -1
  64. data/lib/trieve_ruby_client/models/get_chunks_data.rb +1 -1
  65. data/lib/trieve_ruby_client/models/get_events_data.rb +1 -1
  66. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  67. data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +1 -1
  68. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  69. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  70. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +22 -2
  71. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  72. data/lib/trieve_ruby_client/models/location_bounding_box.rb +1 -1
  73. data/lib/trieve_ruby_client/models/location_polygon.rb +1 -1
  74. data/lib/trieve_ruby_client/models/location_radius.rb +1 -1
  75. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  76. data/lib/trieve_ruby_client/models/message.rb +1 -1
  77. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  78. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  79. data/lib/trieve_ruby_client/models/range.rb +1 -1
  80. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  81. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +2 -2
  82. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +2 -2
  83. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  84. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  85. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  86. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  87. data/lib/trieve_ruby_client/models/search_chunk_data.rb +16 -16
  88. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +4 -4
  90. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_within_group_data.rb +16 -16
  94. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  95. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  96. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  97. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  98. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  99. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  100. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  101. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  102. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  103. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  104. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  105. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  106. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  107. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  113. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +1 -1
  115. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  116. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  117. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  118. data/lib/trieve_ruby_client/version.rb +2 -2
  119. data/lib/trieve_ruby_client.rb +1 -1
  120. data/openapi-generator.yaml +1 -1
  121. data/openapi.json +38 -33
  122. data/spec/spec_helper.rb +1 -1
  123. data/trieve_ruby_client-0.8.0.gem +0 -0
  124. data/trieve_ruby_client.gemspec +1 -1
  125. 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.8.0
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,8 +17,6 @@ module TrieveRubyClient
17
17
  class ChunkMetadataWithScore
18
18
  attr_accessor :chunk_html
19
19
 
20
- attr_accessor :content
21
-
22
20
  attr_accessor :created_at
23
21
 
24
22
  attr_accessor :dataset_id
@@ -47,7 +45,6 @@ module TrieveRubyClient
47
45
  def self.attribute_map
48
46
  {
49
47
  :'chunk_html' => :'chunk_html',
50
- :'content' => :'content',
51
48
  :'created_at' => :'created_at',
52
49
  :'dataset_id' => :'dataset_id',
53
50
  :'id' => :'id',
@@ -72,7 +69,6 @@ module TrieveRubyClient
72
69
  def self.openapi_types
73
70
  {
74
71
  :'chunk_html' => :'String',
75
- :'content' => :'String',
76
72
  :'created_at' => :'Time',
77
73
  :'dataset_id' => :'String',
78
74
  :'id' => :'String',
@@ -120,12 +116,6 @@ module TrieveRubyClient
120
116
  self.chunk_html = attributes[:'chunk_html']
121
117
  end
122
118
 
123
- if attributes.key?(:'content')
124
- self.content = attributes[:'content']
125
- else
126
- self.content = nil
127
- end
128
-
129
119
  if attributes.key?(:'created_at')
130
120
  self.created_at = attributes[:'created_at']
131
121
  else
@@ -192,10 +182,6 @@ module TrieveRubyClient
192
182
  def list_invalid_properties
193
183
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
194
184
  invalid_properties = Array.new
195
- if @content.nil?
196
- invalid_properties.push('invalid value for "content", content cannot be nil.')
197
- end
198
-
199
185
  if @created_at.nil?
200
186
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
201
187
  end
@@ -227,7 +213,6 @@ module TrieveRubyClient
227
213
  # @return true if the model is valid
228
214
  def valid?
229
215
  warn '[DEPRECATED] the `valid?` method is obsolete'
230
- return false if @content.nil?
231
216
  return false if @created_at.nil?
232
217
  return false if @dataset_id.nil?
233
218
  return false if @id.nil?
@@ -243,7 +228,6 @@ module TrieveRubyClient
243
228
  return true if self.equal?(o)
244
229
  self.class == o.class &&
245
230
  chunk_html == o.chunk_html &&
246
- content == o.content &&
247
231
  created_at == o.created_at &&
248
232
  dataset_id == o.dataset_id &&
249
233
  id == o.id &&
@@ -267,7 +251,7 @@ module TrieveRubyClient
267
251
  # Calculates hash code according to all attributes.
268
252
  # @return [Integer] Hash code
269
253
  def hash
270
- [chunk_html, content, created_at, dataset_id, id, link, metadata, qdrant_point_id, score, tag_set, time_stamp, tracking_id, updated_at, weight].hash
254
+ [chunk_html, created_at, dataset_id, id, link, metadata, qdrant_point_id, score, tag_set, time_stamp, tracking_id, updated_at, weight].hash
271
255
  end
272
256
 
273
257
  # 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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -17,12 +17,18 @@ module TrieveRubyClient
17
17
  class GroupScoreSlimChunks
18
18
  attr_accessor :group_id
19
19
 
20
+ attr_accessor :group_name
21
+
22
+ attr_accessor :group_tracking_id
23
+
20
24
  attr_accessor :metadata
21
25
 
22
26
  # Attribute mapping from ruby-style variable name to JSON key.
23
27
  def self.attribute_map
24
28
  {
25
29
  :'group_id' => :'group_id',
30
+ :'group_name' => :'group_name',
31
+ :'group_tracking_id' => :'group_tracking_id',
26
32
  :'metadata' => :'metadata'
27
33
  }
28
34
  end
@@ -36,6 +42,8 @@ module TrieveRubyClient
36
42
  def self.openapi_types
37
43
  {
38
44
  :'group_id' => :'String',
45
+ :'group_name' => :'String',
46
+ :'group_tracking_id' => :'String',
39
47
  :'metadata' => :'Array<ScoreSlimChunks>'
40
48
  }
41
49
  end
@@ -43,6 +51,8 @@ module TrieveRubyClient
43
51
  # List of attributes with nullable: true
44
52
  def self.openapi_nullable
45
53
  Set.new([
54
+ :'group_name',
55
+ :'group_tracking_id',
46
56
  ])
47
57
  end
48
58
 
@@ -67,6 +77,14 @@ module TrieveRubyClient
67
77
  self.group_id = nil
68
78
  end
69
79
 
80
+ if attributes.key?(:'group_name')
81
+ self.group_name = attributes[:'group_name']
82
+ end
83
+
84
+ if attributes.key?(:'group_tracking_id')
85
+ self.group_tracking_id = attributes[:'group_tracking_id']
86
+ end
87
+
70
88
  if attributes.key?(:'metadata')
71
89
  if (value = attributes[:'metadata']).is_a?(Array)
72
90
  self.metadata = value
@@ -107,6 +125,8 @@ module TrieveRubyClient
107
125
  return true if self.equal?(o)
108
126
  self.class == o.class &&
109
127
  group_id == o.group_id &&
128
+ group_name == o.group_name &&
129
+ group_tracking_id == o.group_tracking_id &&
110
130
  metadata == o.metadata
111
131
  end
112
132
 
@@ -119,7 +139,7 @@ module TrieveRubyClient
119
139
  # Calculates hash code according to all attributes.
120
140
  # @return [Integer] Hash code
121
141
  def hash
122
- [group_id, metadata].hash
142
+ [group_id, group_name, group_tracking_id, metadata].hash
123
143
  end
124
144
 
125
145
  # 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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -35,7 +35,7 @@ module TrieveRubyClient
35
35
  # The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.
36
36
  attr_accessor :recommend_type
37
37
 
38
- # 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.
38
+ # 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 (typicall 10-50ms). Default is false.
39
39
  attr_accessor :slim_chunks
40
40
 
41
41
  # Strategy to use for recommendations, either \"average_vector\" or \"best_score\". The default is \"average_vector\". The \"average_vector\" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The \"best_score\" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives.
@@ -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.8.0
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -38,7 +38,7 @@ module TrieveRubyClient
38
38
  # The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.
39
39
  attr_accessor :recommend_type
40
40
 
41
- # 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.
41
+ # 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 (typicall 10-50ms). Default is false.
42
42
  attr_accessor :slim_chunks
43
43
 
44
44
  # Strategy to use for recommendations, either \"average_vector\" or \"best_score\". The default is \"average_vector\". The \"average_vector\" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The \"best_score\" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives.
@@ -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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
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.8.0
6
+ The version of the OpenAPI document: 0.8.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0