@abliteration/sdk 0.1.8 → 0.1.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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +1 -0
- package/dist/apis/IndicesApi.d.ts +8 -8
- package/dist/apis/IndicesApi.js +4 -4
- package/dist/esm/apis/IndicesApi.d.ts +8 -8
- package/dist/esm/apis/IndicesApi.js +4 -4
- package/dist/esm/models/FreedomVelocityDailyPoint.d.ts +42 -0
- package/dist/esm/models/FreedomVelocityDailyPoint.js +47 -0
- package/dist/esm/models/IndexDetail.d.ts +14 -1
- package/dist/esm/models/IndexDetail.js +7 -0
- package/dist/esm/models/ModelIndex.d.ts +9 -1
- package/dist/esm/models/ModelIndex.js +4 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/FreedomVelocityDailyPoint.d.ts +42 -0
- package/dist/models/FreedomVelocityDailyPoint.js +54 -0
- package/dist/models/IndexDetail.d.ts +14 -1
- package/dist/models/IndexDetail.js +7 -0
- package/dist/models/ModelIndex.d.ts +9 -1
- package/dist/models/ModelIndex.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/FreedomVelocityDailyPoint.md +41 -0
- package/docs/IndexDetail.md +6 -0
- package/docs/IndicesApi.md +2 -2
- package/docs/ModelIndex.md +4 -0
- package/package.json +3 -2
- package/src/apis/IndicesApi.ts +8 -8
- package/src/models/FreedomVelocityDailyPoint.ts +81 -0
- package/src/models/IndexDetail.ts +26 -1
- package/src/models/ModelIndex.ts +13 -1
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -16,6 +16,7 @@ docs/DownloadAnomaly.md
|
|
|
16
16
|
docs/DownloadPoint.md
|
|
17
17
|
docs/Envelope.md
|
|
18
18
|
docs/Event.md
|
|
19
|
+
docs/FreedomVelocityDailyPoint.md
|
|
19
20
|
docs/GetAuthor200Response.md
|
|
20
21
|
docs/GetDataset200Response.md
|
|
21
22
|
docs/GetHistoricalDeletionSummary200Response.md
|
|
@@ -72,6 +73,7 @@ src/models/DownloadAnomaly.ts
|
|
|
72
73
|
src/models/DownloadPoint.ts
|
|
73
74
|
src/models/Envelope.ts
|
|
74
75
|
src/models/Event.ts
|
|
76
|
+
src/models/FreedomVelocityDailyPoint.ts
|
|
75
77
|
src/models/GetAuthor200Response.ts
|
|
76
78
|
src/models/GetDataset200Response.ts
|
|
77
79
|
src/models/GetHistoricalDeletionSummary200Response.ts
|
package/README.md
CHANGED
|
@@ -89,6 +89,7 @@ All URIs are relative to *https://abliteration.org*
|
|
|
89
89
|
- [DownloadPoint](docs/DownloadPoint.md)
|
|
90
90
|
- [Envelope](docs/Envelope.md)
|
|
91
91
|
- [Event](docs/Event.md)
|
|
92
|
+
- [FreedomVelocityDailyPoint](docs/FreedomVelocityDailyPoint.md)
|
|
92
93
|
- [GetAuthor200Response](docs/GetAuthor200Response.md)
|
|
93
94
|
- [GetDataset200Response](docs/GetDataset200Response.md)
|
|
94
95
|
- [GetHistoricalDeletionSummary200Response](docs/GetHistoricalDeletionSummary200Response.md)
|
|
@@ -33,7 +33,7 @@ export interface IndicesApiInterface {
|
|
|
33
33
|
*/
|
|
34
34
|
getIndexRequestOpts(requestParameters: GetIndexRequest): Promise<runtime.RequestOpts>;
|
|
35
35
|
/**
|
|
36
|
-
* Cost: 10 credits. Only dai has a history
|
|
36
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
37
37
|
* @summary One index with history
|
|
38
38
|
* @param {'dai' | 'DAI' | 'freedom-velocity' | 'FV' | 'freedom_velocity' | 'weaponization' | 'WEAP' | 'f2w-latency' | 'F2W' | 'f2w_latency'} id Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -42,7 +42,7 @@ export interface IndicesApiInterface {
|
|
|
42
42
|
*/
|
|
43
43
|
getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>>;
|
|
44
44
|
/**
|
|
45
|
-
* Cost: 10 credits. Only dai has a history
|
|
45
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
46
46
|
* One index with history
|
|
47
47
|
*/
|
|
48
48
|
getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response>;
|
|
@@ -53,7 +53,7 @@ export interface IndicesApiInterface {
|
|
|
53
53
|
*/
|
|
54
54
|
listIndicesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
55
55
|
/**
|
|
56
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
56
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
57
57
|
* @summary All four indices
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
@@ -61,7 +61,7 @@ export interface IndicesApiInterface {
|
|
|
61
61
|
*/
|
|
62
62
|
listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>>;
|
|
63
63
|
/**
|
|
64
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
64
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
65
65
|
* All four indices
|
|
66
66
|
*/
|
|
67
67
|
listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response>;
|
|
@@ -75,12 +75,12 @@ export declare class IndicesApi extends runtime.BaseAPI implements IndicesApiInt
|
|
|
75
75
|
*/
|
|
76
76
|
getIndexRequestOpts(requestParameters: GetIndexRequest): Promise<runtime.RequestOpts>;
|
|
77
77
|
/**
|
|
78
|
-
* Cost: 10 credits. Only dai has a history
|
|
78
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
79
79
|
* One index with history
|
|
80
80
|
*/
|
|
81
81
|
getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>>;
|
|
82
82
|
/**
|
|
83
|
-
* Cost: 10 credits. Only dai has a history
|
|
83
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
84
84
|
* One index with history
|
|
85
85
|
*/
|
|
86
86
|
getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response>;
|
|
@@ -89,12 +89,12 @@ export declare class IndicesApi extends runtime.BaseAPI implements IndicesApiInt
|
|
|
89
89
|
*/
|
|
90
90
|
listIndicesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
91
91
|
/**
|
|
92
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
92
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
93
93
|
* All four indices
|
|
94
94
|
*/
|
|
95
95
|
listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>>;
|
|
96
96
|
/**
|
|
97
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
97
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
98
98
|
* All four indices
|
|
99
99
|
*/
|
|
100
100
|
listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response>;
|
package/dist/apis/IndicesApi.js
CHANGED
|
@@ -58,7 +58,7 @@ class IndicesApi extends runtime.BaseAPI {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Cost: 10 credits. Only dai has a history
|
|
61
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
62
62
|
* One index with history
|
|
63
63
|
*/
|
|
64
64
|
getIndexRaw(requestParameters, initOverrides) {
|
|
@@ -69,7 +69,7 @@ class IndicesApi extends runtime.BaseAPI {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Cost: 10 credits. Only dai has a history
|
|
72
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
73
73
|
* One index with history
|
|
74
74
|
*/
|
|
75
75
|
getIndex(requestParameters, initOverrides) {
|
|
@@ -102,7 +102,7 @@ class IndicesApi extends runtime.BaseAPI {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
105
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
106
106
|
* All four indices
|
|
107
107
|
*/
|
|
108
108
|
listIndicesRaw(initOverrides) {
|
|
@@ -113,7 +113,7 @@ class IndicesApi extends runtime.BaseAPI {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
116
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
117
117
|
* All four indices
|
|
118
118
|
*/
|
|
119
119
|
listIndices(initOverrides) {
|
|
@@ -33,7 +33,7 @@ export interface IndicesApiInterface {
|
|
|
33
33
|
*/
|
|
34
34
|
getIndexRequestOpts(requestParameters: GetIndexRequest): Promise<runtime.RequestOpts>;
|
|
35
35
|
/**
|
|
36
|
-
* Cost: 10 credits. Only dai has a history
|
|
36
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
37
37
|
* @summary One index with history
|
|
38
38
|
* @param {'dai' | 'DAI' | 'freedom-velocity' | 'FV' | 'freedom_velocity' | 'weaponization' | 'WEAP' | 'f2w-latency' | 'F2W' | 'f2w_latency'} id Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -42,7 +42,7 @@ export interface IndicesApiInterface {
|
|
|
42
42
|
*/
|
|
43
43
|
getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>>;
|
|
44
44
|
/**
|
|
45
|
-
* Cost: 10 credits. Only dai has a history
|
|
45
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
46
46
|
* One index with history
|
|
47
47
|
*/
|
|
48
48
|
getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response>;
|
|
@@ -53,7 +53,7 @@ export interface IndicesApiInterface {
|
|
|
53
53
|
*/
|
|
54
54
|
listIndicesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
55
55
|
/**
|
|
56
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
56
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
57
57
|
* @summary All four indices
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
@@ -61,7 +61,7 @@ export interface IndicesApiInterface {
|
|
|
61
61
|
*/
|
|
62
62
|
listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>>;
|
|
63
63
|
/**
|
|
64
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
64
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
65
65
|
* All four indices
|
|
66
66
|
*/
|
|
67
67
|
listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response>;
|
|
@@ -75,12 +75,12 @@ export declare class IndicesApi extends runtime.BaseAPI implements IndicesApiInt
|
|
|
75
75
|
*/
|
|
76
76
|
getIndexRequestOpts(requestParameters: GetIndexRequest): Promise<runtime.RequestOpts>;
|
|
77
77
|
/**
|
|
78
|
-
* Cost: 10 credits. Only dai has a history
|
|
78
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
79
79
|
* One index with history
|
|
80
80
|
*/
|
|
81
81
|
getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>>;
|
|
82
82
|
/**
|
|
83
|
-
* Cost: 10 credits. Only dai has a history
|
|
83
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
84
84
|
* One index with history
|
|
85
85
|
*/
|
|
86
86
|
getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response>;
|
|
@@ -89,12 +89,12 @@ export declare class IndicesApi extends runtime.BaseAPI implements IndicesApiInt
|
|
|
89
89
|
*/
|
|
90
90
|
listIndicesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
91
91
|
/**
|
|
92
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
92
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
93
93
|
* All four indices
|
|
94
94
|
*/
|
|
95
95
|
listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>>;
|
|
96
96
|
/**
|
|
97
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
97
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
98
98
|
* All four indices
|
|
99
99
|
*/
|
|
100
100
|
listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response>;
|
|
@@ -55,7 +55,7 @@ export class IndicesApi extends runtime.BaseAPI {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Cost: 10 credits. Only dai has a history
|
|
58
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
59
59
|
* One index with history
|
|
60
60
|
*/
|
|
61
61
|
getIndexRaw(requestParameters, initOverrides) {
|
|
@@ -66,7 +66,7 @@ export class IndicesApi extends runtime.BaseAPI {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Cost: 10 credits. Only dai has a history
|
|
69
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
70
70
|
* One index with history
|
|
71
71
|
*/
|
|
72
72
|
getIndex(requestParameters, initOverrides) {
|
|
@@ -99,7 +99,7 @@ export class IndicesApi extends runtime.BaseAPI {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
102
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
103
103
|
* All four indices
|
|
104
104
|
*/
|
|
105
105
|
listIndicesRaw(initOverrides) {
|
|
@@ -110,7 +110,7 @@ export class IndicesApi extends runtime.BaseAPI {
|
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
113
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
114
114
|
* All four indices
|
|
115
115
|
*/
|
|
116
116
|
listIndices(initOverrides) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* One stored daily Freedom Velocity reading.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FreedomVelocityDailyPoint
|
|
16
|
+
*/
|
|
17
|
+
export interface FreedomVelocityDailyPoint {
|
|
18
|
+
/**
|
|
19
|
+
* UTC date of the snapshot, YYYY-MM-DD.
|
|
20
|
+
*/
|
|
21
|
+
date?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Mean days from a base model release to the first derived catalog model, as stored that day.
|
|
24
|
+
*/
|
|
25
|
+
value?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Median of the per-base days that day; null when not recorded.
|
|
28
|
+
*/
|
|
29
|
+
median?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Number of base models in the average that day; null when not recorded.
|
|
32
|
+
*/
|
|
33
|
+
bases_count?: number | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the FreedomVelocityDailyPoint interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfFreedomVelocityDailyPoint(value: object): value is FreedomVelocityDailyPoint;
|
|
39
|
+
export declare function FreedomVelocityDailyPointFromJSON(json: any): FreedomVelocityDailyPoint;
|
|
40
|
+
export declare function FreedomVelocityDailyPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreedomVelocityDailyPoint;
|
|
41
|
+
export declare function FreedomVelocityDailyPointToJSON(json: any): FreedomVelocityDailyPoint;
|
|
42
|
+
export declare function FreedomVelocityDailyPointToJSONTyped(value?: FreedomVelocityDailyPoint | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* abliteration.org Public API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the FreedomVelocityDailyPoint interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFreedomVelocityDailyPoint(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function FreedomVelocityDailyPointFromJSON(json) {
|
|
21
|
+
return FreedomVelocityDailyPointFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function FreedomVelocityDailyPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
29
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
30
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
31
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function FreedomVelocityDailyPointToJSON(json) {
|
|
35
|
+
return FreedomVelocityDailyPointToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function FreedomVelocityDailyPointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'date': value['date'],
|
|
43
|
+
'value': value['value'],
|
|
44
|
+
'median': value['median'],
|
|
45
|
+
'bases_count': value['bases_count'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DaiPoint } from './DaiPoint';
|
|
13
|
+
import type { FreedomVelocityDailyPoint } from './FreedomVelocityDailyPoint';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -41,7 +42,7 @@ export interface IndexDetail {
|
|
|
41
42
|
*/
|
|
42
43
|
source?: string;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
45
46
|
*/
|
|
46
47
|
history_available?: boolean;
|
|
47
48
|
/**
|
|
@@ -52,6 +53,14 @@ export interface IndexDetail {
|
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
54
55
|
note?: string;
|
|
56
|
+
/**
|
|
57
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
58
|
+
*/
|
|
59
|
+
median?: number;
|
|
60
|
+
/**
|
|
61
|
+
* freedom-velocity only: number of base models in the average.
|
|
62
|
+
*/
|
|
63
|
+
bases_count?: number;
|
|
55
64
|
/**
|
|
56
65
|
*
|
|
57
66
|
*/
|
|
@@ -60,6 +69,10 @@ export interface IndexDetail {
|
|
|
60
69
|
*
|
|
61
70
|
*/
|
|
62
71
|
history?: Array<DaiPoint>;
|
|
72
|
+
/**
|
|
73
|
+
* freedom-velocity only (absent for the other indices): the daily Freedom Velocity readings stored once a day in index_snapshots, oldest first. Empty until the first daily snapshot exists.
|
|
74
|
+
*/
|
|
75
|
+
daily_history?: Array<FreedomVelocityDailyPoint>;
|
|
63
76
|
}
|
|
64
77
|
/**
|
|
65
78
|
* @export
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { DaiPointFromJSON, DaiPointToJSON, } from './DaiPoint';
|
|
15
|
+
import { FreedomVelocityDailyPointFromJSON, FreedomVelocityDailyPointToJSON, } from './FreedomVelocityDailyPoint';
|
|
15
16
|
/**
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
@@ -51,8 +52,11 @@ export function IndexDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
52
53
|
'as_of': json['as_of'] == null ? undefined : json['as_of'],
|
|
53
54
|
'note': json['note'] == null ? undefined : json['note'],
|
|
55
|
+
'median': json['median'] == null ? undefined : json['median'],
|
|
56
|
+
'bases_count': json['bases_count'] == null ? undefined : json['bases_count'],
|
|
54
57
|
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPointFromJSON)),
|
|
55
58
|
'history': json['history'] == null ? undefined : (json['history'].map(DaiPointFromJSON)),
|
|
59
|
+
'daily_history': json['daily_history'] == null ? undefined : (json['daily_history'].map(FreedomVelocityDailyPointFromJSON)),
|
|
56
60
|
};
|
|
57
61
|
}
|
|
58
62
|
export function IndexDetailToJSON(json) {
|
|
@@ -72,7 +76,10 @@ export function IndexDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
76
|
'history_available': value['history_available'],
|
|
73
77
|
'as_of': value['as_of'],
|
|
74
78
|
'note': value['note'],
|
|
79
|
+
'median': value['median'],
|
|
80
|
+
'bases_count': value['bases_count'],
|
|
75
81
|
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPointToJSON)),
|
|
76
82
|
'history': value['history'] == null ? undefined : (value['history'].map(DaiPointToJSON)),
|
|
83
|
+
'daily_history': value['daily_history'] == null ? undefined : (value['daily_history'].map(FreedomVelocityDailyPointToJSON)),
|
|
77
84
|
};
|
|
78
85
|
}
|
|
@@ -41,7 +41,7 @@ export interface ModelIndex {
|
|
|
41
41
|
*/
|
|
42
42
|
source?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
45
45
|
*/
|
|
46
46
|
history_available?: boolean;
|
|
47
47
|
/**
|
|
@@ -52,6 +52,14 @@ export interface ModelIndex {
|
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
note?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
57
|
+
*/
|
|
58
|
+
median?: number | null;
|
|
59
|
+
/**
|
|
60
|
+
* freedom-velocity only: number of base models in the average.
|
|
61
|
+
*/
|
|
62
|
+
bases_count?: number | null;
|
|
55
63
|
/**
|
|
56
64
|
*
|
|
57
65
|
*/
|
|
@@ -51,6 +51,8 @@ export function ModelIndexFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
52
52
|
'as_of': json['as_of'] === undefined ? undefined : json['as_of'] === null ? null : json['as_of'],
|
|
53
53
|
'note': json['note'] === undefined ? undefined : json['note'] === null ? null : json['note'],
|
|
54
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
55
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
54
56
|
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPointFromJSON)),
|
|
55
57
|
};
|
|
56
58
|
}
|
|
@@ -71,6 +73,8 @@ export function ModelIndexToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
73
|
'history_available': value['history_available'],
|
|
72
74
|
'as_of': value['as_of'],
|
|
73
75
|
'note': value['note'],
|
|
76
|
+
'median': value['median'],
|
|
77
|
+
'bases_count': value['bases_count'],
|
|
74
78
|
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPointToJSON)),
|
|
75
79
|
};
|
|
76
80
|
}
|
|
@@ -11,6 +11,7 @@ export * from './DownloadAnomaly';
|
|
|
11
11
|
export * from './DownloadPoint';
|
|
12
12
|
export * from './Envelope';
|
|
13
13
|
export * from './Event';
|
|
14
|
+
export * from './FreedomVelocityDailyPoint';
|
|
14
15
|
export * from './GetAuthor200Response';
|
|
15
16
|
export * from './GetDataset200Response';
|
|
16
17
|
export * from './GetHistoricalDeletionSummary200Response';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export * from './DownloadAnomaly';
|
|
|
13
13
|
export * from './DownloadPoint';
|
|
14
14
|
export * from './Envelope';
|
|
15
15
|
export * from './Event';
|
|
16
|
+
export * from './FreedomVelocityDailyPoint';
|
|
16
17
|
export * from './GetAuthor200Response';
|
|
17
18
|
export * from './GetDataset200Response';
|
|
18
19
|
export * from './GetHistoricalDeletionSummary200Response';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* One stored daily Freedom Velocity reading.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FreedomVelocityDailyPoint
|
|
16
|
+
*/
|
|
17
|
+
export interface FreedomVelocityDailyPoint {
|
|
18
|
+
/**
|
|
19
|
+
* UTC date of the snapshot, YYYY-MM-DD.
|
|
20
|
+
*/
|
|
21
|
+
date?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Mean days from a base model release to the first derived catalog model, as stored that day.
|
|
24
|
+
*/
|
|
25
|
+
value?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Median of the per-base days that day; null when not recorded.
|
|
28
|
+
*/
|
|
29
|
+
median?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Number of base models in the average that day; null when not recorded.
|
|
32
|
+
*/
|
|
33
|
+
bases_count?: number | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the FreedomVelocityDailyPoint interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfFreedomVelocityDailyPoint(value: object): value is FreedomVelocityDailyPoint;
|
|
39
|
+
export declare function FreedomVelocityDailyPointFromJSON(json: any): FreedomVelocityDailyPoint;
|
|
40
|
+
export declare function FreedomVelocityDailyPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreedomVelocityDailyPoint;
|
|
41
|
+
export declare function FreedomVelocityDailyPointToJSON(json: any): FreedomVelocityDailyPoint;
|
|
42
|
+
export declare function FreedomVelocityDailyPointToJSONTyped(value?: FreedomVelocityDailyPoint | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* abliteration.org Public API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFreedomVelocityDailyPoint = instanceOfFreedomVelocityDailyPoint;
|
|
17
|
+
exports.FreedomVelocityDailyPointFromJSON = FreedomVelocityDailyPointFromJSON;
|
|
18
|
+
exports.FreedomVelocityDailyPointFromJSONTyped = FreedomVelocityDailyPointFromJSONTyped;
|
|
19
|
+
exports.FreedomVelocityDailyPointToJSON = FreedomVelocityDailyPointToJSON;
|
|
20
|
+
exports.FreedomVelocityDailyPointToJSONTyped = FreedomVelocityDailyPointToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FreedomVelocityDailyPoint interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFreedomVelocityDailyPoint(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function FreedomVelocityDailyPointFromJSON(json) {
|
|
28
|
+
return FreedomVelocityDailyPointFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function FreedomVelocityDailyPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
36
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
37
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
38
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FreedomVelocityDailyPointToJSON(json) {
|
|
42
|
+
return FreedomVelocityDailyPointToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FreedomVelocityDailyPointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'date': value['date'],
|
|
50
|
+
'value': value['value'],
|
|
51
|
+
'median': value['median'],
|
|
52
|
+
'bases_count': value['bases_count'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DaiPoint } from './DaiPoint';
|
|
13
|
+
import type { FreedomVelocityDailyPoint } from './FreedomVelocityDailyPoint';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -41,7 +42,7 @@ export interface IndexDetail {
|
|
|
41
42
|
*/
|
|
42
43
|
source?: string;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
45
46
|
*/
|
|
46
47
|
history_available?: boolean;
|
|
47
48
|
/**
|
|
@@ -52,6 +53,14 @@ export interface IndexDetail {
|
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
54
55
|
note?: string;
|
|
56
|
+
/**
|
|
57
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
58
|
+
*/
|
|
59
|
+
median?: number;
|
|
60
|
+
/**
|
|
61
|
+
* freedom-velocity only: number of base models in the average.
|
|
62
|
+
*/
|
|
63
|
+
bases_count?: number;
|
|
55
64
|
/**
|
|
56
65
|
*
|
|
57
66
|
*/
|
|
@@ -60,6 +69,10 @@ export interface IndexDetail {
|
|
|
60
69
|
*
|
|
61
70
|
*/
|
|
62
71
|
history?: Array<DaiPoint>;
|
|
72
|
+
/**
|
|
73
|
+
* freedom-velocity only (absent for the other indices): the daily Freedom Velocity readings stored once a day in index_snapshots, oldest first. Empty until the first daily snapshot exists.
|
|
74
|
+
*/
|
|
75
|
+
daily_history?: Array<FreedomVelocityDailyPoint>;
|
|
63
76
|
}
|
|
64
77
|
/**
|
|
65
78
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.IndexDetailFromJSONTyped = IndexDetailFromJSONTyped;
|
|
|
20
20
|
exports.IndexDetailToJSON = IndexDetailToJSON;
|
|
21
21
|
exports.IndexDetailToJSONTyped = IndexDetailToJSONTyped;
|
|
22
22
|
const DaiPoint_1 = require("./DaiPoint");
|
|
23
|
+
const FreedomVelocityDailyPoint_1 = require("./FreedomVelocityDailyPoint");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -59,8 +60,11 @@ function IndexDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
60
61
|
'as_of': json['as_of'] == null ? undefined : json['as_of'],
|
|
61
62
|
'note': json['note'] == null ? undefined : json['note'],
|
|
63
|
+
'median': json['median'] == null ? undefined : json['median'],
|
|
64
|
+
'bases_count': json['bases_count'] == null ? undefined : json['bases_count'],
|
|
62
65
|
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPoint_1.DaiPointFromJSON)),
|
|
63
66
|
'history': json['history'] == null ? undefined : (json['history'].map(DaiPoint_1.DaiPointFromJSON)),
|
|
67
|
+
'daily_history': json['daily_history'] == null ? undefined : (json['daily_history'].map(FreedomVelocityDailyPoint_1.FreedomVelocityDailyPointFromJSON)),
|
|
64
68
|
};
|
|
65
69
|
}
|
|
66
70
|
function IndexDetailToJSON(json) {
|
|
@@ -80,7 +84,10 @@ function IndexDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
84
|
'history_available': value['history_available'],
|
|
81
85
|
'as_of': value['as_of'],
|
|
82
86
|
'note': value['note'],
|
|
87
|
+
'median': value['median'],
|
|
88
|
+
'bases_count': value['bases_count'],
|
|
83
89
|
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPoint_1.DaiPointToJSON)),
|
|
84
90
|
'history': value['history'] == null ? undefined : (value['history'].map(DaiPoint_1.DaiPointToJSON)),
|
|
91
|
+
'daily_history': value['daily_history'] == null ? undefined : (value['daily_history'].map(FreedomVelocityDailyPoint_1.FreedomVelocityDailyPointToJSON)),
|
|
85
92
|
};
|
|
86
93
|
}
|
|
@@ -41,7 +41,7 @@ export interface ModelIndex {
|
|
|
41
41
|
*/
|
|
42
42
|
source?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
45
45
|
*/
|
|
46
46
|
history_available?: boolean;
|
|
47
47
|
/**
|
|
@@ -52,6 +52,14 @@ export interface ModelIndex {
|
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
note?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
57
|
+
*/
|
|
58
|
+
median?: number | null;
|
|
59
|
+
/**
|
|
60
|
+
* freedom-velocity only: number of base models in the average.
|
|
61
|
+
*/
|
|
62
|
+
bases_count?: number | null;
|
|
55
63
|
/**
|
|
56
64
|
*
|
|
57
65
|
*/
|
|
@@ -59,6 +59,8 @@ function ModelIndexFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
60
60
|
'as_of': json['as_of'] === undefined ? undefined : json['as_of'] === null ? null : json['as_of'],
|
|
61
61
|
'note': json['note'] === undefined ? undefined : json['note'] === null ? null : json['note'],
|
|
62
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
63
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
62
64
|
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPoint_1.DaiPointFromJSON)),
|
|
63
65
|
};
|
|
64
66
|
}
|
|
@@ -79,6 +81,8 @@ function ModelIndexToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
79
81
|
'history_available': value['history_available'],
|
|
80
82
|
'as_of': value['as_of'],
|
|
81
83
|
'note': value['note'],
|
|
84
|
+
'median': value['median'],
|
|
85
|
+
'bases_count': value['bases_count'],
|
|
82
86
|
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPoint_1.DaiPointToJSON)),
|
|
83
87
|
};
|
|
84
88
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './DownloadAnomaly';
|
|
|
11
11
|
export * from './DownloadPoint';
|
|
12
12
|
export * from './Envelope';
|
|
13
13
|
export * from './Event';
|
|
14
|
+
export * from './FreedomVelocityDailyPoint';
|
|
14
15
|
export * from './GetAuthor200Response';
|
|
15
16
|
export * from './GetDataset200Response';
|
|
16
17
|
export * from './GetHistoricalDeletionSummary200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./DownloadAnomaly"), exports);
|
|
|
29
29
|
__exportStar(require("./DownloadPoint"), exports);
|
|
30
30
|
__exportStar(require("./Envelope"), exports);
|
|
31
31
|
__exportStar(require("./Event"), exports);
|
|
32
|
+
__exportStar(require("./FreedomVelocityDailyPoint"), exports);
|
|
32
33
|
__exportStar(require("./GetAuthor200Response"), exports);
|
|
33
34
|
__exportStar(require("./GetDataset200Response"), exports);
|
|
34
35
|
__exportStar(require("./GetHistoricalDeletionSummary200Response"), exports);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# FreedomVelocityDailyPoint
|
|
3
|
+
|
|
4
|
+
One stored daily Freedom Velocity reading.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`date` | string
|
|
11
|
+
`value` | number
|
|
12
|
+
`median` | number
|
|
13
|
+
`bases_count` | number
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { FreedomVelocityDailyPoint } from '@abliteration/sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"date": 2026-11-09,
|
|
23
|
+
"value": null,
|
|
24
|
+
"median": null,
|
|
25
|
+
"bases_count": null,
|
|
26
|
+
} satisfies FreedomVelocityDailyPoint
|
|
27
|
+
|
|
28
|
+
console.log(example)
|
|
29
|
+
|
|
30
|
+
// Convert the instance to a JSON string
|
|
31
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
32
|
+
console.log(exampleJSON)
|
|
33
|
+
|
|
34
|
+
// Parse the JSON string back to an object
|
|
35
|
+
const exampleParsed = JSON.parse(exampleJSON) as FreedomVelocityDailyPoint
|
|
36
|
+
console.log(exampleParsed)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
40
|
+
|
|
41
|
+
|
package/docs/IndexDetail.md
CHANGED
|
@@ -15,8 +15,11 @@ Name | Type
|
|
|
15
15
|
`history_available` | boolean
|
|
16
16
|
`as_of` | string
|
|
17
17
|
`note` | string
|
|
18
|
+
`median` | number
|
|
19
|
+
`bases_count` | number
|
|
18
20
|
`recent_history` | [Array<DaiPoint>](DaiPoint.md)
|
|
19
21
|
`history` | [Array<DaiPoint>](DaiPoint.md)
|
|
22
|
+
`daily_history` | [Array<FreedomVelocityDailyPoint>](FreedomVelocityDailyPoint.md)
|
|
20
23
|
|
|
21
24
|
## Example
|
|
22
25
|
|
|
@@ -34,8 +37,11 @@ const example = {
|
|
|
34
37
|
"history_available": null,
|
|
35
38
|
"as_of": null,
|
|
36
39
|
"note": null,
|
|
40
|
+
"median": null,
|
|
41
|
+
"bases_count": null,
|
|
37
42
|
"recent_history": null,
|
|
38
43
|
"history": null,
|
|
44
|
+
"daily_history": null,
|
|
39
45
|
} satisfies IndexDetail
|
|
40
46
|
|
|
41
47
|
console.log(example)
|
package/docs/IndicesApi.md
CHANGED
|
@@ -15,7 +15,7 @@ All URIs are relative to *https://abliteration.org*
|
|
|
15
15
|
|
|
16
16
|
One index with history
|
|
17
17
|
|
|
18
|
-
Cost: 10 credits. Only dai has a history
|
|
18
|
+
Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
@@ -91,7 +91,7 @@ example().catch(console.error);
|
|
|
91
91
|
|
|
92
92
|
All four indices
|
|
93
93
|
|
|
94
|
-
Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
94
|
+
Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
95
95
|
|
|
96
96
|
### Example
|
|
97
97
|
|
package/docs/ModelIndex.md
CHANGED
|
@@ -15,6 +15,8 @@ Name | Type
|
|
|
15
15
|
`history_available` | boolean
|
|
16
16
|
`as_of` | string
|
|
17
17
|
`note` | string
|
|
18
|
+
`median` | number
|
|
19
|
+
`bases_count` | number
|
|
18
20
|
`recent_history` | [Array<DaiPoint>](DaiPoint.md)
|
|
19
21
|
|
|
20
22
|
## Example
|
|
@@ -33,6 +35,8 @@ const example = {
|
|
|
33
35
|
"history_available": null,
|
|
34
36
|
"as_of": null,
|
|
35
37
|
"note": null,
|
|
38
|
+
"median": null,
|
|
39
|
+
"bases_count": null,
|
|
36
40
|
"recent_history": null,
|
|
37
41
|
} satisfies ModelIndex
|
|
38
42
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abliteration/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "OpenAPI client for @abliteration/sdk",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "git+https://github.com/neymark/abliteration.git",
|
|
9
|
+
"directory": "packages/reserve/npm-sdk"
|
|
9
10
|
},
|
|
10
11
|
"main": "./dist/index.js",
|
|
11
12
|
"types": "./dist/index.d.ts",
|
package/src/apis/IndicesApi.ts
CHANGED
|
@@ -47,7 +47,7 @@ export interface IndicesApiInterface {
|
|
|
47
47
|
getIndexRequestOpts(requestParameters: GetIndexRequest): Promise<runtime.RequestOpts>;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* Cost: 10 credits. Only dai has a history
|
|
50
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
51
51
|
* @summary One index with history
|
|
52
52
|
* @param {'dai' | 'DAI' | 'freedom-velocity' | 'FV' | 'freedom_velocity' | 'weaponization' | 'WEAP' | 'f2w-latency' | 'F2W' | 'f2w_latency'} id Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
@@ -57,7 +57,7 @@ export interface IndicesApiInterface {
|
|
|
57
57
|
getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>>;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Cost: 10 credits. Only dai has a history
|
|
60
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
61
61
|
* One index with history
|
|
62
62
|
*/
|
|
63
63
|
getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response>;
|
|
@@ -70,7 +70,7 @@ export interface IndicesApiInterface {
|
|
|
70
70
|
listIndicesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
73
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
74
74
|
* @summary All four indices
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
@@ -79,7 +79,7 @@ export interface IndicesApiInterface {
|
|
|
79
79
|
listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
82
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
83
83
|
* All four indices
|
|
84
84
|
*/
|
|
85
85
|
listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response>;
|
|
@@ -127,7 +127,7 @@ export class IndicesApi extends runtime.BaseAPI implements IndicesApiInterface {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
|
-
* Cost: 10 credits. Only dai has a history
|
|
130
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
131
131
|
* One index with history
|
|
132
132
|
*/
|
|
133
133
|
async getIndexRaw(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIndex200Response>> {
|
|
@@ -138,7 +138,7 @@ export class IndicesApi extends runtime.BaseAPI implements IndicesApiInterface {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Cost: 10 credits. Only dai has a history
|
|
141
|
+
* Cost: 10 credits. Only dai has a series in history; the others return an empty history array. freedom-velocity also returns daily_history, its stored daily values oldest first, and its history_available is true when that series is non-empty. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
142
142
|
* One index with history
|
|
143
143
|
*/
|
|
144
144
|
async getIndex(requestParameters: GetIndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIndex200Response> {
|
|
@@ -174,7 +174,7 @@ export class IndicesApi extends runtime.BaseAPI implements IndicesApiInterface {
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
177
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
178
178
|
* All four indices
|
|
179
179
|
*/
|
|
180
180
|
async listIndicesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListIndices200Response>> {
|
|
@@ -185,7 +185,7 @@ export class IndicesApi extends runtime.BaseAPI implements IndicesApiInterface {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* Cost: 20 credits. Check the measured flag before treating a value as a finding.
|
|
188
|
+
* Cost: 20 credits. Check the measured flag before treating a value as a finding. freedom-velocity: average days from a base model\'s release on Hugging Face (repo createdAt) until the first catalog model derived from it (abliterated or uncensored, at any depth, including delisted models) appears on Hugging Face, across base models released on or after 2024-06-01. The base must be a valid original: chains whose top is a catalog model or carries an abliterated, uncensored or heretic marker are excluded. The median and the number of bases are returned as median and bases_count.
|
|
189
189
|
* All four indices
|
|
190
190
|
*/
|
|
191
191
|
async listIndices(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIndices200Response> {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* abliteration.org Public API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* One stored daily Freedom Velocity reading.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FreedomVelocityDailyPoint
|
|
20
|
+
*/
|
|
21
|
+
export interface FreedomVelocityDailyPoint {
|
|
22
|
+
/**
|
|
23
|
+
* UTC date of the snapshot, YYYY-MM-DD.
|
|
24
|
+
*/
|
|
25
|
+
date?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Mean days from a base model release to the first derived catalog model, as stored that day.
|
|
28
|
+
*/
|
|
29
|
+
value?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Median of the per-base days that day; null when not recorded.
|
|
32
|
+
*/
|
|
33
|
+
median?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Number of base models in the average that day; null when not recorded.
|
|
36
|
+
*/
|
|
37
|
+
bases_count?: number | null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the FreedomVelocityDailyPoint interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfFreedomVelocityDailyPoint(value: object): value is FreedomVelocityDailyPoint {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function FreedomVelocityDailyPointFromJSON(json: any): FreedomVelocityDailyPoint {
|
|
48
|
+
return FreedomVelocityDailyPointFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function FreedomVelocityDailyPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreedomVelocityDailyPoint {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
58
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
59
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
60
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function FreedomVelocityDailyPointToJSON(json: any): FreedomVelocityDailyPoint {
|
|
65
|
+
return FreedomVelocityDailyPointToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function FreedomVelocityDailyPointToJSONTyped(value?: FreedomVelocityDailyPoint | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'date': value['date'],
|
|
76
|
+
'value': value['value'],
|
|
77
|
+
'median': value['median'],
|
|
78
|
+
'bases_count': value['bases_count'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
DaiPointToJSON,
|
|
21
21
|
DaiPointToJSONTyped,
|
|
22
22
|
} from './DaiPoint';
|
|
23
|
+
import type { FreedomVelocityDailyPoint } from './FreedomVelocityDailyPoint';
|
|
24
|
+
import {
|
|
25
|
+
FreedomVelocityDailyPointFromJSON,
|
|
26
|
+
FreedomVelocityDailyPointFromJSONTyped,
|
|
27
|
+
FreedomVelocityDailyPointToJSON,
|
|
28
|
+
FreedomVelocityDailyPointToJSONTyped,
|
|
29
|
+
} from './FreedomVelocityDailyPoint';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -52,7 +59,7 @@ export interface IndexDetail {
|
|
|
52
59
|
*/
|
|
53
60
|
source?: string;
|
|
54
61
|
/**
|
|
55
|
-
*
|
|
62
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
56
63
|
*/
|
|
57
64
|
history_available?: boolean;
|
|
58
65
|
/**
|
|
@@ -63,6 +70,14 @@ export interface IndexDetail {
|
|
|
63
70
|
*
|
|
64
71
|
*/
|
|
65
72
|
note?: string;
|
|
73
|
+
/**
|
|
74
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
75
|
+
*/
|
|
76
|
+
median?: number;
|
|
77
|
+
/**
|
|
78
|
+
* freedom-velocity only: number of base models in the average.
|
|
79
|
+
*/
|
|
80
|
+
bases_count?: number;
|
|
66
81
|
/**
|
|
67
82
|
*
|
|
68
83
|
*/
|
|
@@ -71,6 +86,10 @@ export interface IndexDetail {
|
|
|
71
86
|
*
|
|
72
87
|
*/
|
|
73
88
|
history?: Array<DaiPoint>;
|
|
89
|
+
/**
|
|
90
|
+
* freedom-velocity only (absent for the other indices): the daily Freedom Velocity readings stored once a day in index_snapshots, oldest first. Empty until the first daily snapshot exists.
|
|
91
|
+
*/
|
|
92
|
+
daily_history?: Array<FreedomVelocityDailyPoint>;
|
|
74
93
|
}
|
|
75
94
|
|
|
76
95
|
|
|
@@ -121,8 +140,11 @@ export function IndexDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
121
140
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
122
141
|
'as_of': json['as_of'] == null ? undefined : json['as_of'],
|
|
123
142
|
'note': json['note'] == null ? undefined : json['note'],
|
|
143
|
+
'median': json['median'] == null ? undefined : json['median'],
|
|
144
|
+
'bases_count': json['bases_count'] == null ? undefined : json['bases_count'],
|
|
124
145
|
'recent_history': json['recent_history'] == null ? undefined : ((json['recent_history'] as Array<any>).map(DaiPointFromJSON)),
|
|
125
146
|
'history': json['history'] == null ? undefined : ((json['history'] as Array<any>).map(DaiPointFromJSON)),
|
|
147
|
+
'daily_history': json['daily_history'] == null ? undefined : ((json['daily_history'] as Array<any>).map(FreedomVelocityDailyPointFromJSON)),
|
|
126
148
|
};
|
|
127
149
|
}
|
|
128
150
|
|
|
@@ -146,8 +168,11 @@ export function IndexDetailToJSONTyped(value?: IndexDetail | null, ignoreDiscrim
|
|
|
146
168
|
'history_available': value['history_available'],
|
|
147
169
|
'as_of': value['as_of'],
|
|
148
170
|
'note': value['note'],
|
|
171
|
+
'median': value['median'],
|
|
172
|
+
'bases_count': value['bases_count'],
|
|
149
173
|
'recent_history': value['recent_history'] == null ? undefined : ((value['recent_history'] as Array<any>).map(DaiPointToJSON)),
|
|
150
174
|
'history': value['history'] == null ? undefined : ((value['history'] as Array<any>).map(DaiPointToJSON)),
|
|
175
|
+
'daily_history': value['daily_history'] == null ? undefined : ((value['daily_history'] as Array<any>).map(FreedomVelocityDailyPointToJSON)),
|
|
151
176
|
};
|
|
152
177
|
}
|
|
153
178
|
|
package/src/models/ModelIndex.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface ModelIndex {
|
|
|
52
52
|
*/
|
|
53
53
|
source?: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* true when this index exposes a time series in `history` or `daily_history`
|
|
56
56
|
*/
|
|
57
57
|
history_available?: boolean;
|
|
58
58
|
/**
|
|
@@ -63,6 +63,14 @@ export interface ModelIndex {
|
|
|
63
63
|
*
|
|
64
64
|
*/
|
|
65
65
|
note?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* freedom-velocity only: median of the per-base days, rounded to 0.1.
|
|
68
|
+
*/
|
|
69
|
+
median?: number | null;
|
|
70
|
+
/**
|
|
71
|
+
* freedom-velocity only: number of base models in the average.
|
|
72
|
+
*/
|
|
73
|
+
bases_count?: number | null;
|
|
66
74
|
/**
|
|
67
75
|
*
|
|
68
76
|
*/
|
|
@@ -117,6 +125,8 @@ export function ModelIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
117
125
|
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
118
126
|
'as_of': json['as_of'] === undefined ? undefined : json['as_of'] === null ? null : json['as_of'],
|
|
119
127
|
'note': json['note'] === undefined ? undefined : json['note'] === null ? null : json['note'],
|
|
128
|
+
'median': json['median'] === undefined ? undefined : json['median'] === null ? null : json['median'],
|
|
129
|
+
'bases_count': json['bases_count'] === undefined ? undefined : json['bases_count'] === null ? null : json['bases_count'],
|
|
120
130
|
'recent_history': json['recent_history'] == null ? undefined : ((json['recent_history'] as Array<any>).map(DaiPointFromJSON)),
|
|
121
131
|
};
|
|
122
132
|
}
|
|
@@ -141,6 +151,8 @@ export function ModelIndexToJSONTyped(value?: ModelIndex | null, ignoreDiscrimin
|
|
|
141
151
|
'history_available': value['history_available'],
|
|
142
152
|
'as_of': value['as_of'],
|
|
143
153
|
'note': value['note'],
|
|
154
|
+
'median': value['median'],
|
|
155
|
+
'bases_count': value['bases_count'],
|
|
144
156
|
'recent_history': value['recent_history'] == null ? undefined : ((value['recent_history'] as Array<any>).map(DaiPointToJSON)),
|
|
145
157
|
};
|
|
146
158
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './DownloadAnomaly';
|
|
|
13
13
|
export * from './DownloadPoint';
|
|
14
14
|
export * from './Envelope';
|
|
15
15
|
export * from './Event';
|
|
16
|
+
export * from './FreedomVelocityDailyPoint';
|
|
16
17
|
export * from './GetAuthor200Response';
|
|
17
18
|
export * from './GetDataset200Response';
|
|
18
19
|
export * from './GetHistoricalDeletionSummary200Response';
|