@vertesia/client 1.5.0-dev.20260910.052912Z → 1.5.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 (46) hide show
  1. package/lib/EnvironmentsApi.d.ts +6 -1
  2. package/lib/EnvironmentsApi.d.ts.map +1 -1
  3. package/lib/EnvironmentsApi.js +15 -0
  4. package/lib/EnvironmentsApi.js.map +1 -1
  5. package/lib/InteractionBase.d.ts +108 -60
  6. package/lib/InteractionBase.d.ts.map +1 -1
  7. package/lib/InteractionsApi.d.ts +2 -7
  8. package/lib/InteractionsApi.d.ts.map +1 -1
  9. package/lib/InteractionsApi.js.map +1 -1
  10. package/lib/InternalAccountsApi.d.ts +7 -0
  11. package/lib/InternalAccountsApi.d.ts.map +1 -0
  12. package/lib/InternalAccountsApi.js +10 -0
  13. package/lib/InternalAccountsApi.js.map +1 -0
  14. package/lib/index.d.ts +1 -0
  15. package/lib/index.d.ts.map +1 -1
  16. package/lib/index.js +1 -0
  17. package/lib/index.js.map +1 -1
  18. package/lib/store/AgentsApi.d.ts.map +1 -1
  19. package/lib/store/AgentsApi.js +15 -0
  20. package/lib/store/AgentsApi.js.map +1 -1
  21. package/lib/store/EmbeddingsApi.d.ts +8 -2
  22. package/lib/store/EmbeddingsApi.d.ts.map +1 -1
  23. package/lib/store/EmbeddingsApi.js +20 -2
  24. package/lib/store/EmbeddingsApi.js.map +1 -1
  25. package/lib/store/ObjectsApi.d.ts.map +1 -1
  26. package/lib/store/ObjectsApi.js +4 -3
  27. package/lib/store/ObjectsApi.js.map +1 -1
  28. package/lib/store/signed-url.d.ts +3 -2
  29. package/lib/store/signed-url.d.ts.map +1 -1
  30. package/lib/store/signed-url.js +8 -2
  31. package/lib/store/signed-url.js.map +1 -1
  32. package/lib/vertesia-client.js +3 -3
  33. package/lib/vertesia-client.js.map +1 -1
  34. package/package.json +5 -5
  35. package/src/EnvironmentsApi.ts +28 -0
  36. package/src/InteractionsApi.ts +2 -9
  37. package/src/InternalAccountsApi.ts +12 -0
  38. package/src/index.ts +1 -0
  39. package/src/store/AgentsApi.stream.test.ts +33 -1
  40. package/src/store/AgentsApi.ts +17 -0
  41. package/src/store/EmbeddingsApi.test.ts +31 -0
  42. package/src/store/EmbeddingsApi.ts +47 -2
  43. package/src/store/ObjectsApi.test.ts +50 -0
  44. package/src/store/ObjectsApi.ts +5 -3
  45. package/src/store/signed-url.test.ts +24 -2
  46. package/src/store/signed-url.ts +8 -3
@@ -1,6 +1,6 @@
1
1
  import type { AIModel, ModelSearchPayload } from '@llumiverse/common';
