@llumiverse/core 0.16.0 → 0.18.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.
Files changed (142) hide show
  1. package/README.md +1 -1
  2. package/lib/cjs/CompletionStream.js.map +1 -1
  3. package/lib/cjs/Driver.js +7 -7
  4. package/lib/cjs/Driver.js.map +1 -1
  5. package/lib/cjs/async.js +3 -3
  6. package/lib/cjs/async.js.map +1 -1
  7. package/lib/cjs/capability/bedrock.js +183 -0
  8. package/lib/cjs/capability/bedrock.js.map +1 -0
  9. package/lib/cjs/capability/openai.js +122 -0
  10. package/lib/cjs/capability/openai.js.map +1 -0
  11. package/lib/cjs/capability/vertexai.js +86 -0
  12. package/lib/cjs/capability/vertexai.js.map +1 -0
  13. package/lib/cjs/capability.js +52 -0
  14. package/lib/cjs/capability.js.map +1 -0
  15. package/lib/cjs/formatters/commons.js.map +1 -1
  16. package/lib/cjs/formatters/generic.js +6 -6
  17. package/lib/cjs/formatters/generic.js.map +1 -1
  18. package/lib/cjs/formatters/index.js.map +1 -1
  19. package/lib/cjs/formatters/nova.js +11 -11
  20. package/lib/cjs/formatters/nova.js.map +1 -1
  21. package/lib/cjs/formatters/openai.js +25 -11
  22. package/lib/cjs/formatters/openai.js.map +1 -1
  23. package/lib/cjs/index.js +2 -1
  24. package/lib/cjs/index.js.map +1 -1
  25. package/lib/cjs/json.js +1 -1
  26. package/lib/cjs/json.js.map +1 -1
  27. package/lib/cjs/options.js +8 -43
  28. package/lib/cjs/options.js.map +1 -1
  29. package/lib/cjs/resolver.js +2 -2
  30. package/lib/esm/CompletionStream.js.map +1 -1
  31. package/lib/esm/Driver.js +4 -4
  32. package/lib/esm/Driver.js.map +1 -1
  33. package/lib/esm/async.js +3 -3
  34. package/lib/esm/async.js.map +1 -1
  35. package/lib/esm/capability/bedrock.js +180 -0
  36. package/lib/esm/capability/bedrock.js.map +1 -0
  37. package/lib/esm/capability/openai.js +119 -0
  38. package/lib/esm/capability/openai.js.map +1 -0
  39. package/lib/esm/capability/vertexai.js +83 -0
  40. package/lib/esm/capability/vertexai.js.map +1 -0
  41. package/lib/esm/capability.js +47 -0
  42. package/lib/esm/capability.js.map +1 -0
  43. package/lib/esm/formatters/commons.js.map +1 -1
  44. package/lib/esm/formatters/generic.js +1 -1
  45. package/lib/esm/formatters/generic.js.map +1 -1
  46. package/lib/esm/formatters/index.js.map +1 -1
  47. package/lib/esm/formatters/nova.js +5 -5
  48. package/lib/esm/formatters/nova.js.map +1 -1
  49. package/lib/esm/formatters/openai.js +17 -4
  50. package/lib/esm/formatters/openai.js.map +1 -1
  51. package/lib/esm/index.js +2 -1
  52. package/lib/esm/index.js.map +1 -1
  53. package/lib/esm/json.js +1 -1
  54. package/lib/esm/json.js.map +1 -1
  55. package/lib/esm/options.js +3 -37
  56. package/lib/esm/options.js.map +1 -1
  57. package/lib/esm/resolver.js +2 -2
  58. package/lib/types/CompletionStream.d.ts +1 -1
  59. package/lib/types/CompletionStream.d.ts.map +1 -1
  60. package/lib/types/Driver.d.ts +3 -3
  61. package/lib/types/Driver.d.ts.map +1 -1
  62. package/lib/types/async.d.ts +2 -2
  63. package/lib/types/async.d.ts.map +1 -1
  64. package/lib/types/capability/bedrock.d.ts +7 -0
  65. package/lib/types/capability/bedrock.d.ts.map +1 -0
  66. package/lib/types/capability/openai.d.ts +11 -0
  67. package/lib/types/capability/openai.d.ts.map +1 -0
  68. package/lib/types/capability/vertexai.d.ts +11 -0
  69. package/lib/types/capability/vertexai.d.ts.map +1 -0
  70. package/lib/types/capability.d.ts +5 -0
  71. package/lib/types/capability.d.ts.map +1 -0
  72. package/lib/types/formatters/commons.d.ts +2 -2
  73. package/lib/types/formatters/commons.d.ts.map +1 -1
  74. package/lib/types/formatters/generic.d.ts +4 -4
  75. package/lib/types/formatters/generic.d.ts.map +1 -1
  76. package/lib/types/formatters/index.d.ts +0 -3
  77. package/lib/types/formatters/index.d.ts.map +1 -1
  78. package/lib/types/formatters/nova.d.ts +3 -3
  79. package/lib/types/formatters/nova.d.ts.map +1 -1
  80. package/lib/types/formatters/openai.d.ts +3 -2
  81. package/lib/types/formatters/openai.d.ts.map +1 -1
  82. package/lib/types/index.d.ts +2 -1
  83. package/lib/types/index.d.ts.map +1 -1
  84. package/lib/types/json.d.ts +1 -7
  85. package/lib/types/json.d.ts.map +1 -1
  86. package/lib/types/options.d.ts +2 -13
  87. package/lib/types/options.d.ts.map +1 -1
  88. package/lib/types/validation.d.ts +1 -1
  89. package/lib/types/validation.d.ts.map +1 -1
  90. package/package.json +4 -5
  91. package/src/CompletionStream.ts +5 -5
  92. package/src/Driver.ts +6 -6
  93. package/src/async.ts +5 -8
  94. package/src/capability/bedrock.ts +187 -0
  95. package/src/capability/openai.ts +124 -0
  96. package/src/capability/vertexai.ts +88 -0
  97. package/src/capability.ts +49 -0
  98. package/src/formatters/commons.ts +2 -2
  99. package/src/formatters/generic.ts +3 -3
  100. package/src/formatters/index.ts +0 -6
  101. package/src/formatters/nova.ts +7 -7
  102. package/src/formatters/openai.ts +19 -5
  103. package/src/index.ts +3 -2
  104. package/src/json.ts +2 -10
  105. package/src/options.ts +12 -50
  106. package/src/resolver.ts +2 -2
  107. package/src/validation.ts +3 -3
  108. package/lib/cjs/options/bedrock.js +0 -343
  109. package/lib/cjs/options/bedrock.js.map +0 -1
  110. package/lib/cjs/options/groq.js +0 -37
  111. package/lib/cjs/options/groq.js.map +0 -1
  112. package/lib/cjs/options/openai.js +0 -123
  113. package/lib/cjs/options/openai.js.map +0 -1
  114. package/lib/cjs/options/vertexai.js +0 -257
  115. package/lib/cjs/options/vertexai.js.map +0 -1
  116. package/lib/cjs/types.js +0 -80
  117. package/lib/cjs/types.js.map +0 -1
  118. package/lib/esm/options/bedrock.js +0 -340
  119. package/lib/esm/options/bedrock.js.map +0 -1
  120. package/lib/esm/options/groq.js +0 -34
  121. package/lib/esm/options/groq.js.map +0 -1
  122. package/lib/esm/options/openai.js +0 -120
  123. package/lib/esm/options/openai.js.map +0 -1
  124. package/lib/esm/options/vertexai.js +0 -253
  125. package/lib/esm/options/vertexai.js.map +0 -1
  126. package/lib/esm/types.js +0 -77
  127. package/lib/esm/types.js.map +0 -1
  128. package/lib/types/options/bedrock.d.ts +0 -32
  129. package/lib/types/options/bedrock.d.ts.map +0 -1
  130. package/lib/types/options/groq.d.ts +0 -12
  131. package/lib/types/options/groq.d.ts.map +0 -1
  132. package/lib/types/options/openai.d.ts +0 -21
  133. package/lib/types/options/openai.d.ts.map +0 -1
  134. package/lib/types/options/vertexai.d.ts +0 -52
  135. package/lib/types/options/vertexai.d.ts.map +0 -1
  136. package/lib/types/types.d.ts +0 -308
  137. package/lib/types/types.d.ts.map +0 -1
  138. package/src/options/bedrock.ts +0 -388
  139. package/src/options/groq.ts +0 -47
  140. package/src/options/openai.ts +0 -148
  141. package/src/options/vertexai.ts +0 -312
  142. package/src/types.ts +0 -381
