trieve_ruby_client 0.6.0 → 0.6.7

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 (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -19
  3. data/docs/BookmarkData.md +1 -1
  4. data/docs/ChunkApi.md +9 -9
  5. data/docs/ChunkData.md +2 -0
  6. data/docs/ChunkGroupApi.md +14 -14
  7. data/docs/ChunkMetadataWithScore.md +44 -0
  8. data/docs/CreateChunkGroupData.md +1 -1
  9. data/docs/FileApi.md +1 -1
  10. data/docs/GetEventsData.md +1 -1
  11. data/docs/GroupScoreChunk.md +24 -0
  12. data/docs/GroupScoreSlimChunks.md +20 -0
  13. data/docs/ScoreChunkDTO.md +1 -1
  14. data/docs/SearchOverGroupsResults.md +20 -0
  15. data/docs/SearchOverGroupsSlimResults.md +20 -0
  16. data/docs/SearchWithinGroupResults.md +22 -0
  17. data/docs/SearchWithinGroupSlimResults.md +22 -0
  18. data/docs/SlimChunkMetadataWithScore.md +38 -0
  19. data/docs/UpdateChunkByTrackingIdData.md +2 -0
  20. data/docs/UpdateChunkData.md +2 -0
  21. data/docs/UploadFileData.md +2 -2
  22. data/docs/UserApi.md +2 -2
  23. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  24. data/lib/trieve_ruby_client/api/chunk_api.rb +9 -9
  25. data/lib/trieve_ruby_client/api/chunk_group_api.rb +10 -10
  26. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  27. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  28. data/lib/trieve_ruby_client/api/file_api.rb +1 -1
  29. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  30. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  31. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  32. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  33. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  34. data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
  35. data/lib/trieve_ruby_client/api/user_api.rb +3 -3
  36. data/lib/trieve_ruby_client/api_client.rb +1 -1
  37. data/lib/trieve_ruby_client/api_error.rb +1 -1
  38. data/lib/trieve_ruby_client/configuration.rb +1 -1
  39. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  40. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  41. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  42. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  43. data/lib/trieve_ruby_client/models/bookmark_data.rb +2 -2
  44. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  45. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  46. data/lib/trieve_ruby_client/models/chunk_data.rb +13 -2
  47. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  48. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  49. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  50. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  51. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +387 -0
  52. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
  53. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  54. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +2 -8
  55. data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
  56. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  57. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  58. data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
  59. data/lib/trieve_ruby_client/models/dataset.rb +1 -1
  60. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  61. data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
  62. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  63. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  64. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  65. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  66. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  67. data/lib/trieve_ruby_client/models/event.rb +1 -1
  68. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  69. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  70. data/lib/trieve_ruby_client/models/file.rb +1 -1
  71. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  72. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  73. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  74. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  75. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  76. data/lib/trieve_ruby_client/models/group_score_chunk.rb +259 -0
  77. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +239 -0
  78. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  79. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  80. data/lib/trieve_ruby_client/models/message.rb +1 -1
  81. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  82. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  83. data/lib/trieve_ruby_client/models/range.rb +1 -1
  84. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  85. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
  86. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
  87. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  88. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  89. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +2 -2
  90. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  94. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +239 -0
  95. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +239 -0
  96. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  97. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  98. data/lib/trieve_ruby_client/models/search_within_group_results.rb +255 -0
  99. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +255 -0
  100. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  101. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  102. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  103. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  104. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +345 -0
  105. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  106. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  107. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  108. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  109. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  110. data/lib/trieve_ruby_client/models/topic.rb +1 -1
  111. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +13 -2
  112. data/lib/trieve_ruby_client/models/update_chunk_data.rb +13 -2
  113. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
  115. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  116. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  117. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  118. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  119. data/lib/trieve_ruby_client/models/upload_file_data.rb +13 -19
  120. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  121. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  122. data/lib/trieve_ruby_client/version.rb +2 -2
  123. data/lib/trieve_ruby_client.rb +9 -13
  124. data/openapi-generator.yaml +1 -1
  125. data/openapi.json +279 -198
  126. data/spec/models/chunk_metadata_with_score_spec.rb +114 -0
  127. data/spec/models/group_score_chunk_spec.rb +48 -0
  128. data/spec/models/group_score_slim_chunks_spec.rb +42 -0
  129. data/spec/models/search_over_groups_results_spec.rb +42 -0
  130. data/spec/models/search_over_groups_slim_results_spec.rb +42 -0
  131. data/spec/models/search_within_group_results_spec.rb +48 -0
  132. data/spec/models/search_within_group_slim_results_spec.rb +48 -0
  133. data/spec/models/slim_chunk_metadata_with_score_spec.rb +96 -0
  134. data/spec/spec_helper.rb +1 -1
  135. data/trieve_ruby_client-0.6.0.gem +0 -0
  136. data/trieve_ruby_client-0.6.2.gem +0 -0
  137. data/trieve_ruby_client.gemspec +1 -1
  138. metadata +36 -2
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::ChunkMetadataWithScore
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::ChunkMetadataWithScore do
21
+ let(:instance) { TrieveRubyClient::ChunkMetadataWithScore.new }
22
+
23
+ describe 'test an instance of ChunkMetadataWithScore' do
24
+ it 'should create an instance of ChunkMetadataWithScore' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::ChunkMetadataWithScore)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "chunk_html"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "content"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "created_at"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "dataset_id"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "id"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "link"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "metadata"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "qdrant_point_id"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "score"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "tag_set"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "time_stamp"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "tracking_id"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "updated_at"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "weight"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::GroupScoreChunk
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::GroupScoreChunk do
21
+ let(:instance) { TrieveRubyClient::GroupScoreChunk.new }
22
+
23
+ describe 'test an instance of GroupScoreChunk' do
24
+ it 'should create an instance of GroupScoreChunk' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GroupScoreChunk)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "group_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "group_tracking_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "metadata"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::GroupScoreSlimChunks
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::GroupScoreSlimChunks do
21
+ let(:instance) { TrieveRubyClient::GroupScoreSlimChunks.new }
22
+
23
+ describe 'test an instance of GroupScoreSlimChunks' do
24
+ it 'should create an instance of GroupScoreSlimChunks' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::GroupScoreSlimChunks)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "group_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "metadata"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::SearchOverGroupsResults
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::SearchOverGroupsResults do
21
+ let(:instance) { TrieveRubyClient::SearchOverGroupsResults.new }
22
+
23
+ describe 'test an instance of SearchOverGroupsResults' do
24
+ it 'should create an instance of SearchOverGroupsResults' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::SearchOverGroupsResults)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "group_chunks"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "total_chunk_pages"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::SearchOverGroupsSlimResults
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::SearchOverGroupsSlimResults do
21
+ let(:instance) { TrieveRubyClient::SearchOverGroupsSlimResults.new }
22
+
23
+ describe 'test an instance of SearchOverGroupsSlimResults' do
24
+ it 'should create an instance of SearchOverGroupsSlimResults' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::SearchOverGroupsSlimResults)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "group_chunks"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "total_chunk_pages"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::SearchWithinGroupResults
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::SearchWithinGroupResults do
21
+ let(:instance) { TrieveRubyClient::SearchWithinGroupResults.new }
22
+
23
+ describe 'test an instance of SearchWithinGroupResults' do
24
+ it 'should create an instance of SearchWithinGroupResults' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::SearchWithinGroupResults)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "bookmarks"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "group"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "total_pages"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::SearchWithinGroupSlimResults
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::SearchWithinGroupSlimResults do
21
+ let(:instance) { TrieveRubyClient::SearchWithinGroupSlimResults.new }
22
+
23
+ describe 'test an instance of SearchWithinGroupSlimResults' do
24
+ it 'should create an instance of SearchWithinGroupSlimResults' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::SearchWithinGroupSlimResults)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "bookmarks"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "group"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "total_pages"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,96 @@
1
+ =begin
2
+ #Trieve API
3
+
4
+ #Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5
+
6
+ The version of the OpenAPI document: 0.6.2
7
+ Contact: developers@trieve.ai
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrieveRubyClient::SlimChunkMetadataWithScore
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrieveRubyClient::SlimChunkMetadataWithScore do
21
+ let(:instance) { TrieveRubyClient::SlimChunkMetadataWithScore.new }
22
+
23
+ describe 'test an instance of SlimChunkMetadataWithScore' do
24
+ it 'should create an instance of SlimChunkMetadataWithScore' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrieveRubyClient::SlimChunkMetadataWithScore)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "created_at"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "link"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "metadata"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "qdrant_point_id"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "score"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "tag_set"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "time_stamp"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "tracking_id"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "updated_at"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "weight"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ end
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.0
6
+ The version of the OpenAPI document: 0.6.7
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
Binary file
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.0
8
+ The version of the OpenAPI document: 0.6.7
9
9
  Contact: developers@trieve.ai
10
10
  Generated by: https://openapi-generator.tech
11
11
  Generator version: 7.4.0