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
@@ -27,6 +27,8 @@ module TrieveRubyClient
27
27
 
28
28
  attr_accessor :server_configuration
29
29
 
30
+ attr_accessor :tracking_id
31
+
30
32
  attr_accessor :updated_at
31
33
 
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +40,7 @@ module TrieveRubyClient
38
40
  :'name' => :'name',
39
41
  :'organization_id' => :'organization_id',
40
42
  :'server_configuration' => :'server_configuration',
43
+ :'tracking_id' => :'tracking_id',
41
44
  :'updated_at' => :'updated_at'
42
45
  }
43
46
  end
@@ -56,6 +59,7 @@ module TrieveRubyClient
56
59
  :'name' => :'String',
57
60
  :'organization_id' => :'String',
58
61
  :'server_configuration' => :'Object',
62
+ :'tracking_id' => :'String',
59
63
  :'updated_at' => :'Time'
60
64
  }
61
65
  end
@@ -65,6 +69,7 @@ module TrieveRubyClient
65
69
  Set.new([
66
70
  :'client_configuration',
67
71
  :'server_configuration',
72
+ :'tracking_id',
68
73
  ])
69
74
  end
70
75
 
@@ -119,6 +124,10 @@ module TrieveRubyClient
119
124
  self.server_configuration = nil
120
125
  end
121
126
 
127
+ if attributes.key?(:'tracking_id')
128
+ self.tracking_id = attributes[:'tracking_id']
129
+ end
130
+
122
131
  if attributes.key?(:'updated_at')
123
132
  self.updated_at = attributes[:'updated_at']
124
133
  else
@@ -177,6 +186,7 @@ module TrieveRubyClient
177
186
  name == o.name &&
178
187
  organization_id == o.organization_id &&
179
188
  server_configuration == o.server_configuration &&
189
+ tracking_id == o.tracking_id &&
180
190
  updated_at == o.updated_at
181
191
  end
182
192
 
@@ -189,7 +199,7 @@ module TrieveRubyClient
189
199
  # Calculates hash code according to all attributes.
190
200
  # @return [Integer] Hash code
191
201
  def hash
192
- [client_configuration, created_at, id, name, organization_id, server_configuration, updated_at].hash
202
+ [client_configuration, created_at, id, name, organization_id, server_configuration, tracking_id, updated_at].hash
193
203
  end
194
204
 
195
205
  # 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
@@ -25,6 +25,8 @@ module TrieveRubyClient
25
25
 
26
26
  attr_accessor :organization_id
27
27
 
28
+ attr_accessor :tracking_id
29
+
28
30
  attr_accessor :updated_at
29
31
 
30
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -35,6 +37,7 @@ module TrieveRubyClient
35
37
  :'id' => :'id',
36
38
  :'name' => :'name',
37
39
  :'organization_id' => :'organization_id',
40
+ :'tracking_id' => :'tracking_id',
38
41
  :'updated_at' => :'updated_at'
39
42
  }
40
43
  end
@@ -52,6 +55,7 @@ module TrieveRubyClient
52
55
  :'id' => :'String',
53
56
  :'name' => :'String',
54
57
  :'organization_id' => :'String',
58
+ :'tracking_id' => :'String',
55
59
  :'updated_at' => :'Time'
56
60
  }
57
61
  end
@@ -60,6 +64,7 @@ module TrieveRubyClient
60
64
  def self.openapi_nullable
61
65
  Set.new([
62
66
  :'client_configuration',
67
+ :'tracking_id',
63
68
  ])
64
69
  end
65
70
 
@@ -108,6 +113,10 @@ module TrieveRubyClient
108
113
  self.organization_id = nil
109
114
  end
110
115
 
116
+ if attributes.key?(:'tracking_id')
117
+ self.tracking_id = attributes[:'tracking_id']
118
+ end
119
+
111
120
  if attributes.key?(:'updated_at')
112
121
  self.updated_at = attributes[:'updated_at']
113
122
  else
@@ -165,6 +174,7 @@ module TrieveRubyClient
165
174
  id == o.id &&
166
175
  name == o.name &&
167
176
  organization_id == o.organization_id &&
177
+ tracking_id == o.tracking_id &&
168
178
  updated_at == o.updated_at
169
179
  end
170
180
 
@@ -177,7 +187,7 @@ module TrieveRubyClient
177
187
  # Calculates hash code according to all attributes.
178
188
  # @return [Integer] Hash code
179
189
  def hash
180
- [client_configuration, created_at, id, name, organization_id, updated_at].hash
190
+ [client_configuration, created_at, id, name, organization_id, tracking_id, updated_at].hash
181
191
  end
182
192
 
183
193
  # 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
@@ -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
@@ -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
@@ -32,6 +32,9 @@ module TrieveRubyClient
32
32
  # 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.
33
33
  attr_accessor :positive_tracking_ids
34
34
 
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
+ attr_accessor :recommend_type
37
+
35
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.
36
39
  attr_accessor :slim_chunks
37
40
 
@@ -47,6 +50,7 @@ module TrieveRubyClient
47
50
  :'negative_tracking_ids' => :'negative_tracking_ids',
48
51
  :'positive_chunk_ids' => :'positive_chunk_ids',
49
52
  :'positive_tracking_ids' => :'positive_tracking_ids',
53
+ :'recommend_type' => :'recommend_type',
50
54
  :'slim_chunks' => :'slim_chunks',