@@ -1,308 +0,0 @@
1
- import { JSONSchema4 } from 'json-schema';
2
- import { PromptFormatter } from './formatters/index.js';
3
- import { JSONObject } from './json.js';
4
- import { TextFallbackOptions } from './options.js';
5
- import { VertexAIOptions } from './options/vertexai.js';
6
- import { BedrockOptions } from './options/bedrock.js';
7
- import { OpenAiOptions } from './options/openai.js';
8
- export interface EmbeddingsOptions {
9
- /**
10
- * The text to generate the embeddings for. One of text or image is required.
11
- */
12
- text?: string;
13
- /**
14
- * The image to generate embeddings for
15
- */
16
- image?: string;
17
- /**
18
- * The model to use to generate the embeddings. Optional.
19
- */
20
- model?: string;
21
- }
22
- export interface EmbeddingsResult {
23
- /**
24
- * The embedding vectors corresponding to the words in the input text.
25
- */
26
- values: number[];
27
- /**
28
- * The model used to hgenerate the embeddings.
29
- */
30
- model: string;
31
- /**
32
- * Number of tokens of the input text.
33
- */
34
- token_count?: number;
35
- }
36
- export interface ResultValidationError {
37
- code: 'validation_error' | 'json_error' | 'content_policy_violation';
38
- message: string;
39
- data?: string;
40
- }
41
- export interface CompletionChunkObject<ResultT = any> {
42
- result: ResultT;
43
- token_usage?: ExecutionTokenUsage;
44
- finish_reason?: "stop" | "length" | string;
45
- }
46
- export type CompletionChunk = CompletionChunkObject | string;
47
- export interface ToolDefinition {
48
- name: string;
49
- description?: string;
50
- input_schema: {
51
- type: 'object';
52
- properties?: unknown | null | undefined;
53
- [k: string]: unknown;
54
- };
55
- }
56
- export interface ToolUse {
57
- id: string;
58
- name: string;
59
- input: JSONObject | null;
60
- }
61
- export interface Completion<ResultT = any> {
62
- result: ResultT;
63
- token_usage?: ExecutionTokenUsage;
64
- /**
65
- * Contains the tools from which the model awaits information.
66
- */
67
- tool_use?: ToolUse[];
68
- /**
69
- * The finish reason as reported by the model: stop | length or other model specific values
70
- */
71
- finish_reason?: "stop" | "length" | "tool_use" | string;
72
- /**
73
- * Set only if a result validation error occured, otherwise if the result is valid the error field is undefined
74
- * This can only be set if the result_schema is set and the reuslt could not be parsed as a json or if the result does not match the schema
75
- */
76
- error?: ResultValidationError;
77
- /**
78
- * 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.
79
- */
80
- original_response?: Record<string, any>;
81
- /**
82
- * The conversation context. This is an opaque structure that can be passed to the next request to restore the context.
83
- */
84
- conversation?: unknown;
85
- }
86
- export interface ImageGeneration {
87
- images?: string[];
88
- }
89
- export interface ExecutionResponse<PromptT = any> extends Completion {
90
- prompt: PromptT;
91
- /**
92
- * The time it took to execute the request in seconds
93
- */
94
- execution_time?: number;
95
- /**
96
- * The number of chunks for streamed executions
97
- */
98
- chunks?: number;
99
- }
100
- export interface CompletionStream<PromptT = any> extends AsyncIterable<string> {
101
- completion: ExecutionResponse<PromptT> | undefined;
102
- }
103
- export interface Logger {
104
- debug: (...obj: any[]) => void;
105
- info: (...obj: any[]) => void;
106
- warn: (...obj: any[]) => void;
107
- error: (...obj: any[]) => void;
108
- }
109
- export interface DriverOptions {
110
- logger?: Logger | "console";
111
- }
112
- export interface PromptOptions {
113
- model: string;
114
- /**
115
- * A custom formatter to use for format the final model prompt from the input prompt segments.
116
- * If no one is specified the driver will choose a formatter compatible with the target model
117
- */
118
- format?: PromptFormatter;
119
- result_schema?: JSONSchema4;
120
- }
121
- export interface ExecutionOptions extends PromptOptions {
122
- /**
123
- * If set to true the original response from the target LLM will be included in the response under the original_response field.
124
- * This is useful for debugging and for some advanced use cases.
125
- * It is ignored on streaming requests
126
- */
127
- include_original_response?: boolean;
128
- model_options?: ModelOptions;
129
- output_modality: Modalities;
130
- /**
131
- * Available tools for the request
132
- */
133
- tools?: ToolDefinition[];
134
- /**
135
- * This is an opaque structure that provides a conversation context
136
- * Each driver implementation will return a conversation property in the execution response
137
- * that can be passed here to restore the context when a new prompt is sent to the model.
138
- */
139
- conversation?: unknown | null;
140
- }
141
- export declare enum SharedOptions {
142
- max_tokens = "max_tokens",
143
- temperature = "temperature",
144
- top_p = "top_p",
145
- top_k = "top_k",
146
- presence_penalty = "presence_penalty",
147
- frequency_penalty = "frequency_penalty",
148
- stop_sequence = "stop_sequence",
149
- seed = "seed",
150
- number_of_images = "number_of_images"
151
- }
152
- export declare enum OptionType {
153
- numeric = "numeric",
154
- enum = "enum",
155
- boolean = "boolean",
156
- string_list = "string_list"
157
- }
158
- export type ModelOptions = TextFallbackOptions | VertexAIOptions | BedrockOptions | OpenAiOptions;
159
- export interface ModelOptionsInfo {
160
- options: ModelOptionInfoItem[];
161
- _option_id: string;
162
- }
163
- export type ModelOptionInfoItem = NumericOptionInfo | EnumOptionInfo | BooleanOptionInfo | StringListOptionInfo;
164
- interface OptionInfoPrototype {
165
- type: OptionType;
166
- name: string;
167
- description?: string;
168
- refresh?: boolean;
169
- }
170
- export interface NumericOptionInfo extends OptionInfoPrototype {
171
- type: OptionType.numeric;
172
- value?: number;
173
- min?: number;
174
- max?: number;
175
- step?: number;
176
- integer?: boolean;
177
- default?: number;
178
- }
179
- export interface EnumOptionInfo extends OptionInfoPrototype {
180
- type: OptionType.enum;
181
- value?: string;
182
- enum: Record<string, string>;
183
- default?: string;
184
- }
185
- export interface BooleanOptionInfo extends OptionInfoPrototype {
186
- type: OptionType.boolean;
187
- value?: boolean;
188
- default?: boolean;
189
- }
190
- export interface StringListOptionInfo extends OptionInfoPrototype {
191
- type: OptionType.string_list;
192
- value?: string[];
193
- default?: string[];
194
- }
195
- export declare enum PromptRole {
196
- safety = "safety",
197
- system = "system",
198
- user = "user",
199
- assistant = "assistant",
200
- negative = "negative",
201
- mask = "mask",
202
- /**
203
- * Used to send the response of a tool
204
- */
205
- tool = "tool"
206
- }
207
- export interface PromptSegment {
208
- role: PromptRole;
209
- content: string;
210
- /**
211
- * The tool use id if the segment is a tool response
212
- */
213
- tool_use_id?: string;
214
- files?: DataSource[];
215
- }
216
- export interface ExecutionTokenUsage {
217
- prompt?: number;
218
- result?: number;
219
- total?: number;
220
- }
221
- export declare enum Modalities {
222
- text = "text",
223
- image = "image"
224
- }
225
- export interface AIModel<ProviderKeys = string> {
226
- id: string;
227
- name: string;
228
- provider: ProviderKeys;
229
- description?: string;
230
- version?: string;
231
- type?: ModelType;
232
- tags?: string[];
233
- owner?: string;
234
- status?: AIModelStatus;
235
- can_stream?: boolean;
236
- is_custom?: boolean;
237
- is_multimodal?: boolean;
238
- }
239
- export declare enum AIModelStatus {
240
- Available = "available",
241
- Pending = "pending",
242
- Stopped = "stopped",
243
- Unavailable = "unavailable",
244
- Unknown = "unknown"
245
- }
246
- /**
247
- * payload to list available models for an enviroment
248
- * @param environmentId id of the environment
249
- * @param query text to search for in model name/description
250
- * @param type type of the model
251
- * @param tags tags for searching
252
- */
253
- export interface ModelSearchPayload {
254
- text: string;
255
- type?: ModelType;
256
- tags?: string[];
257
- owner?: string;
258
- }
259
- export declare enum ModelType {
260
- Classifier = "classifier",
261
- Regressor = "regressor",
262
- Clustering = "clustering",
263
- AnomalyDetection = "anomaly-detection",
264
- TimeSeries = "time-series",
265
- Text = "text",
266
- Image = "image",
267
- Audio = "audio",
268
- Video = "video",
269
- Embedding = "embedding",
270
- Chat = "chat",
271
- Code = "code",
272
- NLP = "nlp",
273
- MultiModal = "multi-modal",
274
- Test = "test",
275
- Other = "other",
276
- Unknown = "unknown"
277
- }
278
- export interface DataSource {
279
- name: string;
280
- mime_type?: string;
281
- getStream(): Promise<ReadableStream<Uint8Array | string>>;
282
- getURL(): Promise<string>;
283
- }
284
- export interface TrainingOptions {
285
- name: string;
286
- model: string;
287
- params?: JSONObject;
288
- }
289
- export interface TrainingPromptOptions {
290
- segments: PromptSegment[];
291
- completion: string | JSONObject;
292
- model: string;
293
- schema?: JSONSchema4;
294
- }
295
- export declare enum TrainingJobStatus {
296
- running = "running",
297
- succeeded = "succeeded",
298
- failed = "failed",
299
- cancelled = "cancelled"
300
- }
301
- export interface TrainingJob {
302
- id: string;
303
- status: TrainingJobStatus;
304
- details?: string;
305
- model?: string;
306
- }
307
- export {};
308
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAElB;AAED,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;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