abliteration 0.1.5 → 0.1.6
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.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/docs/DelistedModel.md +30 -0
- data/docs/ListDelistedModels200Response.md +32 -0
- data/docs/ModelDetail.md +4 -0
- data/docs/ModelSummary.md +5 -1
- data/docs/ModelsApi.md +82 -2
- data/lib/abliteration/api/models_api.rb +96 -4
- data/lib/abliteration/models/delisted_model.rb +206 -0
- data/lib/abliteration/models/list_delisted_models200_response.rb +386 -0
- data/lib/abliteration/models/model_detail.rb +23 -1
- data/lib/abliteration/models/model_summary.rb +27 -5
- data/lib/abliteration/version.rb +1 -1
- data/lib/abliteration.rb +2 -0
- data/spec/models/delisted_model_spec.rb +72 -0
- data/spec/models/list_delisted_models200_response_spec.rb +82 -0
- metadata +10 -2
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#abliteration.org Public API
|
|
3
|
+
|
|
4
|
+
#Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Abliteration::ListDelistedModels200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Abliteration::ListDelistedModels200Response do
|
|
21
|
+
#let(:instance) { Abliteration::ListDelistedModels200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ListDelistedModels200Response' do
|
|
24
|
+
it 'should create an instance of ListDelistedModels200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Abliteration::ListDelistedModels200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "data"' 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 "cost"' 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 "credits_remaining"' 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 "rate_limit_limit"' 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 "rate_limit_remaining"' 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 "rate_limit_reset"' 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 "metering"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["preview", "billed"])
|
|
70
|
+
# validator.allowable_values.each do |value|
|
|
71
|
+
# expect { instance.metering = value }.not_to raise_error
|
|
72
|
+
# end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "request_id"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: abliteration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Catyonic OU
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -69,6 +69,7 @@ files:
|
|
|
69
69
|
- docs/Dataset.md
|
|
70
70
|
- docs/DatasetDetail.md
|
|
71
71
|
- docs/DatasetsApi.md
|
|
72
|
+
- docs/DelistedModel.md
|
|
72
73
|
- docs/Envelope.md
|
|
73
74
|
- docs/Error.md
|
|
74
75
|
- docs/Event.md
|
|
@@ -82,6 +83,7 @@ files:
|
|
|
82
83
|
- docs/IndicesApi.md
|
|
83
84
|
- docs/ListAuthors200Response.md
|
|
84
85
|
- docs/ListDatasets200Response.md
|
|
86
|
+
- docs/ListDelistedModels200Response.md
|
|
85
87
|
- docs/ListIndices200Response.md
|
|
86
88
|
- docs/ListMethods200Response.md
|
|
87
89
|
- docs/ListModels200Response.md
|
|
@@ -112,6 +114,7 @@ files:
|
|
|
112
114
|
- lib/abliteration/models/dai_point.rb
|
|
113
115
|
- lib/abliteration/models/dataset.rb
|
|
114
116
|
- lib/abliteration/models/dataset_detail.rb
|
|
117
|
+
- lib/abliteration/models/delisted_model.rb
|
|
115
118
|
- lib/abliteration/models/envelope.rb
|
|
116
119
|
- lib/abliteration/models/error.rb
|
|
117
120
|
- lib/abliteration/models/event.rb
|
|
@@ -124,6 +127,7 @@ files:
|
|
|
124
127
|
- lib/abliteration/models/index_detail.rb
|
|
125
128
|
- lib/abliteration/models/list_authors200_response.rb
|
|
126
129
|
- lib/abliteration/models/list_datasets200_response.rb
|
|
130
|
+
- lib/abliteration/models/list_delisted_models200_response.rb
|
|
127
131
|
- lib/abliteration/models/list_indices200_response.rb
|
|
128
132
|
- lib/abliteration/models/list_methods200_response.rb
|
|
129
133
|
- lib/abliteration/models/list_models200_response.rb
|
|
@@ -148,6 +152,7 @@ files:
|
|
|
148
152
|
- spec/models/dai_point_spec.rb
|
|
149
153
|
- spec/models/dataset_detail_spec.rb
|
|
150
154
|
- spec/models/dataset_spec.rb
|
|
155
|
+
- spec/models/delisted_model_spec.rb
|
|
151
156
|
- spec/models/envelope_spec.rb
|
|
152
157
|
- spec/models/error_spec.rb
|
|
153
158
|
- spec/models/event_spec.rb
|
|
@@ -160,6 +165,7 @@ files:
|
|
|
160
165
|
- spec/models/index_spec.rb
|
|
161
166
|
- spec/models/list_authors200_response_spec.rb
|
|
162
167
|
- spec/models/list_datasets200_response_spec.rb
|
|
168
|
+
- spec/models/list_delisted_models200_response_spec.rb
|
|
163
169
|
- spec/models/list_indices200_response_spec.rb
|
|
164
170
|
- spec/models/list_methods200_response_spec.rb
|
|
165
171
|
- spec/models/list_models200_response_spec.rb
|
|
@@ -211,6 +217,7 @@ test_files:
|
|
|
211
217
|
- spec/models/list_indices200_response_spec.rb
|
|
212
218
|
- spec/models/dataset_spec.rb
|
|
213
219
|
- spec/models/method_spec.rb
|
|
220
|
+
- spec/models/delisted_model_spec.rb
|
|
214
221
|
- spec/models/method_detail_spec.rb
|
|
215
222
|
- spec/models/author_spec.rb
|
|
216
223
|
- spec/models/list_models200_response_spec.rb
|
|
@@ -228,4 +235,5 @@ test_files:
|
|
|
228
235
|
- spec/models/model_detail_spec.rb
|
|
229
236
|
- spec/models/method_detail_all_of_top_authors_spec.rb
|
|
230
237
|
- spec/models/get_method200_response_spec.rb
|
|
238
|
+
- spec/models/list_delisted_models200_response_spec.rb
|
|
231
239
|
- spec/spec_helper.rb
|