@gpuai/sdk 0.3.11 → 0.3.13
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 +10 -0
- package/README.md +8 -2
- package/dist/apis/InferenceApi.d.ts +19 -0
- package/dist/apis/InferenceApi.js +51 -0
- package/dist/esm/apis/InferenceApi.d.ts +19 -0
- package/dist/esm/apis/InferenceApi.js +51 -0
- package/dist/esm/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/esm/models/Embedding.d.ts +51 -0
- package/dist/esm/models/Embedding.js +59 -0
- package/dist/esm/models/EmbeddingsRequest.d.ts +64 -0
- package/dist/esm/models/EmbeddingsRequest.js +60 -0
- package/dist/esm/models/EmbeddingsRequestInput.d.ts +21 -0
- package/dist/esm/models/EmbeddingsRequestInput.js +47 -0
- package/dist/esm/models/EmbeddingsResponse.d.ts +59 -0
- package/dist/esm/models/EmbeddingsResponse.js +65 -0
- package/dist/esm/models/EmbeddingsUsage.d.ts +38 -0
- package/dist/esm/models/EmbeddingsUsage.js +47 -0
- package/dist/esm/models/Instance.d.ts +1 -1
- package/dist/esm/models/Pricing.d.ts +1 -1
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/Embedding.d.ts +51 -0
- package/dist/models/Embedding.js +67 -0
- package/dist/models/EmbeddingsRequest.d.ts +64 -0
- package/dist/models/EmbeddingsRequest.js +68 -0
- package/dist/models/EmbeddingsRequestInput.d.ts +21 -0
- package/dist/models/EmbeddingsRequestInput.js +53 -0
- package/dist/models/EmbeddingsResponse.d.ts +59 -0
- package/dist/models/EmbeddingsResponse.js +73 -0
- package/dist/models/EmbeddingsUsage.d.ts +38 -0
- package/dist/models/EmbeddingsUsage.js +54 -0
- package/dist/models/Instance.d.ts +1 -1
- package/dist/models/Pricing.d.ts +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/docs/Embedding.md +38 -0
- package/docs/EmbeddingsRequest.md +42 -0
- package/docs/EmbeddingsRequestInput.md +33 -0
- package/docs/EmbeddingsResponse.md +40 -0
- package/docs/EmbeddingsUsage.md +37 -0
- package/docs/InferenceApi.md +83 -0
- package/docs/PricingApi.md +2 -2
- package/package.json +1 -1
- package/src/apis/InferenceApi.ts +71 -0
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/Embedding.ts +96 -0
- package/src/models/EmbeddingsRequest.ts +117 -0
- package/src/models/EmbeddingsRequestInput.ts +59 -0
- package/src/models/EmbeddingsResponse.ts +120 -0
- package/src/models/EmbeddingsUsage.ts +75 -0
- package/src/models/Instance.ts +1 -1
- package/src/models/Pricing.ts +1 -1
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
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
|
+
import type { EmbeddingsRequestInput } from './EmbeddingsRequestInput';
|
|
17
|
+
import {
|
|
18
|
+
EmbeddingsRequestInputFromJSON,
|
|
19
|
+
EmbeddingsRequestInputFromJSONTyped,
|
|
20
|
+
EmbeddingsRequestInputToJSON,
|
|
21
|
+
EmbeddingsRequestInputToJSONTyped,
|
|
22
|
+
} from './EmbeddingsRequestInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface EmbeddingsRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface EmbeddingsRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Canonical embedding model id, e.g. "gpuai/qwen3-embedding-8b".
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EmbeddingsRequest
|
|
34
|
+
*/
|
|
35
|
+
model: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {EmbeddingsRequestInput}
|
|
39
|
+
* @memberof EmbeddingsRequest
|
|
40
|
+
*/
|
|
41
|
+
input: EmbeddingsRequestInput;
|
|
42
|
+
/**
|
|
43
|
+
* Only "float" is supported. A value of "base64" is rejected with invalid_request_error / unsupported_parameter.
|
|
44
|
+
* @type {EmbeddingsRequestEncodingFormatEnum}
|
|
45
|
+
* @memberof EmbeddingsRequest
|
|
46
|
+
*/
|
|
47
|
+
encodingFormat?: EmbeddingsRequestEncodingFormatEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Requested output dimensionality, for models that support truncated (Matryoshka) embeddings. Passed through to the model when set.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof EmbeddingsRequest
|
|
52
|
+
*/
|
|
53
|
+
dimensions?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Opaque end-user identifier for abuse tracing. Optional.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EmbeddingsRequest
|
|
58
|
+
*/
|
|
59
|
+
user?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export const EmbeddingsRequestEncodingFormatEnum = {
|
|
67
|
+
Float: 'float'
|
|
68
|
+
} as const;
|
|
69
|
+
export type EmbeddingsRequestEncodingFormatEnum = typeof EmbeddingsRequestEncodingFormatEnum[keyof typeof EmbeddingsRequestEncodingFormatEnum];
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the EmbeddingsRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfEmbeddingsRequest(value: object): value is EmbeddingsRequest {
|
|
76
|
+
if (!('model' in value) || value['model'] === undefined) return false;
|
|
77
|
+
if (!('input' in value) || value['input'] === undefined) return false;
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function EmbeddingsRequestFromJSON(json: any): EmbeddingsRequest {
|
|
82
|
+
return EmbeddingsRequestFromJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function EmbeddingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddingsRequest {
|
|
86
|
+
if (json == null) {
|
|
87
|
+
return json;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'model': json['model'],
|
|
92
|
+
'input': EmbeddingsRequestInputFromJSON(json['input']),
|
|
93
|
+
'encodingFormat': json['encoding_format'] == null ? undefined : json['encoding_format'],
|
|
94
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
95
|
+
'user': json['user'] == null ? undefined : json['user'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function EmbeddingsRequestToJSON(json: any): EmbeddingsRequest {
|
|
100
|
+
return EmbeddingsRequestToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function EmbeddingsRequestToJSONTyped(value?: EmbeddingsRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
104
|
+
if (value == null) {
|
|
105
|
+
return value;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'model': value['model'],
|
|
111
|
+
'input': EmbeddingsRequestInputToJSON(value['input']),
|
|
112
|
+
'encoding_format': value['encodingFormat'],
|
|
113
|
+
'dimensions': value['dimensions'],
|
|
114
|
+
'user': value['user'],
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
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
|
+
/**
|
|
16
|
+
* @type EmbeddingsRequestInput
|
|
17
|
+
* Text to embed: either a single string or an array of up to 2048 strings. Token-id arrays are not supported. The per-request ceiling is bounded so the response stays under 64 MiB — about 680 inputs at 4096 dimensions, fewer at a larger `dimensions` value; an over-limit batch is rejected with 400 invalid_request_error whose message states the limit, before any processing.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type EmbeddingsRequestInput = Array<string> | string;
|
|
21
|
+
|
|
22
|
+
export function EmbeddingsRequestInputFromJSON(json: any): EmbeddingsRequestInput {
|
|
23
|
+
return EmbeddingsRequestInputFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function EmbeddingsRequestInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddingsRequestInput {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (Array.isArray(json)) {
|
|
31
|
+
if (json.every(item => typeof item === 'string')) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (typeof json === 'string') {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {} as any;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function EmbeddingsRequestInputToJSON(json: any): any {
|
|
42
|
+
return EmbeddingsRequestInputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function EmbeddingsRequestInputToJSONTyped(value?: EmbeddingsRequestInput | null, ignoreDiscriminator: boolean = false): any {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
if (Array.isArray(value)) {
|
|
50
|
+
if (value.every(item => typeof item === 'string')) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (typeof value === 'string') {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {};
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
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
|
+
import type { Embedding } from './Embedding';
|
|
17
|
+
import {
|
|
18
|
+
EmbeddingFromJSON,
|
|
19
|
+
EmbeddingFromJSONTyped,
|
|
20
|
+
EmbeddingToJSON,
|
|
21
|
+
EmbeddingToJSONTyped,
|
|
22
|
+
} from './Embedding';
|
|
23
|
+
import type { EmbeddingsUsage } from './EmbeddingsUsage';
|
|
24
|
+
import {
|
|
25
|
+
EmbeddingsUsageFromJSON,
|
|
26
|
+
EmbeddingsUsageFromJSONTyped,
|
|
27
|
+
EmbeddingsUsageToJSON,
|
|
28
|
+
EmbeddingsUsageToJSONTyped,
|
|
29
|
+
} from './EmbeddingsUsage';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface EmbeddingsResponse
|
|
35
|
+
*/
|
|
36
|
+
export interface EmbeddingsResponse {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {EmbeddingsResponseObjectEnum}
|
|
40
|
+
* @memberof EmbeddingsResponse
|
|
41
|
+
*/
|
|
42
|
+
object: EmbeddingsResponseObjectEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Embedding>}
|
|
46
|
+
* @memberof EmbeddingsResponse
|
|
47
|
+
*/
|
|
48
|
+
data: Array<Embedding>;
|
|
49
|
+
/**
|
|
50
|
+
* Canonical (gpuai/...) model id, NEVER the upstream identifier.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof EmbeddingsResponse
|
|
53
|
+
*/
|
|
54
|
+
model: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {EmbeddingsUsage}
|
|
58
|
+
* @memberof EmbeddingsResponse
|
|
59
|
+
*/
|
|
60
|
+
usage: EmbeddingsUsage;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export const EmbeddingsResponseObjectEnum = {
|
|
68
|
+
List: 'list'
|
|
69
|
+
} as const;
|
|
70
|
+
export type EmbeddingsResponseObjectEnum = typeof EmbeddingsResponseObjectEnum[keyof typeof EmbeddingsResponseObjectEnum];
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the EmbeddingsResponse interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfEmbeddingsResponse(value: object): value is EmbeddingsResponse {
|
|
77
|
+
if (!('object' in value) || value['object'] === undefined) return false;
|
|
78
|
+
if (value['object'] !== 'list') return false;
|
|
79
|
+
|
|
80
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
81
|
+
if (!('model' in value) || value['model'] === undefined) return false;
|
|
82
|
+
if (!('usage' in value) || value['usage'] === undefined) return false;
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function EmbeddingsResponseFromJSON(json: any): EmbeddingsResponse {
|
|
87
|
+
return EmbeddingsResponseFromJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function EmbeddingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddingsResponse {
|
|
91
|
+
if (json == null) {
|
|
92
|
+
return json;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'object': json['object'],
|
|
97
|
+
'data': ((json['data'] as Array<any>).map(EmbeddingFromJSON)),
|
|
98
|
+
'model': json['model'],
|
|
99
|
+
'usage': EmbeddingsUsageFromJSON(json['usage']),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function EmbeddingsResponseToJSON(json: any): EmbeddingsResponse {
|
|
104
|
+
return EmbeddingsResponseToJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function EmbeddingsResponseToJSONTyped(value?: EmbeddingsResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
108
|
+
if (value == null) {
|
|
109
|
+
return value;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return {
|
|
113
|
+
|
|
114
|
+
'object': value['object'],
|
|
115
|
+
'data': ((value['data'] as Array<any>).map(EmbeddingToJSON)),
|
|
116
|
+
'model': value['model'],
|
|
117
|
+
'usage': EmbeddingsUsageToJSON(value['usage']),
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
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
|
+
* Embeddings are billed on input tokens only, so this block carries no completion_tokens field — an embeddings call emits none, and total_tokens always equals prompt_tokens.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface EmbeddingsUsage
|
|
20
|
+
*/
|
|
21
|
+
export interface EmbeddingsUsage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof EmbeddingsUsage
|
|
26
|
+
*/
|
|
27
|
+
promptTokens: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof EmbeddingsUsage
|
|
32
|
+
*/
|
|
33
|
+
totalTokens: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the EmbeddingsUsage interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfEmbeddingsUsage(value: object): value is EmbeddingsUsage {
|
|
40
|
+
if ((!('promptTokens' in (value as Record<string, any>)) && !('prompt_tokens' in (value as Record<string, any>))) || ((value as Record<string, any>)['promptTokens'] === undefined && (value as Record<string, any>)['prompt_tokens'] === undefined)) return false;
|
|
41
|
+
if ((!('totalTokens' in (value as Record<string, any>)) && !('total_tokens' in (value as Record<string, any>))) || ((value as Record<string, any>)['totalTokens'] === undefined && (value as Record<string, any>)['total_tokens'] === undefined)) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function EmbeddingsUsageFromJSON(json: any): EmbeddingsUsage {
|
|
46
|
+
return EmbeddingsUsageFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function EmbeddingsUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddingsUsage {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'promptTokens': json['prompt_tokens'],
|
|
56
|
+
'totalTokens': json['total_tokens'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function EmbeddingsUsageToJSON(json: any): EmbeddingsUsage {
|
|
61
|
+
return EmbeddingsUsageToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function EmbeddingsUsageToJSONTyped(value?: EmbeddingsUsage | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'prompt_tokens': value['promptTokens'],
|
|
72
|
+
'total_tokens': value['totalTokens'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/Instance.ts
CHANGED
|
@@ -64,7 +64,7 @@ export interface Instance {
|
|
|
64
64
|
*/
|
|
65
65
|
region: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
68
68
|
* @type {InstanceTierEnum}
|
|
69
69
|
* @memberof Instance
|
|
70
70
|
*/
|
package/src/models/Pricing.ts
CHANGED
|
@@ -56,7 +56,7 @@ export interface Pricing {
|
|
|
56
56
|
*/
|
|
57
57
|
region: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
60
60
|
* @type {PricingTierEnum}
|
|
61
61
|
* @memberof Pricing
|
|
62
62
|
*/
|
package/src/models/index.ts
CHANGED
|
@@ -19,6 +19,11 @@ export * from './CreateRegistryCredentialRequest';
|
|
|
19
19
|
export * from './CreateSshKeyRequest';
|
|
20
20
|
export * from './CreateWebhookEndpointRequest';
|
|
21
21
|
export * from './CryptoDeposit';
|
|
22
|
+
export * from './Embedding';
|
|
23
|
+
export * from './EmbeddingsRequest';
|
|
24
|
+
export * from './EmbeddingsRequestInput';
|
|
25
|
+
export * from './EmbeddingsResponse';
|
|
26
|
+
export * from './EmbeddingsUsage';
|
|
22
27
|
export * from './Environments';
|
|
23
28
|
export * from './FileObject';
|
|
24
29
|
export * from './FineTuningJob';
|