@llumiverse/common 0.25.0 → 0.25.1
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/lib/cjs/capability/azure_foundry.js +160 -0
- package/lib/cjs/capability/azure_foundry.js.map +1 -0
- package/lib/cjs/capability/bedrock.js +158 -0
- package/lib/cjs/capability/bedrock.js.map +1 -0
- package/lib/cjs/capability/openai.js +95 -0
- package/lib/cjs/capability/openai.js.map +1 -0
- package/lib/cjs/capability/vertexai.js +80 -0
- package/lib/cjs/capability/vertexai.js.map +1 -0
- package/lib/cjs/capability.js +82 -0
- package/lib/cjs/capability.js.map +1 -0
- package/lib/cjs/index.js +25 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/options/azure_foundry.js +428 -0
- package/lib/cjs/options/azure_foundry.js.map +1 -0
- package/lib/cjs/options/bedrock.js +462 -0
- package/lib/cjs/options/bedrock.js.map +1 -0
- package/lib/cjs/options/fallback.js +35 -0
- package/lib/cjs/options/fallback.js.map +1 -0
- package/lib/cjs/options/groq.js +37 -0
- package/lib/cjs/options/groq.js.map +1 -0
- package/lib/cjs/options/openai.js +126 -0
- package/lib/cjs/options/openai.js.map +1 -0
- package/lib/cjs/options/vertexai.js +503 -0
- package/lib/cjs/options/vertexai.js.map +1 -0
- package/lib/cjs/options.js +30 -0
- package/lib/cjs/options.js.map +1 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/types.js +195 -0
- package/lib/cjs/types.js.map +1 -0
- package/lib/esm/capability/azure_foundry.js +157 -0
- package/lib/esm/capability/azure_foundry.js.map +1 -0
- package/lib/esm/capability/bedrock.js +155 -0
- package/lib/esm/capability/bedrock.js.map +1 -0
- package/lib/esm/capability/openai.js +92 -0
- package/lib/esm/capability/openai.js.map +1 -0
- package/lib/esm/capability/vertexai.js +77 -0
- package/lib/esm/capability/vertexai.js.map +1 -0
- package/lib/esm/capability.js +77 -0
- package/lib/esm/capability.js.map +1 -0
- package/lib/esm/index.js +9 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/options/azure_foundry.js +424 -0
- package/lib/esm/options/azure_foundry.js.map +1 -0
- package/lib/esm/options/bedrock.js +458 -0
- package/lib/esm/options/bedrock.js.map +1 -0
- package/lib/esm/options/fallback.js +32 -0
- package/lib/esm/options/fallback.js.map +1 -0
- package/lib/esm/options/groq.js +34 -0
- package/lib/esm/options/groq.js.map +1 -0
- package/lib/esm/options/openai.js +123 -0
- package/lib/esm/options/openai.js.map +1 -0
- package/lib/esm/options/vertexai.js +498 -0
- package/lib/esm/options/vertexai.js.map +1 -0
- package/lib/esm/options.js +27 -0
- package/lib/esm/options.js.map +1 -0
- package/lib/esm/types.js +192 -0
- package/lib/esm/types.js.map +1 -0
- package/lib/types/capability/azure_foundry.d.ts +7 -0
- package/lib/types/capability/azure_foundry.d.ts.map +1 -0
- package/lib/types/capability/bedrock.d.ts +7 -0
- package/lib/types/capability/bedrock.d.ts.map +1 -0
- package/lib/types/capability/openai.d.ts +13 -0
- package/lib/types/capability/openai.d.ts.map +1 -0
- package/lib/types/capability/vertexai.d.ts +11 -0
- package/lib/types/capability/vertexai.d.ts.map +1 -0
- package/lib/types/capability.d.ts +5 -0
- package/lib/types/capability.d.ts.map +1 -0
- package/lib/types/index.d.ts +9 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/options/azure_foundry.d.ts +52 -0
- package/lib/types/options/azure_foundry.d.ts.map +1 -0
- package/lib/types/options/bedrock.d.ts +52 -0
- package/lib/types/options/bedrock.d.ts.map +1 -0
- package/lib/types/options/fallback.d.ts +13 -0
- package/lib/types/options/fallback.d.ts.map +1 -0
- package/lib/types/options/groq.d.ts +12 -0
- package/lib/types/options/groq.d.ts.map +1 -0
- package/lib/types/options/openai.d.ts +21 -0
- package/lib/types/options/openai.d.ts.map +1 -0
- package/lib/types/options/vertexai.d.ts +74 -0
- package/lib/types/options/vertexai.d.ts.map +1 -0
- package/lib/types/options.d.ts +3 -0
- package/lib/types/options.d.ts.map +1 -0
- package/lib/types/types.d.ts +442 -0
- package/lib/types/types.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
import { BedrockOptions } from './options/bedrock.js';
|
|
2
|
+
import { TextFallbackOptions } from './options/fallback.js';
|
|
3
|
+
import { GroqOptions } from './options/groq.js';
|
|
4
|
+
import { OpenAiOptions } from './options/openai.js';
|
|
5
|
+
import { VertexAIOptions } from './options/vertexai.js';
|
|
6
|
+
export declare enum Providers {
|
|
7
|
+
openai = "openai",
|
|
8
|
+
openai_compatible = "openai_compatible",
|
|
9
|
+
azure_openai = "azure_openai",
|
|
10
|
+
azure_foundry = "azure_foundry",
|
|
11
|
+
huggingface_ie = "huggingface_ie",
|
|
12
|
+
replicate = "replicate",
|
|
13
|
+
bedrock = "bedrock",
|
|
14
|
+
vertexai = "vertexai",
|
|
15
|
+
togetherai = "togetherai",
|
|
16
|
+
mistralai = "mistralai",
|
|
17
|
+
groq = "groq",
|
|
18
|
+
watsonx = "watsonx",
|
|
19
|
+
xai = "xai"
|
|
20
|
+
}
|
|
21
|
+
export interface ProviderParams {
|
|
22
|
+
id: Providers;
|
|
23
|
+
name: string;
|
|
24
|
+
requiresApiKey: boolean;
|
|
25
|
+
requiresEndpointUrl: boolean;
|
|
26
|
+
endpointPlaceholder?: string;
|
|
27
|
+
supportSearch?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const ProviderList: Record<Providers, ProviderParams>;
|
|
30
|
+
export interface EmbeddingsOptions {
|
|
31
|
+
/**
|
|
32
|
+
* The text to generate the embeddings for. One of text or image is required.
|
|
33
|
+
*/
|
|
34
|
+
text?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The image to generate embeddings for
|
|
37
|
+
*/
|
|
38
|
+
image?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The model to use to generate the embeddings. Optional.
|
|
41
|
+
*/
|
|
42
|
+
model?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface EmbeddingsResult {
|
|
45
|
+
/**
|
|
46
|
+
* The embedding vectors corresponding to the words in the input text.
|
|
47
|
+
*/
|
|
48
|
+
values: number[];
|
|
49
|
+
/**
|
|
50
|
+
* The model used to generate the embeddings.
|
|
51
|
+
*/
|
|
52
|
+
model: string;
|
|
53
|
+
/**
|
|
54
|
+
* Number of tokens of the input text.
|
|
55
|
+
*/
|
|
56
|
+
token_count?: number;
|
|
57
|
+
}
|
|
58
|
+
export interface ResultValidationError {
|
|
59
|
+
code: 'validation_error' | 'json_error' | 'content_policy_violation';
|
|
60
|
+
message: string;
|
|
61
|
+
data?: CompletionResult[];
|
|
62
|
+
}
|
|
63
|
+
export interface BaseResult {
|
|
64
|
+
type: "text" | "json" | "image";
|
|
65
|
+
value: any;
|
|
66
|
+
}
|
|
67
|
+
export interface TextResult extends BaseResult {
|
|
68
|
+
type: "text";
|
|
69
|
+
value: string;
|
|
70
|
+
}
|
|
71
|
+
export interface JsonResult extends BaseResult {
|
|
72
|
+
type: "json";
|
|
73
|
+
}
|
|
74
|
+
export interface ImageResult extends BaseResult {
|
|
75
|
+
type: "image";
|
|
76
|
+
value: string;
|
|
77
|
+
}
|
|
78
|
+
export type CompletionResult = TextResult | JsonResult | ImageResult;
|
|
79
|
+
export interface CompletionChunkObject {
|
|
80
|
+
result: CompletionResult[];
|
|
81
|
+
token_usage?: ExecutionTokenUsage;
|
|
82
|
+
finish_reason?: "stop" | "length" | string;
|
|
83
|
+
/**
|
|
84
|
+
* Tool calls returned by the model during streaming.
|
|
85
|
+
* Each chunk may contain partial tool call information that needs to be aggregated.
|
|
86
|
+
*/
|
|
87
|
+
tool_use?: ToolUse[];
|
|
88
|
+
}
|
|
89
|
+
export interface ToolDefinition {
|
|
90
|
+
name: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
input_schema: {
|
|
93
|
+
type: 'object';
|
|
94
|
+
properties?: JSONSchema | null | undefined;
|
|
95
|
+
[k: string]: unknown;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A tool use instance represents a call to a tool.
|
|
100
|
+
* The id property is used to identify the tool call.
|
|
101
|
+
*/
|
|
102
|
+
export interface ToolUse<ParamsT = JSONObject> {
|
|
103
|
+
id: string;
|
|
104
|
+
tool_name: string;
|
|
105
|
+
tool_input: ParamsT | null;
|
|
106
|
+
/**
|
|
107
|
+
* Gemini thinking models require thought_signature to be passed back with tool results.
|
|
108
|
+
* This preserves the model's reasoning state during multi-turn tool use.
|
|
109
|
+
*/
|
|
110
|
+
thought_signature?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface Completion {
|
|
113
|
+
result: CompletionResult[];
|
|
114
|
+
token_usage?: ExecutionTokenUsage;
|
|
115
|
+
/**
|
|
116
|
+
* Contains the tools from which the model awaits information.
|
|
117
|
+
*/
|
|
118
|
+
tool_use?: ToolUse[];
|
|
119
|
+
/**
|
|
120
|
+
* The finish reason as reported by the model: stop | length or other model specific values
|
|
121
|
+
*/
|
|
122
|
+
finish_reason?: "stop" | "length" | "tool_use" | string;
|
|
123
|
+
/**
|
|
124
|
+
* Set only if a result validation error occurred, otherwise if the result is valid the error field is undefined
|
|
125
|
+
* This can only be set if the result_schema is set and the result could not be parsed as a json or if the result does not match the schema
|
|
126
|
+
*/
|
|
127
|
+
error?: ResultValidationError;
|
|
128
|
+
/**
|
|
129
|
+
* The original response. Only included if the option include_original_response is set to true and the request is made using execute. Not supported when streaming.
|
|
130
|
+
*/
|
|
131
|
+
original_response?: Record<string, any>;
|
|
132
|
+
/**
|
|
133
|
+
* The conversation context. This is an opaque structure that can be passed to the next request to restore the context.
|
|
134
|
+
*/
|
|
135
|
+
conversation?: unknown;
|
|
136
|
+
}
|
|
137
|
+
export interface ExecutionResponse<PromptT = any> extends Completion {
|
|
138
|
+
prompt: PromptT;
|
|
139
|
+
/**
|
|
140
|
+
* The time it took to execute the request in seconds
|
|
141
|
+
*/
|
|
142
|
+
execution_time?: number;
|
|
143
|
+
/**
|
|
144
|
+
* The number of chunks for streamed executions
|
|
145
|
+
*/
|
|
146
|
+
chunks?: number;
|
|
147
|
+
}
|
|
148
|
+
export interface CompletionStream<PromptT = any> extends AsyncIterable<string> {
|
|
149
|
+
completion: ExecutionResponse<PromptT> | undefined;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Minimal logger interface for LLM drivers.
|
|
153
|
+
* Follows pino v10 signature: supports message-only or object-first (never message-first).
|
|
154
|
+
* - Message-only: logger.info("message")
|
|
155
|
+
* - Object-first: logger.info({ data }, "message")
|
|
156
|
+
* - PREVENTS: logger.info("message", { data }) - compile error (objects not allowed in ...args)
|
|
157
|
+
*
|
|
158
|
+
* Additional args must be primitives (string | number | boolean) for string interpolation.
|
|
159
|
+
*/
|
|
160
|
+
export interface Logger {
|
|
161
|
+
debug(msg: string, ...args: (string | number | boolean)[]): void;
|
|
162
|
+
debug<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
163
|
+
info(msg: string, ...args: (string | number | boolean)[]): void;
|
|
164
|
+
info<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
165
|
+
warn(msg: string, ...args: (string | number | boolean)[]): void;
|
|
166
|
+
warn<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
167
|
+
error(msg: string, ...args: (string | number | boolean)[]): void;
|
|
168
|
+
error<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
169
|
+
}
|
|
170
|
+
export interface DriverOptions {
|
|
171
|
+
logger?: Logger | "console";
|
|
172
|
+
}
|
|
173
|
+
export type JSONSchemaTypeName = "string" | "number" | "integer" | "boolean" | "object" | "array" | "null" | "any";
|
|
174
|
+
export type JSONSchemaType = string | number | boolean | JSONSchemaObject | JSONSchemaArray | null;
|
|
175
|
+
export interface JSONSchemaObject {
|
|
176
|
+
[key: string]: JSONSchemaType;
|
|
177
|
+
}
|
|
178
|
+
export interface JSONSchemaArray extends Array<JSONSchemaType> {
|
|
179
|
+
}
|
|
180
|
+
export interface JSONSchema {
|
|
181
|
+
type?: JSONSchemaTypeName | JSONSchemaTypeName[];
|
|
182
|
+
description?: string;
|
|
183
|
+
properties?: Record<string, JSONSchema>;
|
|
184
|
+
required?: string[];
|
|
185
|
+
[k: string]: any;
|
|
186
|
+
}
|
|
187
|
+
export type PromptFormatter<T = any> = (messages: PromptSegment[], schema?: JSONSchema) => T;
|
|
188
|
+
export interface PromptOptions {
|
|
189
|
+
model: string;
|
|
190
|
+
/**
|
|
191
|
+
* A custom formatter to use for format the final model prompt from the input prompt segments.
|
|
192
|
+
* If no one is specified the driver will choose a formatter compatible with the target model
|
|
193
|
+
*/
|
|
194
|
+
format?: PromptFormatter;
|
|
195
|
+
result_schema?: JSONSchema;
|
|
196
|
+
}
|
|
197
|
+
export interface StatelessExecutionOptions extends PromptOptions {
|
|
198
|
+
/**
|
|
199
|
+
* If set to true the original response from the target LLM will be included in the response under the original_response field.
|
|
200
|
+
* This is useful for debugging and for some advanced use cases.
|
|
201
|
+
* It is ignored on streaming requests
|
|
202
|
+
*/
|
|
203
|
+
include_original_response?: boolean;
|
|
204
|
+
model_options?: ModelOptions;
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated This is deprecated. Use CompletionResult.type information instead.
|
|
207
|
+
*/
|
|
208
|
+
output_modality?: Modalities;
|
|
209
|
+
}
|
|
210
|
+
export interface ExecutionOptions extends StatelessExecutionOptions {
|
|
211
|
+
/**
|
|
212
|
+
* Available tools for the request
|
|
213
|
+
*/
|
|
214
|
+
tools?: ToolDefinition[];
|
|
215
|
+
/**
|
|
216
|
+
* This is an opaque structure that provides a conversation context
|
|
217
|
+
* Each driver implementation will return a conversation property in the execution response
|
|
218
|
+
* that can be passed here to restore the context when a new prompt is sent to the model.
|
|
219
|
+
*/
|
|
220
|
+
conversation?: unknown | null;
|
|
221
|
+
/**
|
|
222
|
+
* Number of turns to keep images in conversation history before stripping them.
|
|
223
|
+
* - 0 (default): Strip images immediately after each turn
|
|
224
|
+
* - 1: Keep images for current turn only, strip in next turn
|
|
225
|
+
* - N: Keep images for N turns before stripping
|
|
226
|
+
* - undefined: Same as 0, strip immediately
|
|
227
|
+
*
|
|
228
|
+
* Images are stripped to prevent JSON.stringify corruption (Uint8Array) and reduce storage bloat (base64).
|
|
229
|
+
*/
|
|
230
|
+
stripImagesAfterTurns?: number;
|
|
231
|
+
/**
|
|
232
|
+
* Maximum tokens to keep for text content in tool results.
|
|
233
|
+
* Text exceeding this limit will be truncated with a "[Content truncated...]" marker.
|
|
234
|
+
* - undefined/0: No text truncation (default)
|
|
235
|
+
* - N > 0: Truncate text to approximately N tokens (using ~4 chars/token estimate)
|
|
236
|
+
*/
|
|
237
|
+
stripTextMaxTokens?: number;
|
|
238
|
+
}
|
|
239
|
+
export declare enum SharedOptions {
|
|
240
|
+
max_tokens = "max_tokens",
|
|
241
|
+
temperature = "temperature",
|
|
242
|
+
top_p = "top_p",
|
|
243
|
+
top_k = "top_k",
|
|
244
|
+
presence_penalty = "presence_penalty",
|
|
245
|
+
frequency_penalty = "frequency_penalty",
|
|
246
|
+
stop_sequence = "stop_sequence",
|
|
247
|
+
seed = "seed",
|
|
248
|
+
number_of_images = "number_of_images"
|
|
249
|
+
}
|
|
250
|
+
export declare enum OptionType {
|
|
251
|
+
numeric = "numeric",
|
|
252
|
+
enum = "enum",
|
|
253
|
+
boolean = "boolean",
|
|
254
|
+
string_list = "string_list"
|
|
255
|
+
}
|
|
256
|
+
export type ModelOptions = TextFallbackOptions | VertexAIOptions | BedrockOptions | OpenAiOptions | GroqOptions;
|
|
257
|
+
export interface ModelOptionsInfo {
|
|
258
|
+
options: ModelOptionInfoItem[];
|
|
259
|
+
_option_id: string;
|
|
260
|
+
}
|
|
261
|
+
export type ModelOptionInfoItem = NumericOptionInfo | EnumOptionInfo | BooleanOptionInfo | StringListOptionInfo;
|
|
262
|
+
interface OptionInfoPrototype {
|
|
263
|
+
type: OptionType;
|
|
264
|
+
name: string;
|
|
265
|
+
description?: string;
|
|
266
|
+
refresh?: boolean;
|
|
267
|
+
}
|
|
268
|
+
export interface NumericOptionInfo extends OptionInfoPrototype {
|
|
269
|
+
type: OptionType.numeric;
|
|
270
|
+
value?: number;
|
|
271
|
+
min?: number;
|
|
272
|
+
max?: number;
|
|
273
|
+
step?: number;
|
|
274
|
+
integer?: boolean;
|
|
275
|
+
default?: number;
|
|
276
|
+
}
|
|
277
|
+
export interface EnumOptionInfo extends OptionInfoPrototype {
|
|
278
|
+
type: OptionType.enum;
|
|
279
|
+
value?: string;
|
|
280
|
+
enum: Record<string, string>;
|
|
281
|
+
default?: string;
|
|
282
|
+
}
|
|
283
|
+
export interface BooleanOptionInfo extends OptionInfoPrototype {
|
|
284
|
+
type: OptionType.boolean;
|
|
285
|
+
value?: boolean;
|
|
286
|
+
default?: boolean;
|
|
287
|
+
}
|
|
288
|
+
export interface StringListOptionInfo extends OptionInfoPrototype {
|
|
289
|
+
type: OptionType.string_list;
|
|
290
|
+
value?: string[];
|
|
291
|
+
default?: string[];
|
|
292
|
+
}
|
|
293
|
+
export declare enum PromptRole {
|
|
294
|
+
safety = "safety",
|
|
295
|
+
system = "system",
|
|
296
|
+
user = "user",
|
|
297
|
+
assistant = "assistant",
|
|
298
|
+
negative = "negative",
|
|
299
|
+
mask = "mask",
|
|
300
|
+
/**
|
|
301
|
+
* Used to send the response of a tool
|
|
302
|
+
*/
|
|
303
|
+
tool = "tool"
|
|
304
|
+
}
|
|
305
|
+
export interface PromptSegment {
|
|
306
|
+
role: PromptRole;
|
|
307
|
+
content: string;
|
|
308
|
+
/**
|
|
309
|
+
* The tool use id if the segment is a tool response
|
|
310
|
+
*/
|
|
311
|
+
tool_use_id?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Gemini thinking models require thought_signature to be passed back with tool results.
|
|
314
|
+
* This should be copied from the ToolUse.thought_signature when sending tool responses.
|
|
315
|
+
*/
|
|
316
|
+
thought_signature?: string;
|
|
317
|
+
files?: DataSource[];
|
|
318
|
+
}
|
|
319
|
+
export interface ExecutionTokenUsage {
|
|
320
|
+
prompt?: number;
|
|
321
|
+
result?: number;
|
|
322
|
+
total?: number;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @deprecated This is deprecated. Use CompletionResult.type information instead.
|
|
326
|
+
*/
|
|
327
|
+
export declare enum Modalities {
|
|
328
|
+
text = "text",
|
|
329
|
+
image = "image"
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Represents the output and input modalities a model can support
|
|
333
|
+
*/
|
|
334
|
+
export interface ModelModalities {
|
|
335
|
+
text?: boolean;
|
|
336
|
+
image?: boolean;
|
|
337
|
+
video?: boolean;
|
|
338
|
+
audio?: boolean;
|
|
339
|
+
embed?: boolean;
|
|
340
|
+
}
|
|
341
|
+
export interface ModelCapabilities {
|
|
342
|
+
input: ModelModalities;
|
|
343
|
+
output: ModelModalities;
|
|
344
|
+
tool_support?: boolean;
|
|
345
|
+
tool_support_streaming?: boolean;
|
|
346
|
+
}
|
|
347
|
+
export interface AIModel<ProviderKeys = string> {
|
|
348
|
+
id: string;
|
|
349
|
+
name: string;
|
|
350
|
+
provider: ProviderKeys;
|
|
351
|
+
description?: string;
|
|
352
|
+
version?: string;
|
|
353
|
+
type?: ModelType;
|
|
354
|
+
tags?: string[];
|
|
355
|
+
owner?: string;
|
|
356
|
+
status?: AIModelStatus;
|
|
357
|
+
can_stream?: boolean;
|
|
358
|
+
is_custom?: boolean;
|
|
359
|
+
is_multimodal?: boolean;
|
|
360
|
+
input_modalities?: string[];
|
|
361
|
+
output_modalities?: string[];
|
|
362
|
+
tool_support?: boolean;
|
|
363
|
+
environment?: string;
|
|
364
|
+
}
|
|
365
|
+
export declare enum AIModelStatus {
|
|
366
|
+
Available = "available",
|
|
367
|
+
Pending = "pending",
|
|
368
|
+
Stopped = "stopped",
|
|
369
|
+
Unavailable = "unavailable",
|
|
370
|
+
Unknown = "unknown",
|
|
371
|
+
Legacy = "legacy"
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* payload to list available models for an environment
|
|
375
|
+
* @param environmentId id of the environment
|
|
376
|
+
* @param query text to search for in model name/description
|
|
377
|
+
* @param type type of the model
|
|
378
|
+
* @param tags tags for searching
|
|
379
|
+
*/
|
|
380
|
+
export interface ModelSearchPayload {
|
|
381
|
+
text: string;
|
|
382
|
+
type?: ModelType;
|
|
383
|
+
tags?: string[];
|
|
384
|
+
owner?: string;
|
|
385
|
+
}
|
|
386
|
+
export declare enum ModelType {
|
|
387
|
+
Classifier = "classifier",
|
|
388
|
+
Regressor = "regressor",
|
|
389
|
+
Clustering = "clustering",
|
|
390
|
+
AnomalyDetection = "anomaly-detection",
|
|
391
|
+
TimeSeries = "time-series",
|
|
392
|
+
Text = "text",
|
|
393
|
+
Image = "image",
|
|
394
|
+
Audio = "audio",
|
|
395
|
+
Video = "video",
|
|
396
|
+
Embedding = "embedding",
|
|
397
|
+
Chat = "chat",
|
|
398
|
+
Code = "code",
|
|
399
|
+
NLP = "nlp",
|
|
400
|
+
MultiModal = "multi-modal",
|
|
401
|
+
Test = "test",
|
|
402
|
+
Other = "other",
|
|
403
|
+
Unknown = "unknown"
|
|
404
|
+
}
|
|
405
|
+
export interface DataSource {
|
|
406
|
+
name: string;
|
|
407
|
+
mime_type: string;
|
|
408
|
+
getStream(): Promise<ReadableStream<Uint8Array | string>>;
|
|
409
|
+
getURL(): Promise<string>;
|
|
410
|
+
}
|
|
411
|
+
export interface TrainingOptions {
|
|
412
|
+
name: string;
|
|
413
|
+
model: string;
|
|
414
|
+
params?: JSONObject;
|
|
415
|
+
}
|
|
416
|
+
export interface TrainingPromptOptions {
|
|
417
|
+
segments: PromptSegment[];
|
|
418
|
+
completion: CompletionResult[];
|
|
419
|
+
model: string;
|
|
420
|
+
schema?: JSONSchema;
|
|
421
|
+
}
|
|
422
|
+
export declare enum TrainingJobStatus {
|
|
423
|
+
running = "running",
|
|
424
|
+
succeeded = "succeeded",
|
|
425
|
+
failed = "failed",
|
|
426
|
+
cancelled = "cancelled"
|
|
427
|
+
}
|
|
428
|
+
export interface TrainingJob {
|
|
429
|
+
id: string;
|
|
430
|
+
status: TrainingJobStatus;
|
|
431
|
+
details?: string;
|
|
432
|
+
model?: string;
|
|
433
|
+
}
|
|
434
|
+
export type JSONPrimitive = string | number | boolean | null;
|
|
435
|
+
export type JSONArray = JSONValue[];
|
|
436
|
+
export type JSONObject = {
|
|
437
|
+
[key: string]: JSONValue;
|
|
438
|
+
};
|
|
439
|
+
export type JSONComposite = JSONArray | JSONObject;
|
|
440
|
+
export type JSONValue = JSONPrimitive | JSONComposite;
|
|
441
|
+
export {};
|
|
442
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;CACd;AAED,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,SAAS,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B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