@abliteration/sdk 0.1.0
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/README.md +67 -0
- package/dist/apis/AuthorsApi.d.ts +131 -0
- package/dist/apis/AuthorsApi.js +144 -0
- package/dist/apis/DatasetsApi.d.ts +151 -0
- package/dist/apis/DatasetsApi.js +155 -0
- package/dist/apis/IndicesApi.d.ts +111 -0
- package/dist/apis/IndicesApi.js +135 -0
- package/dist/apis/MethodsApi.d.ts +118 -0
- package/dist/apis/MethodsApi.js +142 -0
- package/dist/apis/ModelsApi.d.ts +181 -0
- package/dist/apis/ModelsApi.js +170 -0
- package/dist/apis/TimelineApi.d.ts +85 -0
- package/dist/apis/TimelineApi.js +89 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +24 -0
- package/dist/esm/apis/AuthorsApi.d.ts +131 -0
- package/dist/esm/apis/AuthorsApi.js +140 -0
- package/dist/esm/apis/DatasetsApi.d.ts +151 -0
- package/dist/esm/apis/DatasetsApi.js +151 -0
- package/dist/esm/apis/IndicesApi.d.ts +111 -0
- package/dist/esm/apis/IndicesApi.js +131 -0
- package/dist/esm/apis/MethodsApi.d.ts +118 -0
- package/dist/esm/apis/MethodsApi.js +138 -0
- package/dist/esm/apis/ModelsApi.d.ts +181 -0
- package/dist/esm/apis/ModelsApi.js +166 -0
- package/dist/esm/apis/TimelineApi.d.ts +85 -0
- package/dist/esm/apis/TimelineApi.js +85 -0
- package/dist/esm/apis/index.d.ts +6 -0
- package/dist/esm/apis/index.js +8 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Author.d.ts +46 -0
- package/dist/esm/models/Author.js +49 -0
- package/dist/esm/models/AuthorDetail.d.ts +51 -0
- package/dist/esm/models/AuthorDetail.js +52 -0
- package/dist/esm/models/DaiPoint.d.ts +38 -0
- package/dist/esm/models/DaiPoint.js +45 -0
- package/dist/esm/models/Dataset.d.ts +70 -0
- package/dist/esm/models/Dataset.js +61 -0
- package/dist/esm/models/DatasetDetail.d.ts +40 -0
- package/dist/esm/models/DatasetDetail.js +38 -0
- package/dist/esm/models/Envelope.d.ts +66 -0
- package/dist/esm/models/Envelope.js +78 -0
- package/dist/esm/models/Event.d.ts +54 -0
- package/dist/esm/models/Event.js +53 -0
- package/dist/esm/models/GetAuthor200Response.d.ts +67 -0
- package/dist/esm/models/GetAuthor200Response.js +79 -0
- package/dist/esm/models/GetDataset200Response.d.ts +67 -0
- package/dist/esm/models/GetDataset200Response.js +79 -0
- package/dist/esm/models/GetIndex200Response.d.ts +67 -0
- package/dist/esm/models/GetIndex200Response.js +79 -0
- package/dist/esm/models/GetMethod200Response.d.ts +67 -0
- package/dist/esm/models/GetMethod200Response.js +79 -0
- package/dist/esm/models/GetModel200Response.d.ts +67 -0
- package/dist/esm/models/GetModel200Response.js +79 -0
- package/dist/esm/models/IndexDetail.d.ts +89 -0
- package/dist/esm/models/IndexDetail.js +78 -0
- package/dist/esm/models/ListAuthors200Response.d.ts +67 -0
- package/dist/esm/models/ListAuthors200Response.js +79 -0
- package/dist/esm/models/ListDatasets200Response.d.ts +67 -0
- package/dist/esm/models/ListDatasets200Response.js +79 -0
- package/dist/esm/models/ListIndices200Response.d.ts +67 -0
- package/dist/esm/models/ListIndices200Response.js +79 -0
- package/dist/esm/models/ListMethods200Response.d.ts +67 -0
- package/dist/esm/models/ListMethods200Response.js +79 -0
- package/dist/esm/models/ListModels200Response.d.ts +67 -0
- package/dist/esm/models/ListModels200Response.js +79 -0
- package/dist/esm/models/ListTimeline200Response.d.ts +67 -0
- package/dist/esm/models/ListTimeline200Response.js +79 -0
- package/dist/esm/models/Method.d.ts +60 -0
- package/dist/esm/models/Method.js +60 -0
- package/dist/esm/models/MethodDetail.d.ts +74 -0
- package/dist/esm/models/MethodDetail.js +68 -0
- package/dist/esm/models/MethodDetailAllOfTopAuthors.d.ts +34 -0
- package/dist/esm/models/MethodDetailAllOfTopAuthors.js +43 -0
- package/dist/esm/models/ModelDetail.d.ts +52 -0
- package/dist/esm/models/ModelDetail.js +38 -0
- package/dist/esm/models/ModelError.d.ts +46 -0
- package/dist/esm/models/ModelError.js +53 -0
- package/dist/esm/models/ModelIndex.d.ts +85 -0
- package/dist/esm/models/ModelIndex.js +76 -0
- package/dist/esm/models/ModelSummary.d.ts +78 -0
- package/dist/esm/models/ModelSummary.js +65 -0
- package/dist/esm/models/Passport.d.ts +38 -0
- package/dist/esm/models/Passport.js +45 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/esm/runtime.d.ts +196 -0
- package/dist/esm/runtime.js +400 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Author.d.ts +46 -0
- package/dist/models/Author.js +56 -0
- package/dist/models/AuthorDetail.d.ts +51 -0
- package/dist/models/AuthorDetail.js +59 -0
- package/dist/models/DaiPoint.d.ts +38 -0
- package/dist/models/DaiPoint.js +52 -0
- package/dist/models/Dataset.d.ts +70 -0
- package/dist/models/Dataset.js +68 -0
- package/dist/models/DatasetDetail.d.ts +40 -0
- package/dist/models/DatasetDetail.js +45 -0
- package/dist/models/Envelope.d.ts +66 -0
- package/dist/models/Envelope.js +86 -0
- package/dist/models/Event.d.ts +54 -0
- package/dist/models/Event.js +60 -0
- package/dist/models/GetAuthor200Response.d.ts +67 -0
- package/dist/models/GetAuthor200Response.js +87 -0
- package/dist/models/GetDataset200Response.d.ts +67 -0
- package/dist/models/GetDataset200Response.js +87 -0
- package/dist/models/GetIndex200Response.d.ts +67 -0
- package/dist/models/GetIndex200Response.js +87 -0
- package/dist/models/GetMethod200Response.d.ts +67 -0
- package/dist/models/GetMethod200Response.js +87 -0
- package/dist/models/GetModel200Response.d.ts +67 -0
- package/dist/models/GetModel200Response.js +87 -0
- package/dist/models/IndexDetail.d.ts +89 -0
- package/dist/models/IndexDetail.js +86 -0
- package/dist/models/ListAuthors200Response.d.ts +67 -0
- package/dist/models/ListAuthors200Response.js +87 -0
- package/dist/models/ListDatasets200Response.d.ts +67 -0
- package/dist/models/ListDatasets200Response.js +87 -0
- package/dist/models/ListIndices200Response.d.ts +67 -0
- package/dist/models/ListIndices200Response.js +87 -0
- package/dist/models/ListMethods200Response.d.ts +67 -0
- package/dist/models/ListMethods200Response.js +87 -0
- package/dist/models/ListModels200Response.d.ts +67 -0
- package/dist/models/ListModels200Response.js +87 -0
- package/dist/models/ListTimeline200Response.d.ts +67 -0
- package/dist/models/ListTimeline200Response.js +87 -0
- package/dist/models/Method.d.ts +60 -0
- package/dist/models/Method.js +68 -0
- package/dist/models/MethodDetail.d.ts +74 -0
- package/dist/models/MethodDetail.js +76 -0
- package/dist/models/MethodDetailAllOfTopAuthors.d.ts +34 -0
- package/dist/models/MethodDetailAllOfTopAuthors.js +50 -0
- package/dist/models/ModelDetail.d.ts +52 -0
- package/dist/models/ModelDetail.js +45 -0
- package/dist/models/ModelError.d.ts +46 -0
- package/dist/models/ModelError.js +60 -0
- package/dist/models/ModelIndex.d.ts +85 -0
- package/dist/models/ModelIndex.js +84 -0
- package/dist/models/ModelSummary.d.ts +78 -0
- package/dist/models/ModelSummary.js +72 -0
- package/dist/models/Passport.d.ts +38 -0
- package/dist/models/Passport.js +52 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +45 -0
- package/dist/runtime.d.ts +196 -0
- package/dist/runtime.js +421 -0
- package/package.json +31 -0
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import type { Author } from './Author';
|
|
13
|
+
/**
|
|
14
|
+
* The full catalog record, plus files, benchmarks and an author summary.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ModelDetail
|
|
17
|
+
*/
|
|
18
|
+
export interface ModelDetail {
|
|
19
|
+
[key: string]: any | any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
author?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
files?: Array<object>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
benchmarks?: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
author_summary?: Author | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ModelDetail interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfModelDetail(value: object): value is ModelDetail;
|
|
49
|
+
export declare function ModelDetailFromJSON(json: any): ModelDetail;
|
|
50
|
+
export declare function ModelDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelDetail;
|
|
51
|
+
export declare function ModelDetailToJSON(json: any): ModelDetail;
|
|
52
|
+
export declare function ModelDetailToJSONTyped(value?: ModelDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
import { AuthorFromJSON, AuthorToJSON, } from './Author';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ModelDetail interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfModelDetail(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ModelDetailFromJSON(json) {
|
|
22
|
+
return ModelDetailFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ModelDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'author': json['author'] == null ? undefined : json['author'], 'name': json['name'] == null ? undefined : json['name'], 'files': json['files'] == null ? undefined : json['files'], 'benchmarks': json['benchmarks'] == null ? undefined : json['benchmarks'], 'author_summary': json['author_summary'] === undefined ? undefined : json['author_summary'] === null ? null : AuthorFromJSON(json['author_summary']) });
|
|
29
|
+
}
|
|
30
|
+
export function ModelDetailToJSON(json) {
|
|
31
|
+
return ModelDetailToJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ModelDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
return Object.assign(Object.assign({}, value), { 'id': value['id'], 'author': value['author'], 'name': value['name'], 'files': value['files'], 'benchmarks': value['benchmarks'], 'author_summary': AuthorToJSON(value['author_summary']) });
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModelError
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelError {
|
|
18
|
+
/**
|
|
19
|
+
* Stable machine-readable slug.
|
|
20
|
+
*/
|
|
21
|
+
error: string;
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable detail. May be reworded at any time.
|
|
24
|
+
*/
|
|
25
|
+
message?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Seconds to wait. Present on 429.
|
|
28
|
+
*/
|
|
29
|
+
retry_after?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Present on 402.
|
|
32
|
+
*/
|
|
33
|
+
credits_remaining?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
request_id: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ModelError interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfModelError(value: object): value is ModelError;
|
|
43
|
+
export declare function ModelErrorFromJSON(json: any): ModelError;
|
|
44
|
+
export declare function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError;
|
|
45
|
+
export declare function ModelErrorToJSON(json: any): ModelError;
|
|
46
|
+
export declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ModelError interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfModelError(value) {
|
|
18
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('request_id' in value) || value['request_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ModelErrorFromJSON(json) {
|
|
25
|
+
return ModelErrorFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'error': json['error'],
|
|
33
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
34
|
+
'retry_after': json['retry_after'] == null ? undefined : json['retry_after'],
|
|
35
|
+
'credits_remaining': json['credits_remaining'] == null ? undefined : json['credits_remaining'],
|
|
36
|
+
'request_id': json['request_id'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ModelErrorToJSON(json) {
|
|
40
|
+
return ModelErrorToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ModelErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'error': value['error'],
|
|
48
|
+
'message': value['message'],
|
|
49
|
+
'retry_after': value['retry_after'],
|
|
50
|
+
'credits_remaining': value['credits_remaining'],
|
|
51
|
+
'request_id': value['request_id'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
import type { DaiPoint } from './DaiPoint';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ModelIndex
|
|
17
|
+
*/
|
|
18
|
+
export interface ModelIndex {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id?: ModelIndexIdEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
value?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
unit?: ModelIndexUnitEnum;
|
|
35
|
+
/**
|
|
36
|
+
* False when the value is a placeholder constant rather than a measurement.
|
|
37
|
+
*/
|
|
38
|
+
measured?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Where the number is produced.
|
|
41
|
+
*/
|
|
42
|
+
source?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
history_available?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
as_of?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
note?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
recent_history?: Array<DaiPoint>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const ModelIndexIdEnum: {
|
|
64
|
+
readonly Dai: "dai";
|
|
65
|
+
readonly FreedomVelocity: "freedom-velocity";
|
|
66
|
+
readonly Weaponization: "weaponization";
|
|
67
|
+
readonly F2wLatency: "f2w-latency";
|
|
68
|
+
};
|
|
69
|
+
export type ModelIndexIdEnum = typeof ModelIndexIdEnum[keyof typeof ModelIndexIdEnum];
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const ModelIndexUnitEnum: {
|
|
74
|
+
readonly Percent: "percent";
|
|
75
|
+
readonly Days: "days";
|
|
76
|
+
};
|
|
77
|
+
export type ModelIndexUnitEnum = typeof ModelIndexUnitEnum[keyof typeof ModelIndexUnitEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the ModelIndex interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfModelIndex(value: object): value is ModelIndex;
|
|
82
|
+
export declare function ModelIndexFromJSON(json: any): ModelIndex;
|
|
83
|
+
export declare function ModelIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelIndex;
|
|
84
|
+
export declare function ModelIndexToJSON(json: any): ModelIndex;
|
|
85
|
+
export declare function ModelIndexToJSONTyped(value?: ModelIndex | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
import { DaiPointFromJSON, DaiPointToJSON, } from './DaiPoint';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ModelIndexIdEnum = {
|
|
19
|
+
Dai: 'dai',
|
|
20
|
+
FreedomVelocity: 'freedom-velocity',
|
|
21
|
+
Weaponization: 'weaponization',
|
|
22
|
+
F2wLatency: 'f2w-latency',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const ModelIndexUnitEnum = {
|
|
28
|
+
Percent: 'percent',
|
|
29
|
+
Days: 'days',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ModelIndex interface.
|
|
33
|
+
*/
|
|
34
|
+
export function instanceOfModelIndex(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function ModelIndexFromJSON(json) {
|
|
38
|
+
return ModelIndexFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ModelIndexFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
46
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
47
|
+
'value': json['value'] === undefined ? undefined : json['value'] === null ? null : json['value'],
|
|
48
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
49
|
+
'measured': json['measured'] == null ? undefined : json['measured'],
|
|
50
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
51
|
+
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
52
|
+
'as_of': json['as_of'] === undefined ? undefined : json['as_of'] === null ? null : json['as_of'],
|
|
53
|
+
'note': json['note'] === undefined ? undefined : json['note'] === null ? null : json['note'],
|
|
54
|
+
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPointFromJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export function ModelIndexToJSON(json) {
|
|
58
|
+
return ModelIndexToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
export function ModelIndexToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'name': value['name'],
|
|
67
|
+
'value': value['value'],
|
|
68
|
+
'unit': value['unit'],
|
|
69
|
+
'measured': value['measured'],
|
|
70
|
+
'source': value['source'],
|
|
71
|
+
'history_available': value['history_available'],
|
|
72
|
+
'as_of': value['as_of'],
|
|
73
|
+
'note': value['note'],
|
|
74
|
+
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPointToJSON)),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModelSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
author?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
method?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
confidence?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
family?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
params_b?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
license?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
downloads?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
likes?: number | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
is_gguf?: number | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
created_at?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
first_seen_at?: string | null;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the ModelSummary interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfModelSummary(value: object): value is ModelSummary;
|
|
75
|
+
export declare function ModelSummaryFromJSON(json: any): ModelSummary;
|
|
76
|
+
export declare function ModelSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelSummary;
|
|
77
|
+
export declare function ModelSummaryToJSON(json: any): ModelSummary;
|
|
78
|
+
export declare function ModelSummaryToJSONTyped(value?: ModelSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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 ModelSummary interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfModelSummary(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ModelSummaryFromJSON(json) {
|
|
21
|
+
return ModelSummaryFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ModelSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
30
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
31
|
+
'method': json['method'] === undefined ? undefined : json['method'] === null ? null : json['method'],
|
|
32
|
+
'confidence': json['confidence'] === undefined ? undefined : json['confidence'] === null ? null : json['confidence'],
|
|
33
|
+
'family': json['family'] === undefined ? undefined : json['family'] === null ? null : json['family'],
|
|
34
|
+
'params_b': json['params_b'] === undefined ? undefined : json['params_b'] === null ? null : json['params_b'],
|
|
35
|
+
'license': json['license'] === undefined ? undefined : json['license'] === null ? null : json['license'],
|
|
36
|
+
'downloads': json['downloads'] === undefined ? undefined : json['downloads'] === null ? null : json['downloads'],
|
|
37
|
+
'likes': json['likes'] === undefined ? undefined : json['likes'] === null ? null : json['likes'],
|
|
38
|
+
'is_gguf': json['is_gguf'] === undefined ? undefined : json['is_gguf'] === null ? null : json['is_gguf'],
|
|
39
|
+
'created_at': json['created_at'] === undefined ? undefined : json['created_at'] === null ? null : json['created_at'],
|
|
40
|
+
'first_seen_at': json['first_seen_at'] === undefined ? undefined : json['first_seen_at'] === null ? null : json['first_seen_at'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function ModelSummaryToJSON(json) {
|
|
44
|
+
return ModelSummaryToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ModelSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'author': value['author'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'method': value['method'],
|
|
55
|
+
'confidence': value['confidence'],
|
|
56
|
+
'family': value['family'],
|
|
57
|
+
'params_b': value['params_b'],
|
|
58
|
+
'license': value['license'],
|
|
59
|
+
'downloads': value['downloads'],
|
|
60
|
+
'likes': value['likes'],
|
|
61
|
+
'is_gguf': value['is_gguf'],
|
|
62
|
+
'created_at': value['created_at'],
|
|
63
|
+
'first_seen_at': value['first_seen_at'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Passport
|
|
16
|
+
*/
|
|
17
|
+
export interface Passport {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
one_liner?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
practitioner?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
research?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Passport interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPassport(value: object): value is Passport;
|
|
35
|
+
export declare function PassportFromJSON(json: any): Passport;
|
|
36
|
+
export declare function PassportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Passport;
|
|
37
|
+
export declare function PassportToJSON(json: any): Passport;
|
|
38
|
+
export declare function PassportToJSONTyped(value?: Passport | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Passport interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPassport(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PassportFromJSON(json) {
|
|
21
|
+
return PassportFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PassportFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'one_liner': json['one_liner'] == null ? undefined : json['one_liner'],
|
|
29
|
+
'practitioner': json['practitioner'] == null ? undefined : json['practitioner'],
|
|
30
|
+
'research': json['research'] == null ? undefined : json['research'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PassportToJSON(json) {
|
|
34
|
+
return PassportToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PassportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'one_liner': value['one_liner'],
|
|
42
|
+
'practitioner': value['practitioner'],
|
|
43
|
+
'research': value['research'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './Author';
|
|
2
|
+
export * from './AuthorDetail';
|
|
3
|
+
export * from './DaiPoint';
|
|
4
|
+
export * from './Dataset';
|
|
5
|
+
export * from './DatasetDetail';
|
|
6
|
+
export * from './Envelope';
|
|
7
|
+
export * from './Event';
|
|
8
|
+
export * from './GetAuthor200Response';
|
|
9
|
+
export * from './GetDataset200Response';
|
|
10
|
+
export * from './GetIndex200Response';
|
|
11
|
+
export * from './GetMethod200Response';
|
|
12
|
+
export * from './GetModel200Response';
|
|
13
|
+
export * from './IndexDetail';
|
|
14
|
+
export * from './ListAuthors200Response';
|
|
15
|
+
export * from './ListDatasets200Response';
|
|
16
|
+
export * from './ListIndices200Response';
|
|
17
|
+
export * from './ListMethods200Response';
|
|
18
|
+
export * from './ListModels200Response';
|
|
19
|
+
export * from './ListTimeline200Response';
|
|
20
|
+
export * from './Method';
|
|
21
|
+
export * from './MethodDetail';
|
|
22
|
+
export * from './MethodDetailAllOfTopAuthors';
|
|
23
|
+
export * from './ModelDetail';
|
|
24
|
+
export * from './ModelError';
|
|
25
|
+
export * from './ModelIndex';
|
|
26
|
+
export * from './ModelSummary';
|
|
27
|
+
export * from './Passport';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './Author';
|
|
4
|
+
export * from './AuthorDetail';
|
|
5
|
+
export * from './DaiPoint';
|
|
6
|
+
export * from './Dataset';
|
|
7
|
+
export * from './DatasetDetail';
|
|
8
|
+
export * from './Envelope';
|
|
9
|
+
export * from './Event';
|
|
10
|
+
export * from './GetAuthor200Response';
|
|
11
|
+
export * from './GetDataset200Response';
|
|
12
|
+
export * from './GetIndex200Response';
|
|
13
|
+
export * from './GetMethod200Response';
|
|
14
|
+
export * from './GetModel200Response';
|
|
15
|
+
export * from './IndexDetail';
|
|
16
|
+
export * from './ListAuthors200Response';
|
|
17
|
+
export * from './ListDatasets200Response';
|
|
18
|
+
export * from './ListIndices200Response';
|
|
19
|
+
export * from './ListMethods200Response';
|
|
20
|
+
export * from './ListModels200Response';
|
|
21
|
+
export * from './ListTimeline200Response';
|
|
22
|
+
export * from './Method';
|
|
23
|
+
export * from './MethodDetail';
|
|
24
|
+
export * from './MethodDetailAllOfTopAuthors';
|
|
25
|
+
export * from './ModelDetail';
|
|
26
|
+
export * from './ModelError';
|
|
27
|
+
export * from './ModelIndex';
|
|
28
|
+
export * from './ModelSummary';
|
|
29
|
+
export * from './Passport';
|