@llumiverse/common 0.23.0-dev.20251121 → 0.23.0-dev.20251201
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/package.json +1 -1
- package/src/capability/vertexai.ts +3 -0
- package/src/options/vertexai.ts +32 -4
- package/src/types.ts +8 -1
- package/lib/cjs/capability/azure_foundry.js +0 -159
- package/lib/cjs/capability/azure_foundry.js.map +0 -1
- package/lib/cjs/capability/bedrock.js +0 -191
- package/lib/cjs/capability/bedrock.js.map +0 -1
- package/lib/cjs/capability/openai.js +0 -124
- package/lib/cjs/capability/openai.js.map +0 -1
- package/lib/cjs/capability/vertexai.js +0 -98
- package/lib/cjs/capability/vertexai.js.map +0 -1
- package/lib/cjs/capability.js +0 -64
- package/lib/cjs/capability.js.map +0 -1
- package/lib/cjs/index.js +0 -25
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/options/azure_foundry.js +0 -428
- package/lib/cjs/options/azure_foundry.js.map +0 -1
- package/lib/cjs/options/bedrock.js +0 -462
- package/lib/cjs/options/bedrock.js.map +0 -1
- package/lib/cjs/options/fallback.js +0 -35
- package/lib/cjs/options/fallback.js.map +0 -1
- package/lib/cjs/options/groq.js +0 -37
- package/lib/cjs/options/groq.js.map +0 -1
- package/lib/cjs/options/openai.js +0 -126
- package/lib/cjs/options/openai.js.map +0 -1
- package/lib/cjs/options/vertexai.js +0 -478
- package/lib/cjs/options/vertexai.js.map +0 -1
- package/lib/cjs/options.js +0 -30
- package/lib/cjs/options.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/types.js +0 -175
- package/lib/cjs/types.js.map +0 -1
- package/lib/esm/capability/azure_foundry.js +0 -156
- package/lib/esm/capability/azure_foundry.js.map +0 -1
- package/lib/esm/capability/bedrock.js +0 -188
- package/lib/esm/capability/bedrock.js.map +0 -1
- package/lib/esm/capability/openai.js +0 -121
- package/lib/esm/capability/openai.js.map +0 -1
- package/lib/esm/capability/vertexai.js +0 -95
- package/lib/esm/capability/vertexai.js.map +0 -1
- package/lib/esm/capability.js +0 -59
- package/lib/esm/capability.js.map +0 -1
- package/lib/esm/index.js +0 -9
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/options/azure_foundry.js +0 -424
- package/lib/esm/options/azure_foundry.js.map +0 -1
- package/lib/esm/options/bedrock.js +0 -458
- package/lib/esm/options/bedrock.js.map +0 -1
- package/lib/esm/options/fallback.js +0 -32
- package/lib/esm/options/fallback.js.map +0 -1
- package/lib/esm/options/groq.js +0 -34
- package/lib/esm/options/groq.js.map +0 -1
- package/lib/esm/options/openai.js +0 -123
- package/lib/esm/options/openai.js.map +0 -1
- package/lib/esm/options/vertexai.js +0 -473
- package/lib/esm/options/vertexai.js.map +0 -1
- package/lib/esm/options.js +0 -27
- package/lib/esm/options.js.map +0 -1
- package/lib/esm/types.js +0 -172
- package/lib/esm/types.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/capability/azure_foundry.d.ts +0 -6
- package/lib/types/capability/azure_foundry.d.ts.map +0 -1
- package/lib/types/capability/bedrock.d.ts +0 -6
- package/lib/types/capability/bedrock.d.ts.map +0 -1
- package/lib/types/capability/openai.d.ts +0 -10
- package/lib/types/capability/openai.d.ts.map +0 -1
- package/lib/types/capability/vertexai.d.ts +0 -10
- package/lib/types/capability/vertexai.d.ts.map +0 -1
- package/lib/types/capability.d.ts +0 -4
- package/lib/types/capability.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -8
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/options/azure_foundry.d.ts +0 -51
- package/lib/types/options/azure_foundry.d.ts.map +0 -1
- package/lib/types/options/bedrock.d.ts +0 -51
- package/lib/types/options/bedrock.d.ts.map +0 -1
- package/lib/types/options/fallback.d.ts +0 -12
- package/lib/types/options/fallback.d.ts.map +0 -1
- package/lib/types/options/groq.d.ts +0 -11
- package/lib/types/options/groq.d.ts.map +0 -1
- package/lib/types/options/openai.d.ts +0 -20
- package/lib/types/options/openai.d.ts.map +0 -1
- package/lib/types/options/vertexai.d.ts +0 -67
- package/lib/types/options/vertexai.d.ts.map +0 -1
- package/lib/types/options.d.ts +0 -2
- package/lib/types/options.d.ts.map +0 -1
- package/lib/types/types.d.ts +0 -401
- package/lib/types/types.d.ts.map +0 -1
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ModelOptionsInfo, ModelOptions } from "../types.js";
|
|
2
|
-
export type VertexAIOptions = ImagenOptions | VertexAIClaudeOptions | VertexAIGeminiOptions;
|
|
3
|
-
export declare enum ImagenTaskType {
|
|
4
|
-
TEXT_IMAGE = "TEXT_IMAGE",
|
|
5
|
-
EDIT_MODE_INPAINT_REMOVAL = "EDIT_MODE_INPAINT_REMOVAL",
|
|
6
|
-
EDIT_MODE_INPAINT_INSERTION = "EDIT_MODE_INPAINT_INSERTION",
|
|
7
|
-
EDIT_MODE_BGSWAP = "EDIT_MODE_BGSWAP",
|
|
8
|
-
EDIT_MODE_OUTPAINT = "EDIT_MODE_OUTPAINT",
|
|
9
|
-
CUSTOMIZATION_SUBJECT = "CUSTOMIZATION_SUBJECT",
|
|
10
|
-
CUSTOMIZATION_STYLE = "CUSTOMIZATION_STYLE",
|
|
11
|
-
CUSTOMIZATION_CONTROLLED = "CUSTOMIZATION_CONTROLLED",
|
|
12
|
-
CUSTOMIZATION_INSTRUCT = "CUSTOMIZATION_INSTRUCT"
|
|
13
|
-
}
|
|
14
|
-
export declare enum ImagenMaskMode {
|
|
15
|
-
MASK_MODE_USER_PROVIDED = "MASK_MODE_USER_PROVIDED",
|
|
16
|
-
MASK_MODE_BACKGROUND = "MASK_MODE_BACKGROUND",
|
|
17
|
-
MASK_MODE_FOREGROUND = "MASK_MODE_FOREGROUND",
|
|
18
|
-
MASK_MODE_SEMANTIC = "MASK_MODE_SEMANTIC"
|
|
19
|
-
}
|
|
20
|
-
export interface ImagenOptions {
|
|
21
|
-
_option_id: "vertexai-imagen";
|
|
22
|
-
number_of_images?: number;
|
|
23
|
-
seed?: number;
|
|
24
|
-
person_generation?: "dont_allow" | "allow_adults" | "allow_all";
|
|
25
|
-
safety_setting?: "block_none" | "block_only_high" | "block_medium_and_above" | "block_low_and_above";
|
|
26
|
-
image_file_type?: "image/jpeg" | "image/png";
|
|
27
|
-
jpeg_compression_quality?: number;
|
|
28
|
-
aspect_ratio?: "1:1" | "4:3" | "3:4" | "16:9" | "9:16";
|
|
29
|
-
add_watermark?: boolean;
|
|
30
|
-
enhance_prompt?: boolean;
|
|
31
|
-
edit_mode?: ImagenTaskType;
|
|
32
|
-
guidance_scale?: number;
|
|
33
|
-
edit_steps?: number;
|
|
34
|
-
mask_mode?: ImagenMaskMode;
|
|
35
|
-
mask_dilation?: number;
|
|
36
|
-
mask_class?: number[];
|
|
37
|
-
controlType?: "CONTROL_TYPE_FACE_MESH" | "CONTROL_TYPE_CANNY" | "CONTROL_TYPE_SCRIBBLE";
|
|
38
|
-
controlImageComputation?: boolean;
|
|
39
|
-
subjectType?: "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_PRODUCT" | "SUBJECT_TYPE_DEFAULT";
|
|
40
|
-
}
|
|
41
|
-
export interface VertexAIClaudeOptions {
|
|
42
|
-
_option_id: "vertexai-claude";
|
|
43
|
-
max_tokens?: number;
|
|
44
|
-
temperature?: number;
|
|
45
|
-
top_p?: number;
|
|
46
|
-
top_k?: number;
|
|
47
|
-
stop_sequence?: string[];
|
|
48
|
-
thinking_mode?: boolean;
|
|
49
|
-
thinking_budget_tokens?: number;
|
|
50
|
-
include_thoughts?: boolean;
|
|
51
|
-
}
|
|
52
|
-
export interface VertexAIGeminiOptions {
|
|
53
|
-
_option_id: "vertexai-gemini";
|
|
54
|
-
max_tokens?: number;
|
|
55
|
-
temperature?: number;
|
|
56
|
-
top_p?: number;
|
|
57
|
-
top_k?: number;
|
|
58
|
-
stop_sequence?: string[];
|
|
59
|
-
presence_penalty?: number;
|
|
60
|
-
frequency_penalty?: number;
|
|
61
|
-
seed?: number;
|
|
62
|
-
include_thoughts?: boolean;
|
|
63
|
-
thinking_budget_tokens?: number;
|
|
64
|
-
image_aspect_ratio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "9:16" | "16:9" | "21:9";
|
|
65
|
-
}
|
|
66
|
-
export declare function getVertexAiOptions(model: string, option?: ModelOptions): ModelOptionsInfo;
|
|
67
|
-
export declare function getMaxTokensLimitVertexAi(model: string): number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vertexai.d.ts","sourceRoot":"","sources":["../../../src/options/vertexai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkD,YAAY,EAAE,MAAM,aAAa,CAAC;AAI7G,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AAE5F,oBAAY,cAAc;IACtB,UAAU,eAAe;IACzB,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;IAC3D,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAC3C,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;CACpD;AAED,oBAAY,cAAc;IACtB,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;IAC7C,kBAAkB,uBAAuB;CAC5C;AAED,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,iBAAiB,CAAA;IAG7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,YAAY,GAAG,cAAc,GAAG,WAAW,CAAC;IAChE,cAAc,CAAC,EAAE,YAAY,GAAG,iBAAiB,GAAG,wBAAwB,GAAG,qBAAqB,CAAC;IACrG,eAAe,CAAC,EAAE,YAAY,GAAG,WAAW,CAAC;IAC7C,wBAAwB,CAAC,EAA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AAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACzF;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAWzF;AA6cD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAW/D"}
|
package/lib/types/options.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvE,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAkBjH"}
|
package/lib/types/types.d.ts
DELETED
|
@@ -1,401 +0,0 @@
|
|
|
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
|
-
azure_openai = "azure_openai",
|
|
9
|
-
azure_foundry = "azure_foundry",
|
|
10
|
-
huggingface_ie = "huggingface_ie",
|
|
11
|
-
replicate = "replicate",
|
|
12
|
-
bedrock = "bedrock",
|
|
13
|
-
vertexai = "vertexai",
|
|
14
|
-
togetherai = "togetherai",
|
|
15
|
-
mistralai = "mistralai",
|
|
16
|
-
groq = "groq",
|
|
17
|
-
watsonx = "watsonx"
|
|
18
|
-
}
|
|
19
|
-
export interface ProviderParams {
|
|
20
|
-
id: Providers;
|
|
21
|
-
name: string;
|
|
22
|
-
requiresApiKey: boolean;
|
|
23
|
-
requiresEndpointUrl: boolean;
|
|
24
|
-
endpointPlaceholder?: string;
|
|
25
|
-
supportSearch?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare const ProviderList: Record<Providers, ProviderParams>;
|
|
28
|
-
export interface EmbeddingsOptions {
|
|
29
|
-
/**
|
|
30
|
-
* The text to generate the embeddings for. One of text or image is required.
|
|
31
|
-
*/
|
|
32
|
-
text?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The image to generate embeddings for
|
|
35
|
-
*/
|
|
36
|
-
image?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The model to use to generate the embeddings. Optional.
|
|
39
|
-
*/
|
|
40
|
-
model?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface EmbeddingsResult {
|
|
43
|
-
/**
|
|
44
|
-
* The embedding vectors corresponding to the words in the input text.
|
|
45
|
-
*/
|
|
46
|
-
values: number[];
|
|
47
|
-
/**
|
|
48
|
-
* The model used to generate the embeddings.
|
|
49
|
-
*/
|
|
50
|
-
model: string;
|
|
51
|
-
/**
|
|
52
|
-
* Number of tokens of the input text.
|
|
53
|
-
*/
|
|
54
|
-
token_count?: number;
|
|
55
|
-
}
|
|
56
|
-
export interface ResultValidationError {
|
|
57
|
-
code: 'validation_error' | 'json_error' | 'content_policy_violation';
|
|
58
|
-
message: string;
|
|
59
|
-
data?: CompletionResult[];
|
|
60
|
-
}
|
|
61
|
-
export interface BaseResult {
|
|
62
|
-
type: "text" | "json" | "image";
|
|
63
|
-
value: any;
|
|
64
|
-
}
|
|
65
|
-
export interface TextResult extends BaseResult {
|
|
66
|
-
type: "text";
|
|
67
|
-
value: string;
|
|
68
|
-
}
|
|
69
|
-
export interface JsonResult extends BaseResult {
|
|
70
|
-
type: "json";
|
|
71
|
-
}
|
|
72
|
-
export interface ImageResult extends BaseResult {
|
|
73
|
-
type: "image";
|
|
74
|
-
value: string;
|
|
75
|
-
}
|
|
76
|
-
export type CompletionResult = TextResult | JsonResult | ImageResult;
|
|
77
|
-
export interface CompletionChunkObject {
|
|
78
|
-
result: CompletionResult[];
|
|
79
|
-
token_usage?: ExecutionTokenUsage;
|
|
80
|
-
finish_reason?: "stop" | "length" | string;
|
|
81
|
-
}
|
|
82
|
-
export interface ToolDefinition {
|
|
83
|
-
name: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
input_schema: {
|
|
86
|
-
type: 'object';
|
|
87
|
-
properties?: JSONSchema | null | undefined;
|
|
88
|
-
[k: string]: unknown;
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* A tool use instance represents a call to a tool.
|
|
93
|
-
* The id property is used to identify the tool call.
|
|
94
|
-
*/
|
|
95
|
-
export interface ToolUse<ParamsT = JSONObject> {
|
|
96
|
-
id: string;
|
|
97
|
-
tool_name: string;
|
|
98
|
-
tool_input: ParamsT | null;
|
|
99
|
-
}
|
|
100
|
-
export interface Completion {
|
|
101
|
-
result: CompletionResult[];
|
|
102
|
-
token_usage?: ExecutionTokenUsage;
|
|
103
|
-
/**
|
|
104
|
-
* Contains the tools from which the model awaits information.
|
|
105
|
-
*/
|
|
106
|
-
tool_use?: ToolUse[];
|
|
107
|
-
/**
|
|
108
|
-
* The finish reason as reported by the model: stop | length or other model specific values
|
|
109
|
-
*/
|
|
110
|
-
finish_reason?: "stop" | "length" | "tool_use" | string;
|
|
111
|
-
/**
|
|
112
|
-
* Set only if a result validation error occurred, otherwise if the result is valid the error field is undefined
|
|
113
|
-
* 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
|
|
114
|
-
*/
|
|
115
|
-
error?: ResultValidationError;
|
|
116
|
-
/**
|
|
117
|
-
* 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.
|
|
118
|
-
*/
|
|
119
|
-
original_response?: Record<string, any>;
|
|
120
|
-
/**
|
|
121
|
-
* The conversation context. This is an opaque structure that can be passed to the next request to restore the context.
|
|
122
|
-
*/
|
|
123
|
-
conversation?: unknown;
|
|
124
|
-
}
|
|
125
|
-
export interface ExecutionResponse<PromptT = any> extends Completion {
|
|
126
|
-
prompt: PromptT;
|
|
127
|
-
/**
|
|
128
|
-
* The time it took to execute the request in seconds
|
|
129
|
-
*/
|
|
130
|
-
execution_time?: number;
|
|
131
|
-
/**
|
|
132
|
-
* The number of chunks for streamed executions
|
|
133
|
-
*/
|
|
134
|
-
chunks?: number;
|
|
135
|
-
}
|
|
136
|
-
export interface CompletionStream<PromptT = any> extends AsyncIterable<string> {
|
|
137
|
-
completion: ExecutionResponse<PromptT> | undefined;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Minimal logger interface for LLM drivers.
|
|
141
|
-
* Follows pino v10 signature: supports message-only or object-first (never message-first).
|
|
142
|
-
* - Message-only: logger.info("message")
|
|
143
|
-
* - Object-first: logger.info({ data }, "message")
|
|
144
|
-
* - PREVENTS: logger.info("message", { data }) - compile error (objects not allowed in ...args)
|
|
145
|
-
*
|
|
146
|
-
* Additional args must be primitives (string | number | boolean) for string interpolation.
|
|
147
|
-
*/
|
|
148
|
-
export interface Logger {
|
|
149
|
-
debug(msg: string, ...args: (string | number | boolean)[]): void;
|
|
150
|
-
debug<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
151
|
-
info(msg: string, ...args: (string | number | boolean)[]): void;
|
|
152
|
-
info<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
153
|
-
warn(msg: string, ...args: (string | number | boolean)[]): void;
|
|
154
|
-
warn<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
155
|
-
error(msg: string, ...args: (string | number | boolean)[]): void;
|
|
156
|
-
error<T>(obj: T, msg?: T extends string ? never : string, ...args: (string | number | boolean)[]): void;
|
|
157
|
-
}
|
|
158
|
-
export interface DriverOptions {
|
|
159
|
-
logger?: Logger | "console";
|
|
160
|
-
}
|
|
161
|
-
export type JSONSchemaTypeName = "string" | "number" | "integer" | "boolean" | "object" | "array" | "null" | "any";
|
|
162
|
-
export type JSONSchemaType = string | number | boolean | JSONSchemaObject | JSONSchemaArray | null;
|
|
163
|
-
export interface JSONSchemaObject {
|
|
164
|
-
[key: string]: JSONSchemaType;
|
|
165
|
-
}
|
|
166
|
-
export interface JSONSchemaArray extends Array<JSONSchemaType> {
|
|
167
|
-
}
|
|
168
|
-
export interface JSONSchema {
|
|
169
|
-
type?: JSONSchemaTypeName | JSONSchemaTypeName[];
|
|
170
|
-
description?: string;
|
|
171
|
-
properties?: Record<string, JSONSchema>;
|
|
172
|
-
required?: string[];
|
|
173
|
-
[k: string]: any;
|
|
174
|
-
}
|
|
175
|
-
export type PromptFormatter<T = any> = (messages: PromptSegment[], schema?: JSONSchema) => T;
|
|
176
|
-
export interface PromptOptions {
|
|
177
|
-
model: string;
|
|
178
|
-
/**
|
|
179
|
-
* A custom formatter to use for format the final model prompt from the input prompt segments.
|
|
180
|
-
* If no one is specified the driver will choose a formatter compatible with the target model
|
|
181
|
-
*/
|
|
182
|
-
format?: PromptFormatter;
|
|
183
|
-
result_schema?: JSONSchema;
|
|
184
|
-
}
|
|
185
|
-
export interface StatelessExecutionOptions extends PromptOptions {
|
|
186
|
-
/**
|
|
187
|
-
* If set to true the original response from the target LLM will be included in the response under the original_response field.
|
|
188
|
-
* This is useful for debugging and for some advanced use cases.
|
|
189
|
-
* It is ignored on streaming requests
|
|
190
|
-
*/
|
|
191
|
-
include_original_response?: boolean;
|
|
192
|
-
model_options?: ModelOptions;
|
|
193
|
-
output_modality: Modalities;
|
|
194
|
-
}
|
|
195
|
-
export interface ExecutionOptions extends StatelessExecutionOptions {
|
|
196
|
-
/**
|
|
197
|
-
* Available tools for the request
|
|
198
|
-
*/
|
|
199
|
-
tools?: ToolDefinition[];
|
|
200
|
-
/**
|
|
201
|
-
* This is an opaque structure that provides a conversation context
|
|
202
|
-
* Each driver implementation will return a conversation property in the execution response
|
|
203
|
-
* that can be passed here to restore the context when a new prompt is sent to the model.
|
|
204
|
-
*/
|
|
205
|
-
conversation?: unknown | null;
|
|
206
|
-
}
|
|
207
|
-
export declare enum SharedOptions {
|
|
208
|
-
max_tokens = "max_tokens",
|
|
209
|
-
temperature = "temperature",
|
|
210
|
-
top_p = "top_p",
|
|
211
|
-
top_k = "top_k",
|
|
212
|
-
presence_penalty = "presence_penalty",
|
|
213
|
-
frequency_penalty = "frequency_penalty",
|
|
214
|
-
stop_sequence = "stop_sequence",
|
|
215
|
-
seed = "seed",
|
|
216
|
-
number_of_images = "number_of_images"
|
|
217
|
-
}
|
|
218
|
-
export declare enum OptionType {
|
|
219
|
-
numeric = "numeric",
|
|
220
|
-
enum = "enum",
|
|
221
|
-
boolean = "boolean",
|
|
222
|
-
string_list = "string_list"
|
|
223
|
-
}
|
|
224
|
-
export type ModelOptions = TextFallbackOptions | VertexAIOptions | BedrockOptions | OpenAiOptions | GroqOptions;
|
|
225
|
-
export interface ModelOptionsInfo {
|
|
226
|
-
options: ModelOptionInfoItem[];
|
|
227
|
-
_option_id: string;
|
|
228
|
-
}
|
|
229
|
-
export type ModelOptionInfoItem = NumericOptionInfo | EnumOptionInfo | BooleanOptionInfo | StringListOptionInfo;
|
|
230
|
-
interface OptionInfoPrototype {
|
|
231
|
-
type: OptionType;
|
|
232
|
-
name: string;
|
|
233
|
-
description?: string;
|
|
234
|
-
refresh?: boolean;
|
|
235
|
-
}
|
|
236
|
-
export interface NumericOptionInfo extends OptionInfoPrototype {
|
|
237
|
-
type: OptionType.numeric;
|
|
238
|
-
value?: number;
|
|
239
|
-
min?: number;
|
|
240
|
-
max?: number;
|
|
241
|
-
step?: number;
|
|
242
|
-
integer?: boolean;
|
|
243
|
-
default?: number;
|
|
244
|
-
}
|
|
245
|
-
export interface EnumOptionInfo extends OptionInfoPrototype {
|
|
246
|
-
type: OptionType.enum;
|
|
247
|
-
value?: string;
|
|
248
|
-
enum: Record<string, string>;
|
|
249
|
-
default?: string;
|
|
250
|
-
}
|
|
251
|
-
export interface BooleanOptionInfo extends OptionInfoPrototype {
|
|
252
|
-
type: OptionType.boolean;
|
|
253
|
-
value?: boolean;
|
|
254
|
-
default?: boolean;
|
|
255
|
-
}
|
|
256
|
-
export interface StringListOptionInfo extends OptionInfoPrototype {
|
|
257
|
-
type: OptionType.string_list;
|
|
258
|
-
value?: string[];
|
|
259
|
-
default?: string[];
|
|
260
|
-
}
|
|
261
|
-
export declare enum PromptRole {
|
|
262
|
-
safety = "safety",
|
|
263
|
-
system = "system",
|
|
264
|
-
user = "user",
|
|
265
|
-
assistant = "assistant",
|
|
266
|
-
negative = "negative",
|
|
267
|
-
mask = "mask",
|
|
268
|
-
/**
|
|
269
|
-
* Used to send the response of a tool
|
|
270
|
-
*/
|
|
271
|
-
tool = "tool"
|
|
272
|
-
}
|
|
273
|
-
export interface PromptSegment {
|
|
274
|
-
role: PromptRole;
|
|
275
|
-
content: string;
|
|
276
|
-
/**
|
|
277
|
-
* The tool use id if the segment is a tool response
|
|
278
|
-
*/
|
|
279
|
-
tool_use_id?: string;
|
|
280
|
-
files?: DataSource[];
|
|
281
|
-
}
|
|
282
|
-
export interface ExecutionTokenUsage {
|
|
283
|
-
prompt?: number;
|
|
284
|
-
result?: number;
|
|
285
|
-
total?: number;
|
|
286
|
-
}
|
|
287
|
-
export declare enum Modalities {
|
|
288
|
-
text = "text",
|
|
289
|
-
image = "image"
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Represents the output and input modalities a model can support
|
|
293
|
-
*/
|
|
294
|
-
export interface ModelModalities {
|
|
295
|
-
text?: boolean;
|
|
296
|
-
image?: boolean;
|
|
297
|
-
video?: boolean;
|
|
298
|
-
audio?: boolean;
|
|
299
|
-
embed?: boolean;
|
|
300
|
-
}
|
|
301
|
-
export interface ModelCapabilities {
|
|
302
|
-
input: ModelModalities;
|
|
303
|
-
output: ModelModalities;
|
|
304
|
-
tool_support?: boolean;
|
|
305
|
-
tool_support_streaming?: boolean;
|
|
306
|
-
}
|
|
307
|
-
export interface AIModel<ProviderKeys = string> {
|
|
308
|
-
id: string;
|
|
309
|
-
name: string;
|
|
310
|
-
provider: ProviderKeys;
|
|
311
|
-
description?: string;
|
|
312
|
-
version?: string;
|
|
313
|
-
type?: ModelType;
|
|
314
|
-
tags?: string[];
|
|
315
|
-
owner?: string;
|
|
316
|
-
status?: AIModelStatus;
|
|
317
|
-
can_stream?: boolean;
|
|
318
|
-
is_custom?: boolean;
|
|
319
|
-
is_multimodal?: boolean;
|
|
320
|
-
input_modalities?: string[];
|
|
321
|
-
output_modalities?: string[];
|
|
322
|
-
tool_support?: boolean;
|
|
323
|
-
environment?: string;
|
|
324
|
-
}
|
|
325
|
-
export declare enum AIModelStatus {
|
|
326
|
-
Available = "available",
|
|
327
|
-
Pending = "pending",
|
|
328
|
-
Stopped = "stopped",
|
|
329
|
-
Unavailable = "unavailable",
|
|
330
|
-
Unknown = "unknown",
|
|
331
|
-
Legacy = "legacy"
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* payload to list available models for an environment
|
|
335
|
-
* @param environmentId id of the environment
|
|
336
|
-
* @param query text to search for in model name/description
|
|
337
|
-
* @param type type of the model
|
|
338
|
-
* @param tags tags for searching
|
|
339
|
-
*/
|
|
340
|
-
export interface ModelSearchPayload {
|
|
341
|
-
text: string;
|
|
342
|
-
type?: ModelType;
|
|
343
|
-
tags?: string[];
|
|
344
|
-
owner?: string;
|
|
345
|
-
}
|
|
346
|
-
export declare enum ModelType {
|
|
347
|
-
Classifier = "classifier",
|
|
348
|
-
Regressor = "regressor",
|
|
349
|
-
Clustering = "clustering",
|
|
350
|
-
AnomalyDetection = "anomaly-detection",
|
|
351
|
-
TimeSeries = "time-series",
|
|
352
|
-
Text = "text",
|
|
353
|
-
Image = "image",
|
|
354
|
-
Audio = "audio",
|
|
355
|
-
Video = "video",
|
|
356
|
-
Embedding = "embedding",
|
|
357
|
-
Chat = "chat",
|
|
358
|
-
Code = "code",
|
|
359
|
-
NLP = "nlp",
|
|
360
|
-
MultiModal = "multi-modal",
|
|
361
|
-
Test = "test",
|
|
362
|
-
Other = "other",
|
|
363
|
-
Unknown = "unknown"
|
|
364
|
-
}
|
|
365
|
-
export interface DataSource {
|
|
366
|
-
name: string;
|
|
367
|
-
mime_type: string;
|
|
368
|
-
getStream(): Promise<ReadableStream<Uint8Array | string>>;
|
|
369
|
-
getURL(): Promise<string>;
|
|
370
|
-
}
|
|
371
|
-
export interface TrainingOptions {
|
|
372
|
-
name: string;
|
|
373
|
-
model: string;
|
|
374
|
-
params?: JSONObject;
|
|
375
|
-
}
|
|
376
|
-
export interface TrainingPromptOptions {
|
|
377
|
-
segments: PromptSegment[];
|
|
378
|
-
completion: CompletionResult[];
|
|
379
|
-
model: string;
|
|
380
|
-
schema?: JSONSchema;
|
|
381
|
-
}
|
|
382
|
-
export declare enum TrainingJobStatus {
|
|
383
|
-
running = "running",
|
|
384
|
-
succeeded = "succeeded",
|
|
385
|
-
failed = "failed",
|
|
386
|
-
cancelled = "cancelled"
|
|
387
|
-
}
|
|
388
|
-
export interface TrainingJob {
|
|
389
|
-
id: string;
|
|
390
|
-
status: TrainingJobStatus;
|
|
391
|
-
details?: string;
|
|
392
|
-
model?: string;
|
|
393
|
-
}
|
|
394
|
-
export type JSONPrimitive = string | number | boolean | null;
|
|
395
|
-
export type JSONArray = JSONValue[];
|
|
396
|
-
export type JSONObject = {
|
|
397
|
-
[key: string]: JSONValue;
|
|
398
|
-
};
|
|
399
|
-
export type JSONComposite = JSONArray | JSONObject;
|
|
400
|
-
export type JSONValue = JSONPrimitive | JSONComposite;
|
|
401
|
-
export {};
|
package/lib/types/types.d.ts.map
DELETED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