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