2
2
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
3
- import type { EmbeddingsApiRequest, EmbeddingsApiResult, EnableEnvironmentModelPayload, ExecutionEnvironment, ExecutionEnvironmentConfigUpdatePayload, ExecutionEnvironmentCreatePayload, ExecutionEnvironmentUpdatePayload, MigrateInteractionsPayload, MigrateInteractionsResult } from '@vertesia/common';
3
+ import type { EmbeddingBatchCapabilityRequest, EmbeddingBatchCapabilityResponse, EmbeddingBatchCreateRequest, EmbeddingBatchJobRequest, EmbeddingBatchJobResponse, EmbeddingsApiRequest, EmbeddingsApiResult, EnableEnvironmentModelPayload, ExecutionEnvironment, ExecutionEnvironmentConfigUpdatePayload, ExecutionEnvironmentCreatePayload, ExecutionEnvironmentUpdatePayload, MigrateInteractionsPayload, MigrateInteractionsResult } from '@vertesia/common';
4
4
  export default class EnvironmentsApi extends ApiTopic {
5
5
  constructor(parent: ClientBase);
6
6
  /**
@@ -26,6 +26,11 @@ export default class EnvironmentsApi extends ApiTopic {
26
26
  disableModel(id: string, modelId: string): Promise<ExecutionEnvironment>;
27
27
  listTrainableModels(id: string): Promise<AIModel[]>;
28
28
  embeddings(id: string, payload: EmbeddingsApiRequest): Promise<EmbeddingsApiResult>;
29
+ embeddingBatchCapability(id: string, payload: EmbeddingBatchCapabilityRequest): Promise<EmbeddingBatchCapabilityResponse>;
30
+ createEmbeddingBatch(id: string, payload: EmbeddingBatchCreateRequest): Promise<EmbeddingBatchJobResponse>;
31
+ getEmbeddingBatch(id: string, payload: EmbeddingBatchJobRequest): Promise<EmbeddingBatchJobResponse>;
32
+ cancelEmbeddingBatch(id: string, payload: EmbeddingBatchJobRequest): Promise<EmbeddingBatchJobResponse>;
33
+ deleteEmbeddingBatch(id: string, payload: EmbeddingBatchJobRequest): Promise<EmbeddingBatchJobResponse>;
29
34
  /**
30
35
  * Batch update the LLM Environment for multiple Interactions, including the model used and the
31
36
  * Environment that they belong to.
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentsApi.d.ts","sourceRoot":"","sources":["../src/EnvironmentsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EACR,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,iCAAiC,EACjC,iCAAiC,EACjC,0BAA0B,EAC1B,yBAAyB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,QAAQ;IACjD,YAAY,MAAM,EAAE,UAAU,EAE7B;IAED;;;OAGG;IACH,IAAI,CAAC,GAAG,GAAE,OAAe,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAI1D;IAED,MAAM,CAAC,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAIhF;IAED,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAElD;IAED,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAI5F;IAED;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,EA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AO,CAAC,yBAAyB,CAAC,CAEnG;IAED,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAEtG;IAED,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAEtG;IAED;;;;;;;;OAQG;IACH,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAI3F;CACJ"}
@@ -59,6 +59,21 @@ export default class EnvironmentsApi extends ApiTopic {
59
59
  payload,
60
60
  });
61
61
  }
62
+ embeddingBatchCapability(id, payload) {
63
+ return this.post(`/${id}/embedding-batches/capability`, { payload });
64
+ }
65
+ createEmbeddingBatch(id, payload) {
66
+ return this.post(`/${id}/embedding-batches`, { payload });
67
+ }
68
+ getEmbeddingBatch(id, payload) {
69
+ return this.post(`/${id}/embedding-batches/get`, { payload });
70
+ }
71
+ cancelEmbeddingBatch(id, payload) {
72
+ return this.post(`/${id}/embedding-batches/cancel`, { payload });
73
+ }
74
+ deleteEmbeddingBatch(id, payload) {
75
+ return this.post(`/${id}/embedding-batches/delete`, { payload });
76
+ }
62
77
  /**
63
78
  * Batch update the LLM Environment for multiple Interactions, including the model used and the
64
79
  * Environment that they belong to.
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentsApi.js","sourceRoot":"","sources":["../src/EnvironmentsApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAmB,MAAM,4BAA4B,CAAC;AAavE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,QAAQ;IACjD,YAAY,MAAkB;QAC1B,KAAK,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,GAAG,GAAY,KAAK;QACrB,MAAM,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG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,wBAAwB,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,oBAAoB,CAAC,EAAU,EAAE,OAAiC;QAC9D,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,2BAA2B,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,oBAAoB,CAAC,EAAU,EAAE,OAAiC;QAC9D,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,2BAA2B,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;OAQG;IACH,mBAAmB,CAAC,OAAmC;QACnD,OAAO,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE;YACtC,OAAO;SACV,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -72,7 +72,7 @@ export declare class InteractionBase<P = unknown> {
72
72
  } | undefined;
73
73
  model?: string | undefined;
74
74
  model_options?: {
75
- _option_id: "text-fallback";
75
+ _option_id?: "text-fallback" | undefined;
76
76
  max_tokens?: number | undefined;
77
77
  temperature?: number | undefined;
78
78
  top_p?: number | undefined;
@@ -82,7 +82,7 @@ export declare class InteractionBase<P = unknown> {
82
82
  stop_sequence?: string[] | undefined;
83
83
  include_thoughts?: boolean | undefined;
84
84
  } | {
85
- _option_id: "azure-foundry-chat";
85
+ _option_id?: "azure-foundry-chat" | undefined;
86
86
  max_tokens?: number | undefined;
87
87
  temperature?: number | undefined;
88
88
  top_p?: number | undefined;
@@ -93,10 +93,10 @@ export declare class InteractionBase<P = unknown> {
93
93
  image_detail?: "auto" | "high" | "low" | undefined;
94
94
  include_thoughts?: boolean | undefined;
95
95
  } | {
96
- _option_id: "vertexai-imagen";
96
+ _option_id?: "vertexai-imagen" | undefined;
97
97
  number_of_images?: number | undefined;
98
98
  seed?: number | undefined;
99
- person_generation?: "allow_adults" | "allow_all" | "dont_allow" | undefined;
99
+ person_generation?: "allow_adult" | "allow_adults" | "allow_all" | "dont_allow" | undefined;
100
100
  safety_setting?: "block_low_and_above" | "block_medium_and_above" | "block_none" | "block_only_high" | undefined;
101
101
  image_file_type?: "image/jpeg" | "image/png" | undefined;
102
102
  jpeg_compression_quality?: number | undefined;
@@ -113,19 +113,20 @@ export declare class InteractionBase<P = unknown> {
113
113
  controlImageComputation?: boolean | undefined;
114
114
  subjectType?: "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_DEFAULT" | "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_PRODUCT" | undefined;
115
115
  } | {
116
- _option_id: "vertexai-claude";
116
+ _option_id?: "vertexai-claude" | undefined;
117
117
  max_tokens?: number | undefined;
118
118
  temperature?: number | undefined;
119
119
  top_p?: number | undefined;
120
120
  top_k?: number | undefined;
121
121
  stop_sequence?: string[] | undefined;
122
122
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
123
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
123
124
  thinking_budget_tokens?: number | undefined;
124
125
  include_thoughts?: boolean | undefined;
125
126
  cache_enabled?: boolean | undefined;
126
127
  cache_ttl?: "1h" | "5m" | undefined;
127
128
  } | {
128
- _option_id: "vertexai-gemini";
129
+ _option_id?: "vertexai-gemini" | undefined;
129
130
  max_tokens?: number | undefined;
130
131
  temperature?: number | undefined;
131
132
  top_p?: number | undefined;
@@ -147,19 +148,19 @@ export declare class InteractionBase<P = unknown> {
147
148
  output_mime_type?: "image/jpeg" | "image/png" | undefined;
148
149
  output_compression_quality?: number | undefined;
149
150
  } | {
150
- _option_id: "vertexai-gemini-omni-video";
151
+ _option_id?: "vertexai-gemini-omni-video" | undefined;
151
152
  task?: "edit" | "extend" | "image_to_video" | "reference_to_video" | "text_to_video" | undefined;
152
153
  aspect_ratio?: "16:9" | "9:16" | undefined;
153
154
  duration_seconds?: number | undefined;
154
155
  resolution?: "1080p" | "360p" | "4k" | "720p" | undefined;
155
156
  } | {
156
- _option_id: "vertexai-grok";
157
+ _option_id?: "vertexai-grok" | undefined;
157
158
  max_tokens?: number | undefined;
158
159
  temperature?: number | undefined;
159
160
  top_p?: number | undefined;
160
161
  stop_sequence?: string[] | undefined;
161
162
  } | {
162
- _option_id: "bedrock-nova-canvas";
163
+ _option_id?: "bedrock-nova-canvas" | undefined;
163
164
  taskType: "BACKGROUND_REMOVAL" | "COLOR_GUIDED_GENERATION" | "IMAGE_VARIATION" | "INPAINTING" | "OUTPAINTING" | "TEXT_IMAGE" | "TEXT_IMAGE_WITH_IMAGE_CONDITIONING";
164
165
  width?: number | undefined;
165
166
  height?: number | undefined;
@@ -173,7 +174,7 @@ export declare class InteractionBase<P = unknown> {
173
174
  similarityStrength?: number | undefined;
174
175
  outPaintingMode?: "DEFAULT" | "PRECISE" | undefined;
175
176
  } | {
176
- _option_id: "bedrock-converse";
177
+ _option_id?: "bedrock-converse" | undefined;
177
178
  max_tokens?: number | undefined;
178
179
  temperature?: number | undefined;
179
180
  top_p?: number | undefined;
@@ -181,44 +182,52 @@ export declare class InteractionBase<P = unknown> {
181
182
  include_thoughts?: boolean | undefined;
182
183
  service_tier?: string | undefined;
183
184
  } | {
184
- _option_id: "bedrock-nova";
185
+ _option_id?: "bedrock-nova" | undefined;
185
186
  max_tokens?: number | undefined;
186
187
  temperature?: number | undefined;
187
188
  top_p?: number | undefined;
189
+ top_k?: number | undefined;
188
190
  stop_sequence?: string[] | undefined;
189
191
  include_thoughts?: boolean | undefined;
190
192
  service_tier?: string | undefined;
191
193
  } | {
192
- _option_id: "bedrock-mistral";
194
+ _option_id?: "bedrock-mistral" | undefined;
193
195
  max_tokens?: number | undefined;
194
196
  temperature?: number | undefined;
195
197
  top_p?: number | undefined;
198
+ top_k?: number | undefined;
196
199
  stop_sequence?: string[] | undefined;
197
200
  include_thoughts?: boolean | undefined;
198
201
  service_tier?: string | undefined;
199
202
  } | {
200
- _option_id: "bedrock-ai21";
203
+ _option_id?: "bedrock-ai21" | undefined;
201
204
  max_tokens?: number | undefined;
202
205
  temperature?: number | undefined;
203
206
  top_p?: number | undefined;
207
+ presence_penalty?: number | undefined;
208
+ frequency_penalty?: number | undefined;
204
209
  stop_sequence?: string[] | undefined;
205
210
  include_thoughts?: boolean | undefined;
206
211
  service_tier?: string | undefined;
207
212
  } | {
208
- _option_id: "bedrock-cohere-command";
213
+ _option_id?: "bedrock-cohere-command" | undefined;
209
214
  max_tokens?: number | undefined;
210
215
  temperature?: number | undefined;
211
216
  top_p?: number | undefined;
217
+ top_k?: number | undefined;
218
+ presence_penalty?: number | undefined;
219
+ frequency_penalty?: number | undefined;
212
220
  stop_sequence?: string[] | undefined;
213
221
  include_thoughts?: boolean | undefined;
214
222
  service_tier?: string | undefined;
215
223
  } | {
216
- _option_id: "bedrock-claude";
224
+ _option_id?: "bedrock-claude" | undefined;
217
225
  max_tokens?: number | undefined;
218
226
  temperature?: number | undefined;
219
227
  top_p?: number | undefined;
220
228
  stop_sequence?: string[] | undefined;
221
229
  top_k?: number | undefined;
230
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
222
231
  thinking_budget_tokens?: number | undefined;
223
232
  include_thoughts?: boolean | undefined;
224
233
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
@@ -226,7 +235,7 @@ export declare class InteractionBase<P = unknown> {
226
235
  cache_ttl?: "1h" | "5m" | undefined;
227
236
  service_tier?: string | undefined;
228
237
  } | {
229
- _option_id: "bedrock-palmyra";
238
+ _option_id?: "bedrock-palmyra" | undefined;
230
239
  max_tokens?: number | undefined;
231
240
  temperature?: number | undefined;
232
241
  top_p?: number | undefined;
@@ -237,7 +246,7 @@ export declare class InteractionBase<P = unknown> {
237
246
  presence_penalty?: number | undefined;
238
247
  service_tier?: string | undefined;
239
248
  } | {
240
- _option_id: "bedrock-gpt-oss";
249
+ _option_id?: "bedrock-gpt-oss" | undefined;
241
250
  max_tokens?: number | undefined;
242
251
  temperature?: number | undefined;
243
252
  top_p?: number | undefined;
@@ -247,22 +256,22 @@ export declare class InteractionBase<P = unknown> {
247
256
  presence_penalty?: number | undefined;
248
257
  service_tier?: string | undefined;
249
258
  } | {
250
- _option_id: "bedrock-twelvelabs-pegasus";
259
+ _option_id?: "bedrock-twelvelabs-pegasus" | undefined;
251
260
  temperature?: number | undefined;
252
261
  max_tokens?: number | undefined;
253
262
  service_tier?: string | undefined;
254
263
  } | {
255
- _option_id: "bedrock-mantle-responses";
264
+ _option_id?: "bedrock-mantle-responses" | undefined;
256
265
  max_tokens?: number | undefined;
257
266
  temperature?: number | undefined;
258
267
  top_p?: number | undefined;
259
- effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
260
- reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
268
+ effort?: "high" | "low" | "max" | "medium" | "none" | "xhigh" | undefined;
269
+ reasoning_effort?: "high" | "low" | "max" | "medium" | "none" | "xhigh" | undefined;
261
270
  verbosity?: "high" | "low" | "medium" | undefined;
262
271
  image_detail?: "auto" | "high" | "low" | undefined;
263
272
  include_thoughts?: boolean | undefined;
264
273
  } | {
265
- _option_id: "bedrock-mantle-chat-completions";
274
+ _option_id?: "bedrock-mantle-chat-completions" | undefined;
266
275
  max_tokens?: number | undefined;
267
276
  temperature?: number | undefined;
268
277
  top_p?: number | undefined;
@@ -271,29 +280,31 @@ export declare class InteractionBase<P = unknown> {
271
280
  reasoning_effort?: "high" | "low" | "medium" | undefined;
272
281
  include_thoughts?: boolean | undefined;
273
282
  } | {
274
- _option_id: "bedrock-mantle-claude";
283
+ _option_id?: "bedrock-mantle-claude" | undefined;
275
284
  max_tokens?: number | undefined;
276
285
  temperature?: number | undefined;
277
286
  top_p?: number | undefined;
278
287
  top_k?: number | undefined;
279
288
  stop_sequence?: string[] | undefined;
280
289
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
290
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
281
291
  thinking_budget_tokens?: number | undefined;
282
292
  include_thoughts?: boolean | undefined;
283
293
  cache_enabled?: boolean | undefined;
284
294
  cache_ttl?: "1h" | "5m" | undefined;
285
295
  } | {
286
- _option_id: "openai-thinking";
296
+ _option_id?: "openai-thinking" | undefined;
287
297
  max_tokens?: number | undefined;
288
298
  stop_sequence?: string[] | undefined;
289
299
  effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
290
300
  reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
301
+ reasoning_context?: "all_turns" | "auto" | "current_turn" | undefined;
291
302
  image_detail?: "auto" | "high" | "low" | undefined;
292
303
  include_thoughts?: boolean | undefined;
293
304
  service_tier?: string | undefined;
294
305
  extra_body?: Record<string, unknown> | undefined;
295
306
  } | {
296
- _option_id: "openai-text";
307
+ _option_id?: "openai-text" | undefined;
297
308
  max_tokens?: number | undefined;
298
309
  effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
299
310
  reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
@@ -307,27 +318,27 @@ export declare class InteractionBase<P = unknown> {
307
318
  service_tier?: string | undefined;
308
319
  extra_body?: Record<string, unknown> | undefined;
309
320
  } | {
310
- _option_id: "openai-dalle";
321
+ _option_id?: "openai-dalle" | undefined;
311
322
  size?: "1024x1024" | "1024x1792" | "1792x1024" | "256x256" | "512x512" | undefined;
312
323
  image_quality?: "hd" | "standard" | undefined;
313
324
  style?: "natural" | "vivid" | undefined;
314
325
  response_format?: "b64_json" | "url" | undefined;
315
326
  n?: number | undefined;
316
327
  } | {
317
- _option_id: "openai-gpt-image";
328
+ _option_id?: "openai-gpt-image" | undefined;
318
329
  size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto" | undefined;
319
330
  image_quality?: "auto" | "high" | "low" | "medium" | undefined;
320
331
  background?: "auto" | "opaque" | "transparent" | undefined;
321
332
  output_format?: "jpeg" | "png" | "webp" | undefined;
322
333
  } | {
323
- _option_id: "xai-grok-image";
334
+ _option_id?: "xai-grok-image" | undefined;
324
335
  aspect_ratio?: "16:9" | "19.5:9" | "1:1" | "1:2" | "20:9" | "2:1" | "2:3" | "3:2" | "3:4" | "4:3" | "9:16" | "9:19.5" | "9:20" | "auto" | undefined;
325
336
  resolution?: "1k" | "2k" | undefined;
326
337
  quality?: "low" | "medium" | undefined;
327
338
  response_format?: "b64_json" | "url" | undefined;
328
339
  n?: number | undefined;
329
340
  } | {
330
- _option_id: "groq-deepseek-thinking";
341
+ _option_id?: "groq-deepseek-thinking" | undefined;
331
342
  max_tokens?: number | undefined;
332
343
  temperature?: number | undefined;
333
344
  top_p?: number | undefined;
@@ -336,7 +347,7 @@ export declare class InteractionBase<P = unknown> {
336
347
  stop_sequence?: string[] | undefined;
337
348
  reasoning_format: "hidden" | "parsed" | "raw";
338
349
  } | {
339
- _option_id: "mistral-text";
350
+ _option_id?: "mistral-text" | undefined;
340
351
  max_tokens?: number | undefined;
341
352
  temperature?: number | undefined;
342
353
  top_p?: number | undefined;
@@ -350,6 +361,19 @@ export declare class InteractionBase<P = unknown> {
350
361
  tool_choice?: "any" | "auto" | "none" | "required" | undefined;
351
362
  prompt_mode?: "reasoning" | undefined;
352
363
  include_thoughts?: boolean | undefined;
364
+ } | {
365
+ _option_id?: "anthropic-claude" | undefined;
366
+ max_tokens?: number | undefined;
367
+ temperature?: number | undefined;
368
+ top_p?: number | undefined;
369
+ top_k?: number | undefined;
370
+ stop_sequence?: string[] | undefined;
371
+ effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
372
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
373
+ thinking_budget_tokens?: number | undefined;
374
+ include_thoughts?: boolean | undefined;
375
+ cache_enabled?: boolean | undefined;
376
+ cache_ttl?: "1h" | "5m" | undefined;
353
377
  } | undefined;
354
378
  store_media_results?: boolean | undefined;
355
379
  restriction?: import("@vertesia/common").RunDataStorageLevel | undefined;
@@ -485,7 +509,7 @@ export declare class InteractionBase<P = unknown> {
485
509
  } | undefined;
486
510
  model?: string | undefined;
487
511
  model_options?: {
488
- _option_id: "text-fallback";
512
+ _option_id?: "text-fallback" | undefined;
489
513
  max_tokens?: number | undefined;
490
514
  temperature?: number | undefined;
491
515
  top_p?: number | undefined;
@@ -495,7 +519,7 @@ export declare class InteractionBase<P = unknown> {
495
519
  stop_sequence?: string[] | undefined;
496
520
  include_thoughts?: boolean | undefined;
497
521
  } | {
498
- _option_id: "azure-foundry-chat";
522
+ _option_id?: "azure-foundry-chat" | undefined;
499
523
  max_tokens?: number | undefined;
500
524
  temperature?: number | undefined;
501
525
  top_p?: number | undefined;
@@ -506,10 +530,10 @@ export declare class InteractionBase<P = unknown> {
506
530
  image_detail?: "auto" | "high" | "low" | undefined;
507
531
  include_thoughts?: boolean | undefined;
508
532
  } | {
509
- _option_id: "vertexai-imagen";
533
+ _option_id?: "vertexai-imagen" | undefined;
510
534
  number_of_images?: number | undefined;
511
535
  seed?: number | undefined;
512
- person_generation?: "allow_adults" | "allow_all" | "dont_allow" | undefined;
536
+ person_generation?: "allow_adult" | "allow_adults" | "allow_all" | "dont_allow" | undefined;
513
537
  safety_setting?: "block_low_and_above" | "block_medium_and_above" | "block_none" | "block_only_high" | undefined;
514
538
  image_file_type?: "image/jpeg" | "image/png" | undefined;
515
539
  jpeg_compression_quality?: number | undefined;
@@ -526,19 +550,20 @@ export declare class InteractionBase<P = unknown> {
526
550
  controlImageComputation?: boolean | undefined;
527
551
  subjectType?: "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_DEFAULT" | "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_PRODUCT" | undefined;
528
552
  } | {
529
- _option_id: "vertexai-claude";
553
+ _option_id?: "vertexai-claude" | undefined;
530
554
  max_tokens?: number | undefined;
531
555
  temperature?: number | undefined;
532
556
  top_p?: number | undefined;
533
557
  top_k?: number | undefined;
534
558
  stop_sequence?: string[] | undefined;
535
559
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
560
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
536
561
  thinking_budget_tokens?: number | undefined;
537
562
  include_thoughts?: boolean | undefined;
538
563
  cache_enabled?: boolean | undefined;
539
564
  cache_ttl?: "1h" | "5m" | undefined;
540
565
  } | {
541
- _option_id: "vertexai-gemini";
566
+ _option_id?: "vertexai-gemini" | undefined;
542
567
  max_tokens?: number | undefined;
543
568
  temperature?: number | undefined;
544
569
  top_p?: number | undefined;
@@ -560,19 +585,19 @@ export declare class InteractionBase<P = unknown> {
560
585
  output_mime_type?: "image/jpeg" | "image/png" | undefined;
561
586
  output_compression_quality?: number | undefined;
562
587
  } | {
563
- _option_id: "vertexai-gemini-omni-video";
588
+ _option_id?: "vertexai-gemini-omni-video" | undefined;
564
589
  task?: "edit" | "extend" | "image_to_video" | "reference_to_video" | "text_to_video" | undefined;
565
590
  aspect_ratio?: "16:9" | "9:16" | undefined;
566
591
  duration_seconds?: number | undefined;
567
592
  resolution?: "1080p" | "360p" | "4k" | "720p" | undefined;
568
593
  } | {
569
- _option_id: "vertexai-grok";
594
+ _option_id?: "vertexai-grok" | undefined;
570
595
  max_tokens?: number | undefined;
571
596
  temperature?: number | undefined;
572
597
  top_p?: number | undefined;
573
598
  stop_sequence?: string[] | undefined;
574
599
  } | {
575
- _option_id: "bedrock-nova-canvas";
600
+ _option_id?: "bedrock-nova-canvas" | undefined;
576
601
  taskType: "BACKGROUND_REMOVAL" | "COLOR_GUIDED_GENERATION" | "IMAGE_VARIATION" | "INPAINTING" | "OUTPAINTING" | "TEXT_IMAGE" | "TEXT_IMAGE_WITH_IMAGE_CONDITIONING";
577
602
  width?: number | undefined;
578
603
  height?: number | undefined;
@@ -586,7 +611,7 @@ export declare class InteractionBase<P = unknown> {
586
611
  similarityStrength?: number | undefined;
587
612
  outPaintingMode?: "DEFAULT" | "PRECISE" | undefined;
588
613
  } | {
589
- _option_id: "bedrock-converse";
614
+ _option_id?: "bedrock-converse" | undefined;
590
615
  max_tokens?: number | undefined;
591
616
  temperature?: number | undefined;
592
617
  top_p?: number | undefined;
@@ -594,44 +619,52 @@ export declare class InteractionBase<P = unknown> {
594
619
  include_thoughts?: boolean | undefined;
595
620
  service_tier?: string | undefined;
596
621
  } | {
597
- _option_id: "bedrock-nova";
622
+ _option_id?: "bedrock-nova" | undefined;
598
623
  max_tokens?: number | undefined;
599
624
  temperature?: number | undefined;
600
625
  top_p?: number | undefined;
626
+ top_k?: number | undefined;
601
627
  stop_sequence?: string[] | undefined;
602
628
  include_thoughts?: boolean | undefined;
603
629
  service_tier?: string | undefined;
604
630
  } | {
605
- _option_id: "bedrock-mistral";
631
+ _option_id?: "bedrock-mistral" | undefined;
606
632
  max_tokens?: number | undefined;
607
633
  temperature?: number | undefined;
608
634
  top_p?: number | undefined;
635
+ top_k?: number | undefined;
609
636
  stop_sequence?: string[] | undefined;
610
637
  include_thoughts?: boolean | undefined;
611
638
  service_tier?: string | undefined;
612
639
  } | {
613
- _option_id: "bedrock-ai21";
640
+ _option_id?: "bedrock-ai21" | undefined;
614
641
  max_tokens?: number | undefined;
615
642
  temperature?: number | undefined;
616
643
  top_p?: number | undefined;
644
+ presence_penalty?: number | undefined;
645
+ frequency_penalty?: number | undefined;
617
646
  stop_sequence?: string[] | undefined;
618
647
  include_thoughts?: boolean | undefined;
619
648
  service_tier?: string | undefined;
620
649
  } | {
621
- _option_id: "bedrock-cohere-command";
650
+ _option_id?: "bedrock-cohere-command" | undefined;
622
651
  max_tokens?: number | undefined;
623
652
  temperature?: number | undefined;
624
653
  top_p?: number | undefined;
654
+ top_k?: number | undefined;
655
+ presence_penalty?: number | undefined;
656
+ frequency_penalty?: number | undefined;
625
657
  stop_sequence?: string[] | undefined;
626
658
  include_thoughts?: boolean | undefined;
627
659
  service_tier?: string | undefined;
628
660
  } | {
629
- _option_id: "bedrock-claude";
661
+ _option_id?: "bedrock-claude" | undefined;
630
662
  max_tokens?: number | undefined;
631
663
  temperature?: number | undefined;
632
664
  top_p?: number | undefined;
633
665
  stop_sequence?: string[] | undefined;
634
666
  top_k?: number | undefined;
667
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
635
668
  thinking_budget_tokens?: number | undefined;
636
669
  include_thoughts?: boolean | undefined;
637
670
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
@@ -639,7 +672,7 @@ export declare class InteractionBase<P = unknown> {
639
672
  cache_ttl?: "1h" | "5m" | undefined;
640
673
  service_tier?: string | undefined;
641
674
  } | {
642
- _option_id: "bedrock-palmyra";
675
+ _option_id?: "bedrock-palmyra" | undefined;
643
676
  max_tokens?: number | undefined;
644
677
  temperature?: number | undefined;
645
678
  top_p?: number | undefined;
@@ -650,7 +683,7 @@ export declare class InteractionBase<P = unknown> {
650
683
  presence_penalty?: number | undefined;
651
684
  service_tier?: string | undefined;
652
685
  } | {
653
- _option_id: "bedrock-gpt-oss";
686
+ _option_id?: "bedrock-gpt-oss" | undefined;
654
687
  max_tokens?: number | undefined;
655
688
  temperature?: number | undefined;
656
689
  top_p?: number | undefined;
@@ -660,22 +693,22 @@ export declare class InteractionBase<P = unknown> {
660
693
  presence_penalty?: number | undefined;
661
694
  service_tier?: string | undefined;
662
695
  } | {
663
- _option_id: "bedrock-twelvelabs-pegasus";
696
+ _option_id?: "bedrock-twelvelabs-pegasus" | undefined;
664
697
  temperature?: number | undefined;
665
698
  max_tokens?: number | undefined;
666
699
  service_tier?: string | undefined;
667
700
  } | {
668
- _option_id: "bedrock-mantle-responses";
701
+ _option_id?: "bedrock-mantle-responses" | undefined;
669
702
  max_tokens?: number | undefined;
670
703
  temperature?: number | undefined;
671
704
  top_p?: number | undefined;
672
- effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
673
- reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
705
+ effort?: "high" | "low" | "max" | "medium" | "none" | "xhigh" | undefined;
706
+ reasoning_effort?: "high" | "low" | "max" | "medium" | "none" | "xhigh" | undefined;
674
707
  verbosity?: "high" | "low" | "medium" | undefined;
675
708
  image_detail?: "auto" | "high" | "low" | undefined;
676
709
  include_thoughts?: boolean | undefined;
677
710
  } | {
678
- _option_id: "bedrock-mantle-chat-completions";
711
+ _option_id?: "bedrock-mantle-chat-completions" | undefined;
679
712
  max_tokens?: number | undefined;
680
713
  temperature?: number | undefined;
681
714
  top_p?: number | undefined;
@@ -684,29 +717,31 @@ export declare class InteractionBase<P = unknown> {
684
717
  reasoning_effort?: "high" | "low" | "medium" | undefined;
685
718
  include_thoughts?: boolean | undefined;
686
719
  } | {
687
- _option_id: "bedrock-mantle-claude";
720
+ _option_id?: "bedrock-mantle-claude" | undefined;
688
721
  max_tokens?: number | undefined;
689
722
  temperature?: number | undefined;
690
723
  top_p?: number | undefined;
691
724
  top_k?: number | undefined;
692
725
  stop_sequence?: string[] | undefined;
693
726
  effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
727
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
694
728
  thinking_budget_tokens?: number | undefined;
695
729
  include_thoughts?: boolean | undefined;
696
730
  cache_enabled?: boolean | undefined;
697
731
  cache_ttl?: "1h" | "5m" | undefined;
698
732
  } | {
699
- _option_id: "openai-thinking";
733
+ _option_id?: "openai-thinking" | undefined;
700
734
  max_tokens?: number | undefined;
701
735
  stop_sequence?: string[] | undefined;
702
736
  effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
703
737
  reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
738
+ reasoning_context?: "all_turns" | "auto" | "current_turn" | undefined;
704
739
  image_detail?: "auto" | "high" | "low" | undefined;
705
740
  include_thoughts?: boolean | undefined;
706
741
  service_tier?: string | undefined;
707
742
  extra_body?: Record<string, unknown> | undefined;
708
743
  } | {
709
- _option_id: "openai-text";
744
+ _option_id?: "openai-text" | undefined;
710
745
  max_tokens?: number | undefined;
711
746
  effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
712
747
  reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
@@ -720,27 +755,27 @@ export declare class InteractionBase<P = unknown> {
720
755
  service_tier?: string | undefined;
721
756
  extra_body?: Record<string, unknown> | undefined;
722
757
  } | {
723
- _option_id: "openai-dalle";
758
+ _option_id?: "openai-dalle" | undefined;
724
759
  size?: "1024x1024" | "1024x1792" | "1792x1024" | "256x256" | "512x512" | undefined;
725
760
  image_quality?: "hd" | "standard" | undefined;
726
761
  style?: "natural" | "vivid" | undefined;
727
762
  response_format?: "b64_json" | "url" | undefined;
728
763
  n?: number | undefined;
729
764
  } | {
730
- _option_id: "openai-gpt-image";
765
+ _option_id?: "openai-gpt-image" | undefined;
731
766
  size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto" | undefined;
732
767
  image_quality?: "auto" | "high" | "low" | "medium" | undefined;
733
768
  background?: "auto" | "opaque" | "transparent" | undefined;
734
769
  output_format?: "jpeg" | "png" | "webp" | undefined;
735
770
  } | {
736
- _option_id: "xai-grok-image";
771
+ _option_id?: "xai-grok-image" | undefined;
737
772
  aspect_ratio?: "16:9" | "19.5:9" | "1:1" | "1:2" | "20:9" | "2:1" | "2:3" | "3:2" | "3:4" | "4:3" | "9:16" | "9:19.5" | "9:20" | "auto" | undefined;
738
773
  resolution?: "1k" | "2k" | undefined;
739
774
  quality?: "low" | "medium" | undefined;
740
775
  response_format?: "b64_json" | "url" | undefined;
741
776
  n?: number | undefined;
742
777
  } | {
743
- _option_id: "groq-deepseek-thinking";
778
+ _option_id?: "groq-deepseek-thinking" | undefined;
744
779
  max_tokens?: number | undefined;
745
780
  temperature?: number | undefined;
746
781
  top_p?: number | undefined;
@@ -749,7 +784,7 @@ export declare class InteractionBase<P = unknown> {
749
784
  stop_sequence?: string[] | undefined;
750
785
  reasoning_format: "hidden" | "parsed" | "raw";
751
786
  } | {
752
- _option_id: "mistral-text";
787
+ _option_id?: "mistral-text" | undefined;
753
788
  max_tokens?: number | undefined;
754
789
  temperature?: number | undefined;
755
790
  top_p?: number | undefined;
@@ -763,6 +798,19 @@ export declare class InteractionBase<P = unknown> {
763
798
  tool_choice?: "any" | "auto" | "none" | "required" | undefined;
764
799
  prompt_mode?: "reasoning" | undefined;
765
800
  include_thoughts?: boolean | undefined;
801
+ } | {
802
+ _option_id?: "anthropic-claude" | undefined;
803
+ max_tokens?: number | undefined;
804
+ temperature?: number | undefined;
805
+ top_p?: number | undefined;
806
+ top_k?: number | undefined;
807
+ stop_sequence?: string[] | undefined;
808
+ effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
809
+ thinking_mode?: "adaptive" | "between_tools" | undefined;
810
+ thinking_budget_tokens?: number | undefined;
811
+ include_thoughts?: boolean | undefined;
812
+ cache_enabled?: boolean | undefined;
813
+ cache_ttl?: "1h" | "5m" | undefined;
766
814
  } | undefined;
767
815
  store_media_results?: boolean | undefined;
768
816
  restriction?: import("@vertesia/common").RunDataStorageLevel | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"InteractionBase.d.ts","sourceRoot":"","sources":["../src/InteractionBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvE,qBAAa,eAAe,CAAC,CAAC,GAAG,OAAO;IAIzB,EAAE,EAAE,MAAM;IAHrB,MAAM,EAAE,cAAc,CAAC;IAEvB,YACW,EAAE,EAAE,MAAM,EACjB,YAAY,EAAE,cAAc,GAAG,mBAAmB,EAOrD;IAED,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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