51
55
  :'strategy' => :'strategy'
52
56
  }
@@ -66,6 +70,7 @@ module TrieveRubyClient
66
70
  :'negative_tracking_ids' => :'Array<String>',
67
71
  :'positive_chunk_ids' => :'Array<String>',
68
72
  :'positive_tracking_ids' => :'Array<String>',
73
+ :'recommend_type' => :'String',
69
74
  :'slim_chunks' => :'Boolean',
70
75
  :'strategy' => :'String'
71
76
  }
@@ -80,6 +85,7 @@ module TrieveRubyClient
80
85
  :'negative_tracking_ids',
81
86
  :'positive_chunk_ids',
82
87
  :'positive_tracking_ids',
88
+ :'recommend_type',
83
89
  :'slim_chunks',
84
90
  :'strategy'
85
91
  ])
@@ -132,6 +138,10 @@ module TrieveRubyClient
132
138
  end
133
139
  end
134
140
 
141
+ if attributes.key?(:'recommend_type')
142
+ self.recommend_type = attributes[:'recommend_type']
143
+ end
144
+
135
145
  if attributes.key?(:'slim_chunks')
136
146
  self.slim_chunks = attributes[:'slim_chunks']
137
147
  end
@@ -182,6 +192,7 @@ module TrieveRubyClient
182
192
  negative_tracking_ids == o.negative_tracking_ids &&
183
193
  positive_chunk_ids == o.positive_chunk_ids &&
184
194
  positive_tracking_ids == o.positive_tracking_ids &&
195
+ recommend_type == o.recommend_type &&
185
196
  slim_chunks == o.slim_chunks &&
186
197
  strategy == o.strategy
187
198
  end
@@ -195,7 +206,7 @@ module TrieveRubyClient
195
206
  # Calculates hash code according to all attributes.
196
207
  # @return [Integer] Hash code
197
208
  def hash
198
- [filters, limit, negative_chunk_ids, negative_tracking_ids, positive_chunk_ids, positive_tracking_ids, slim_chunks, strategy].hash
209
+ [filters, limit, negative_chunk_ids, negative_tracking_ids, positive_chunk_ids, positive_tracking_ids, recommend_type, slim_chunks, strategy].hash
199
210
  end
200
211
 
201
212
  # 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
@@ -35,6 +35,9 @@ module TrieveRubyClient
35
35
  # 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.
36
36
  attr_accessor :positive_group_tracking_ids
37
37
 
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
+ attr_accessor :recommend_type
40
+
38
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.
39
42
  attr_accessor :slim_chunks
40
43
 
@@ -51,6 +54,7 @@ module TrieveRubyClient
51
54
  :'negative_group_tracking_ids' => :'negative_group_tracking_ids',
52
55
  :'positive_group_ids' => :'positive_group_ids',
53
56
  :'positive_group_tracking_ids' => :'positive_group_tracking_ids',
57
+ :'recommend_type' => :'recommend_type',
54
58
  :'slim_chunks' => :'slim_chunks',
55
59
  :'strategy' => :'strategy'
56
60
  }
@@ -71,6 +75,7 @@ module TrieveRubyClient
71
75
  :'negative_group_tracking_ids' => :'Array<String>',
72
76
  :'positive_group_ids' => :'Array<String>',
73
77
  :'positive_group_tracking_ids' => :'Array<String>',
78
+ :'recommend_type' => :'String',
74
79
  :'slim_chunks' => :'Boolean',
75
80
  :'strategy' => :'String'
76
81
  }
@@ -86,6 +91,7 @@ module TrieveRubyClient
86
91
  :'negative_group_tracking_ids',
87
92
  :'positive_group_ids',
88
93
  :'positive_group_tracking_ids',
94
+ :'recommend_type',
89
95
  :'slim_chunks',
90
96
  :'strategy'
91
97
  ])
@@ -142,6 +148,10 @@ module TrieveRubyClient
142
148
  end
143
149
  end
144
150
 
151
+ if attributes.key?(:'recommend_type')
152
+ self.recommend_type = attributes[:'recommend_type']
153
+ end
154
+
145
155
  if attributes.key?(:'slim_chunks')
146
156
  self.slim_chunks = attributes[:'slim_chunks']
147
157
  end
@@ -208,6 +218,7 @@ module TrieveRubyClient
208
218
  negative_group_tracking_ids == o.negative_group_tracking_ids &&
209
219
  positive_group_ids == o.positive_group_ids &&
210
220
  positive_group_tracking_ids == o.positive_group_tracking_ids &&
221
+ recommend_type == o.recommend_type &&
211
222
  slim_chunks == o.slim_chunks &&
212
223
  strategy == o.strategy
213
224
  end
@@ -221,7 +232,7 @@ module TrieveRubyClient
221
232
  # Calculates hash code according to all attributes.
222
233
  # @return [Integer] Hash code
223
234
  def hash
224
- [filters, group_size, limit, negative_group_ids, negative_group_tracking_ids, positive_group_ids, positive_group_tracking_ids, slim_chunks, strategy].hash
235
+ [filters, group_size, limit, negative_group_ids, negative_group_tracking_ids, positive_group_ids, positive_group_tracking_ids, recommend_type, slim_chunks, strategy].hash
225
236
  end
226
237
 
227
238
  # 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
@@ -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