@adaline/groq 0.3.1 → 0.4.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.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { ProviderV1, ChatModelV1, ChatModelSchemaType, EmbeddingModelV1, EmbeddingModelSchemaType, ParamsType } from '@adaline/provider';
1
+ import { ProviderV1, ChatModelSchemaType, ChatModelV1, EmbeddingModelSchemaType, EmbeddingModelV1, ParamsType } from '@adaline/provider';
2
2
  import { z } from 'zod';
3
3
  import { BaseChatModel } from '@adaline/openai';
4
4
  import { MessageType } from '@adaline/types';
@@ -10,33 +10,35 @@ declare class Groq<O extends Record<string, any> = Record<string, any>> implemen
10
10
  private readonly chatModelFactories;
11
11
  private readonly embeddingModelFactories;
12
12
  chatModelLiterals(): string[];
13
- chatModel(name: string, options: O): ChatModelV1;
14
- chatModelSchema(name: string): ChatModelSchemaType;
15
13
  chatModelSchemas(): Record<string, ChatModelSchemaType>;
14
+ chatModel(options: O): ChatModelV1;
16
15
  embeddingModelLiterals(): string[];
17
- embeddingModel(name: string, options: O): EmbeddingModelV1;
18
- embeddingModelSchema(name: string): EmbeddingModelSchemaType;
19
16
  embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
17
+ embeddingModel(options: O): EmbeddingModelV1;
20
18
  }
21
19
 
22
20
  declare const BaseChatModelOptions: z.ZodObject<{
21
+ modelName: z.ZodString;
23
22
  apiKey: z.ZodString;
24
23
  }, "strip", z.ZodTypeAny, {
24
+ modelName: string;
25
25
  apiKey: string;
26
26
  }, {
27
+ modelName: string;
27
28
  apiKey: string;
28
29
  }>;
29
30
  type BaseChatModelOptionsType = z.infer<typeof BaseChatModelOptions>;
30
31
  declare class BaseChatModelGroq extends BaseChatModel {
31
32
  readonly version: "v1";
32
33
  modelSchema: ChatModelSchemaType;
34
+ readonly modelName: string;
33
35
  private readonly groqApiKey;
34
36
  constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType);
35
37
  transformMessages(messages: MessageType[]): ParamsType;
36
38
  }
37
39
 
38
- declare const Mixtral_8x7bLiteral: "mixtral-8x7b-32768";
39
- declare const Mixtral_8x7bSchema: {
40
+ declare const Gemma_7b_ITLiteral: "gemma-7b-it";
41
+ declare const Gemma_7b_ITSchema: {
40
42
  name: string;
41
43
  description: string;
42
44
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
@@ -50,15 +52,27 @@ declare const Mixtral_8x7bSchema: {
50
52
  title: string;
51
53
  description: string;
52
54
  max: number;
55
+ } | {
56
+ type: "object-schema";
57
+ param: string;
58
+ title: string;
59
+ description: string;
60
+ objectSchema?: any;
53
61
  } | {
54
62
  type: "range";
55
63
  param: string;
56
64
  title: string;
57
65
  description: string;
58
66
  max: number;
67
+ default: number;
59
68
  min: number;
60
69
  step: number;
61
- default: number;
70
+ } | {
71
+ type: "select-boolean";
72
+ param: string;
73
+ title: string;
74
+ description: string;
75
+ default: boolean | null;
62
76
  } | {
63
77
  type: "select-string";
64
78
  param: string;
@@ -66,36 +80,89 @@ declare const Mixtral_8x7bSchema: {
66
80
  description: string;
67
81
  default: string | null;
68
82
  choices: string[];
83
+ }>;
84
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
85
+ };
86
+ };
87
+ declare const Gemma_7b_ITOptions: z.ZodObject<{
88
+ modelName: z.ZodString;
89
+ apiKey: z.ZodString;
90
+ }, "strip", z.ZodTypeAny, {
91
+ modelName: string;
92
+ apiKey: string;
93
+ }, {
94
+ modelName: string;
95
+ apiKey: string;
96
+ }>;
97
+ type Gemma_7b_ITOptionsType = z.infer<typeof Gemma_7b_ITOptions>;
98
+ declare class Gemma_7b_IT extends BaseChatModelGroq {
99
+ constructor(options: Gemma_7b_ITOptionsType);
100
+ }
101
+
102
+ declare const Gemma2_9b_ITLiteral: "gemma2-9b-it";
103
+ declare const Gemma2_9b_ITSchema: {
104
+ name: string;
105
+ description: string;
106
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
107
+ modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
108
+ maxInputTokens: number;
109
+ maxOutputTokens: number;
110
+ config: {
111
+ def: Record<string, {
112
+ type: "multi-string";
113
+ param: string;
114
+ title: string;
115
+ description: string;
116
+ max: number;
69
117
  } | {
70
118
  type: "object-schema";
71
119
  param: string;
72
120
  title: string;
73
121
  description: string;
74
122
  objectSchema?: any;
123
+ } | {
124
+ type: "range";
125
+ param: string;
126
+ title: string;
127
+ description: string;
128
+ max: number;
129
+ default: number;
130
+ min: number;
131
+ step: number;
75
132
  } | {
76
133
  type: "select-boolean";
77
134
  param: string;
78
135
  title: string;
79
136
  description: string;
80
137
  default: boolean | null;
138
+ } | {
139
+ type: "select-string";
140
+ param: string;
141
+ title: string;
142
+ description: string;
143
+ default: string | null;
144
+ choices: string[];
81
145
  }>;
82
146
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
83
147
  };
84
148
  };
85
- declare const Mixtral_8x7bOptions: z.ZodObject<{
149
+ declare const Gemma2_9b_ITOptions: z.ZodObject<{
150
+ modelName: z.ZodString;
86
151
  apiKey: z.ZodString;
87
152
  }, "strip", z.ZodTypeAny, {
153
+ modelName: string;
88
154
  apiKey: string;
89
155
  }, {
156
+ modelName: string;
90
157
  apiKey: string;
91
158
  }>;
92
- type Mixtral_8x7bOptionsType = z.infer<typeof Mixtral_8x7bOptions>;
93
- declare class Mixtral_8x7b extends BaseChatModelGroq {
94
- constructor(options: Mixtral_8x7bOptionsType);
159
+ type Gemma2_9b_ITOptionsType = z.infer<typeof Gemma2_9b_ITOptions>;
160
+ declare class Gemma2_9b_IT extends BaseChatModelGroq {
161
+ constructor(options: Gemma2_9b_ITOptionsType);
95
162
  }
96
163
 
97
- declare const LlamaGuard_3_8bLiteral: "llama-guard-3-8b";
98
- declare const LlamaGuard_3_8bSchema: {
164
+ declare const Mixtral_8x7bLiteral: "mixtral-8x7b-32768";
165
+ declare const Mixtral_8x7bSchema: {
99
166
  name: string;
100
167
  description: string;
101
168
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
@@ -109,15 +176,27 @@ declare const LlamaGuard_3_8bSchema: {
109
176
  title: string;
110
177
  description: string;
111
178
  max: number;
179
+ } | {
180
+ type: "object-schema";
181
+ param: string;
182
+ title: string;
183
+ description: string;
184
+ objectSchema?: any;
112
185
  } | {
113
186
  type: "range";
114
187
  param: string;
115
188
  title: string;
116
189
  description: string;
117
190
  max: number;
191
+ default: number;
118
192
  min: number;
119
193
  step: number;
120
- default: number;
194
+ } | {
195
+ type: "select-boolean";
196
+ param: string;
197
+ title: string;
198
+ description: string;
199
+ default: boolean | null;
121
200
  } | {
122
201
  type: "select-string";
123
202
  param: string;
@@ -125,27 +204,80 @@ declare const LlamaGuard_3_8bSchema: {
125
204
  description: string;
126
205
  default: string | null;
127
206
  choices: string[];
207
+ }>;
208
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
209
+ };
210
+ };
211
+ declare const Mixtral_8x7bOptions: z.ZodObject<{
212
+ modelName: z.ZodString;
213
+ apiKey: z.ZodString;
214
+ }, "strip", z.ZodTypeAny, {
215
+ modelName: string;
216
+ apiKey: string;
217
+ }, {
218
+ modelName: string;
219
+ apiKey: string;
220
+ }>;
221
+ type Mixtral_8x7bOptionsType = z.infer<typeof Mixtral_8x7bOptions>;
222
+ declare class Mixtral_8x7b extends BaseChatModelGroq {
223
+ constructor(options: Mixtral_8x7bOptionsType);
224
+ }
225
+
226
+ declare const LlamaGuard_3_8bLiteral: "llama-guard-3-8b";
227
+ declare const LlamaGuard_3_8bSchema: {
228
+ name: string;
229
+ description: string;
230
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
231
+ modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
232
+ maxInputTokens: number;
233
+ maxOutputTokens: number;
234
+ config: {
235
+ def: Record<string, {
236
+ type: "multi-string";
237
+ param: string;
238
+ title: string;
239
+ description: string;
240
+ max: number;
128
241
  } | {
129
242
  type: "object-schema";
130
243
  param: string;
131
244
  title: string;
132
245
  description: string;
133
246
  objectSchema?: any;
247
+ } | {
248
+ type: "range";
249
+ param: string;
250
+ title: string;
251
+ description: string;
252
+ max: number;
253
+ default: number;
254
+ min: number;
255
+ step: number;
134
256
  } | {
135
257
  type: "select-boolean";
136
258
  param: string;
137
259
  title: string;
138
260
  description: string;
139
261
  default: boolean | null;
262
+ } | {
263
+ type: "select-string";
264
+ param: string;
265
+ title: string;
266
+ description: string;
267
+ default: string | null;
268
+ choices: string[];
140
269
  }>;
141
270
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
142
271
  };
143
272
  };
144
273
  declare const LlamaGuard_3_8bOptions: z.ZodObject<{
274
+ modelName: z.ZodString;
145
275
  apiKey: z.ZodString;
146
276
  }, "strip", z.ZodTypeAny, {
277
+ modelName: string;
147
278
  apiKey: string;
148
279
  }, {
280
+ modelName: string;
149
281
  apiKey: string;
150
282
  }>;
151
283
  type LlamaGuard_3_8bOptionsType = z.infer<typeof LlamaGuard_3_8bOptions>;
@@ -169,42 +301,45 @@ declare const Llama_3_8bSchema: {
169
301
  description: string;
170
302
  max: number;
171
303
  } | {
172
- type: "range";
304
+ type: "object-schema";
173
305
  param: string;
174
306
  title: string;
175
307
  description: string;
176
- max: number;
177
- min: number;
178
- step: number;
179
- default: number;
308
+ objectSchema?: any;
180
309
  } | {
181
- type: "select-string";
310
+ type: "range";
182
311
  param: string;
183
312
  title: string;
184
313
  description: string;
185
- default: string | null;
186
- choices: string[];
314
+ max: number;
315
+ default: number;
316
+ min: number;
317
+ step: number;
187
318
  } | {
188
- type: "object-schema";
319
+ type: "select-boolean";
189
320
  param: string;
190
321
  title: string;
191
322
  description: string;
192
- objectSchema?: any;
323
+ default: boolean | null;
193
324
  } | {
194
- type: "select-boolean";
325
+ type: "select-string";
195
326
  param: string;
196
327
  title: string;
197
328
  description: string;
198
- default: boolean | null;
329
+ default: string | null;
330
+ choices: string[];
199
331
  }>;
200
332
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
201
333
  };
202
334
  };
203
335
  declare const Llama_3_8bOptions: z.ZodObject<{
336
+ modelName: z.ZodString;
204
337
  apiKey: z.ZodString;
205
338
  }, "strip", z.ZodTypeAny, {
339
+ modelName: string;
206
340
  apiKey: string;
207
341
  }, {
342
+ modelName: string;
208
343
  apiKey: string;
209
344
  }>;
210
345
  type Llama_3_8bOptionsType = z.infer<typeof Llama_3_8bOptions>;
@@ -228,42 +363,45 @@ declare const Llama_3_70bSchema: {
228
363
  description: string;
229
364
  max: number;
230
365
  } | {
231
- type: "range";
366
+ type: "object-schema";
232
367
  param: string;
233
368
  title: string;
234
369
  description: string;
235
- max: number;
236
- min: number;
237
- step: number;
238
- default: number;
370
+ objectSchema?: any;
239
371
  } | {
240
- type: "select-string";
372
+ type: "range";
241
373
  param: string;
242
374
  title: string;
243
375
  description: string;
244
- default: string | null;
245
- choices: string[];
376
+ max: number;
377
+ default: number;
378
+ min: number;
379
+ step: number;
246
380
  } | {
247
- type: "object-schema";
381
+ type: "select-boolean";
248
382
  param: string;
249
383
  title: string;
250
384
  description: string;
251
- objectSchema?: any;
385
+ default: boolean | null;
252
386
  } | {
253
- type: "select-boolean";
387
+ type: "select-string";
254
388
  param: string;
255
389
  title: string;
256
390
  description: string;
257
- default: boolean | null;
391
+ default: string | null;
392
+ choices: string[];
258
393
  }>;
259
394
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
260
395
  };
261
396
  };
262
397
  declare const Llama_3_70bOptions: z.ZodObject<{
398
+ modelName: z.ZodString;
263
399
  apiKey: z.ZodString;
264
400
  }, "strip", z.ZodTypeAny, {
401
+ modelName: string;
265
402
  apiKey: string;
266
403
  }, {
404
+ modelName: string;
267
405
  apiKey: string;
268
406
  }>;
269
407
  type Llama_3_70bOptionsType = z.infer<typeof Llama_3_70bOptions>;
@@ -287,42 +425,45 @@ declare const Llama_3_70b_Tool_UseSchema: {
287
425
  description: string;
288
426
  max: number;
289
427
  } | {
290
- type: "range";
428
+ type: "object-schema";
291
429
  param: string;
292
430
  title: string;
293
431
  description: string;
294
- max: number;
295
- min: number;
296
- step: number;
297
- default: number;
432
+ objectSchema?: any;
298
433
  } | {
299
- type: "select-string";
434
+ type: "range";
300
435
  param: string;
301
436
  title: string;
302
437
  description: string;
303
- default: string | null;
304
- choices: string[];
438
+ max: number;
439
+ default: number;
440
+ min: number;
441
+ step: number;
305
442
  } | {
306
- type: "object-schema";
443
+ type: "select-boolean";
307
444
  param: string;
308
445
  title: string;
309
446
  description: string;
310
- objectSchema?: any;
447
+ default: boolean | null;
311
448
  } | {
312
- type: "select-boolean";
449
+ type: "select-string";
313
450
  param: string;
314
451
  title: string;
315
452
  description: string;
316
- default: boolean | null;
453
+ default: string | null;
454
+ choices: string[];
317
455
  }>;
318
456
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
319
457
  };
320
458
  };
321
459
  declare const Llama_3_70b_Tool_Use_Options: z.ZodObject<{
460
+ modelName: z.ZodString;
322
461
  apiKey: z.ZodString;
323
462
  }, "strip", z.ZodTypeAny, {
463
+ modelName: string;
324
464
  apiKey: string;
325
465
  }, {
466
+ modelName: string;
326
467
  apiKey: string;
327
468
  }>;
328
469
  type Llama_3_70b_Tool_Use_OptionsType = z.infer<typeof Llama_3_70b_Tool_Use_Options>;
@@ -346,42 +487,45 @@ declare const Llama_3_8b_Tool_UseSchema: {
346
487
  description: string;
347
488
  max: number;
348
489
  } | {
349
- type: "range";
490
+ type: "object-schema";
350
491
  param: string;
351
492
  title: string;
352
493
  description: string;
353
- max: number;
354
- min: number;
355
- step: number;
356
- default: number;
494
+ objectSchema?: any;
357
495
  } | {
358
- type: "select-string";
496
+ type: "range";
359
497
  param: string;
360
498
  title: string;
361
499
  description: string;
362
- default: string | null;
363
- choices: string[];
500
+ max: number;
501
+ default: number;
502
+ min: number;
503
+ step: number;
364
504
  } | {
365
- type: "object-schema";
505
+ type: "select-boolean";
366
506
  param: string;
367
507
  title: string;
368
508
  description: string;
369
- objectSchema?: any;
509
+ default: boolean | null;
370
510
  } | {
371
- type: "select-boolean";
511
+ type: "select-string";
372
512
  param: string;
373
513
  title: string;
374
514
  description: string;
375
- default: boolean | null;
515
+ default: string | null;
516
+ choices: string[];
376
517
  }>;
377
518
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
378
519
  };
379
520
  };
380
521
  declare const Llama_3_8b_Tool_Use_Options: z.ZodObject<{
522
+ modelName: z.ZodString;
381
523
  apiKey: z.ZodString;
382
524
  }, "strip", z.ZodTypeAny, {
525
+ modelName: string;
383
526
  apiKey: string;
384
527
  }, {
528
+ modelName: string;
385
529
  apiKey: string;
386
530
  }>;
387
531
  type Llama_3_8b_Tool_Use_OptionsType = z.infer<typeof Llama_3_8b_Tool_Use_Options>;
@@ -405,42 +549,45 @@ declare const Llama_3_2_11b_VisionSchema: {
405
549
  description: string;
406
550
  max: number;
407
551
  } | {
408
- type: "range";
552
+ type: "object-schema";
409
553
  param: string;
410
554
  title: string;
411
555
  description: string;
412
- max: number;
413
- min: number;
414
- step: number;
415
- default: number;
556
+ objectSchema?: any;
416
557
  } | {
417
- type: "select-string";
558
+ type: "range";
418
559
  param: string;
419
560
  title: string;
420
561
  description: string;
421
- default: string | null;
422
- choices: string[];
562
+ max: number;
563
+ default: number;
564
+ min: number;
565
+ step: number;
423
566
  } | {
424
- type: "object-schema";
567
+ type: "select-boolean";
425
568
  param: string;
426
569
  title: string;
427
570
  description: string;
428
- objectSchema?: any;
571
+ default: boolean | null;
429
572
  } | {
430
- type: "select-boolean";
573
+ type: "select-string";
431
574
  param: string;
432
575
  title: string;
433
576
  description: string;
434
- default: boolean | null;
577
+ default: string | null;
578
+ choices: string[];
435
579
  }>;
436
580
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
437
581
  };
438
582
  };
439
583
  declare const Llama_3_2_11b_VisionOptions: z.ZodObject<{
584
+ modelName: z.ZodString;
440
585
  apiKey: z.ZodString;
441
586
  }, "strip", z.ZodTypeAny, {
587
+ modelName: string;
442
588
  apiKey: string;
443
589
  }, {
590
+ modelName: string;
444
591
  apiKey: string;
445
592
  }>;
446
593
  type Llama_3_2_11b_VisionOptionsType = z.infer<typeof Llama_3_2_11b_VisionOptions>;
@@ -464,42 +611,45 @@ declare const Llama_3_2_3bSchema: {
464
611
  description: string;
465
612
  max: number;
466
613
  } | {
467
- type: "range";
614
+ type: "object-schema";
468
615
  param: string;
469
616
  title: string;
470
617
  description: string;
471
- max: number;
472
- min: number;
473
- step: number;
474
- default: number;
618
+ objectSchema?: any;
475
619
  } | {
476
- type: "select-string";
620
+ type: "range";
477
621
  param: string;
478
622
  title: string;
479
623
  description: string;
480
- default: string | null;
481
- choices: string[];
624
+ max: number;
625
+ default: number;
626
+ min: number;
627
+ step: number;
482
628
  } | {
483
- type: "object-schema";
629
+ type: "select-boolean";
484
630
  param: string;
485
631
  title: string;
486
632
  description: string;
487
- objectSchema?: any;
633
+ default: boolean | null;
488
634
  } | {
489
- type: "select-boolean";
635
+ type: "select-string";
490
636
  param: string;
491
637
  title: string;
492
638
  description: string;
493
- default: boolean | null;
639
+ default: string | null;
640
+ choices: string[];
494
641
  }>;
495
642
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
496
643
  };
497
644
  };
498
645
  declare const Llama_3_2_3b_Options: z.ZodObject<{
646
+ modelName: z.ZodString;
499
647
  apiKey: z.ZodString;
500
648
  }, "strip", z.ZodTypeAny, {
649
+ modelName: string;
501
650
  apiKey: string;
502
651
  }, {
652
+ modelName: string;
503
653
  apiKey: string;
504
654
  }>;
505
655
  type Llama_3_2_3b_OptionsType = z.infer<typeof Llama_3_2_3b_Options>;
@@ -523,42 +673,45 @@ declare const Llama_3_2_1bSchema: {
523
673
  description: string;
524
674
  max: number;
525
675
  } | {
526
- type: "range";
676
+ type: "object-schema";
527
677
  param: string;
528
678
  title: string;
529
679
  description: string;
530
- max: number;
531
- min: number;
532
- step: number;
533
- default: number;
680
+ objectSchema?: any;
534
681
  } | {
535
- type: "select-string";
682
+ type: "range";
536
683
  param: string;
537
684
  title: string;
538
685
  description: string;
539
- default: string | null;
540
- choices: string[];
686
+ max: number;
687
+ default: number;
688
+ min: number;
689
+ step: number;
541
690
  } | {
542
- type: "object-schema";
691
+ type: "select-boolean";
543
692
  param: string;
544
693
  title: string;
545
694
  description: string;
546
- objectSchema?: any;
695
+ default: boolean | null;
547
696
  } | {
548
- type: "select-boolean";
697
+ type: "select-string";
549
698
  param: string;
550
699
  title: string;
551
700
  description: string;
552
- default: boolean | null;
701
+ default: string | null;
702
+ choices: string[];
553
703
  }>;
554
704
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
555
705
  };
556
706
  };
557
707
  declare const Llama_3_2_1b_Options: z.ZodObject<{
708
+ modelName: z.ZodString;
558
709
  apiKey: z.ZodString;
559
710
  }, "strip", z.ZodTypeAny, {
711
+ modelName: string;
560
712
  apiKey: string;
561
713
  }, {
714
+ modelName: string;
562
715
  apiKey: string;
563
716
  }>;
564
717
  type Llama_3_2_1b_OptionsType = z.infer<typeof Llama_3_2_1b_Options>;
@@ -582,42 +735,45 @@ declare const Llama_3_1_70bSchema: {
582
735
  description: string;
583
736
  max: number;
584
737
  } | {
585
- type: "range";
738
+ type: "object-schema";
586
739
  param: string;
587
740
  title: string;
588
741
  description: string;
589
- max: number;
590
- min: number;
591
- step: number;
592
- default: number;
742
+ objectSchema?: any;
593
743
  } | {
594
- type: "select-string";
744
+ type: "range";
595
745
  param: string;
596
746
  title: string;
597
747
  description: string;
598
- default: string | null;
599
- choices: string[];
748
+ max: number;
749
+ default: number;
750
+ min: number;
751
+ step: number;
600
752
  } | {
601
- type: "object-schema";
753
+ type: "select-boolean";
602
754
  param: string;
603
755
  title: string;
604
756
  description: string;
605
- objectSchema?: any;
757
+ default: boolean | null;
606
758
  } | {
607
- type: "select-boolean";
759
+ type: "select-string";
608
760
  param: string;
609
761
  title: string;
610
762
  description: string;
611
- default: boolean | null;
763
+ default: string | null;
764
+ choices: string[];
612
765
  }>;
613
766
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
614
767
  };
615
768
  };
616
769
  declare const Llama_3_1_70b_Options: z.ZodObject<{
770
+ modelName: z.ZodString;
617
771
  apiKey: z.ZodString;
618
772
  }, "strip", z.ZodTypeAny, {
773
+ modelName: string;
619
774
  apiKey: string;
620
775
  }, {
776
+ modelName: string;
621
777
  apiKey: string;
622
778
  }>;
623
779
  type Llama_3_1_70b_OptionsType = z.infer<typeof Llama_3_1_70b_Options>;
@@ -641,42 +797,45 @@ declare const Llama_3_1_8bSchema: {
641
797
  description: string;
642
798
  max: number;
643
799
  } | {
644
- type: "range";
800
+ type: "object-schema";
645
801
  param: string;
646
802
  title: string;
647
803
  description: string;
648
- max: number;
649
- min: number;
650
- step: number;
651
- default: number;
804
+ objectSchema?: any;
652
805
  } | {
653
- type: "select-string";
806
+ type: "range";
654
807
  param: string;
655
808
  title: string;
656
809
  description: string;
657
- default: string | null;
658
- choices: string[];
810
+ max: number;
811
+ default: number;
812
+ min: number;
813
+ step: number;
659
814
  } | {
660
- type: "object-schema";
815
+ type: "select-boolean";
661
816
  param: string;
662
817
  title: string;
663
818
  description: string;
664
- objectSchema?: any;
819
+ default: boolean | null;
665
820
  } | {
666
- type: "select-boolean";
821
+ type: "select-string";
667
822
  param: string;
668
823
  title: string;
669
824
  description: string;
670
- default: boolean | null;
825
+ default: string | null;
826
+ choices: string[];
671
827
  }>;
672
828
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
673
829
  };
674
830
  };
675
831
  declare const Llama_3_1_8b_Options: z.ZodObject<{
832
+ modelName: z.ZodString;
676
833
  apiKey: z.ZodString;
677
834
  }, "strip", z.ZodTypeAny, {
835
+ modelName: string;
678
836
  apiKey: string;
679
837
  }, {
838
+ modelName: string;
680
839
  apiKey: string;
681
840
  }>;
682
841
  type Llama_3_1_8b_OptionsType = z.infer<typeof Llama_3_1_8b_Options>;
@@ -684,4 +843,4 @@ declare class Llama_3_1_8b extends BaseChatModelGroq {
684
843
  constructor(options: Llama_3_1_8b_OptionsType);
685
844
  }
686
845
 
687
- export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType, Groq, LlamaGuard_3_8b, LlamaGuard_3_8bLiteral, LlamaGuard_3_8bOptions, type LlamaGuard_3_8bOptionsType, LlamaGuard_3_8bSchema, Llama_3_1_70b, Llama_3_1_70bLiteral, Llama_3_1_70bSchema, Llama_3_1_70b_Options, type Llama_3_1_70b_OptionsType, Llama_3_1_8b, Llama_3_1_8bLiteral, Llama_3_1_8bSchema, Llama_3_1_8b_Options, type Llama_3_1_8b_OptionsType, Llama_3_2_11b_Vision, Llama_3_2_11b_VisionLiteral, Llama_3_2_11b_VisionOptions, type Llama_3_2_11b_VisionOptionsType, Llama_3_2_11b_VisionSchema, Llama_3_2_1b, Llama_3_2_1bLiteral, Llama_3_2_1bSchema, Llama_3_2_1b_Options, type Llama_3_2_1b_OptionsType, Llama_3_2_3b, Llama_3_2_3bLiteral, Llama_3_2_3bSchema, Llama_3_2_3b_Options, type Llama_3_2_3b_OptionsType, Llama_3_70b, Llama_3_70bLiteral, Llama_3_70bOptions, type Llama_3_70bOptionsType, Llama_3_70bSchema, Llama_3_70b_Tool_Use, Llama_3_70b_Tool_UseLiteral, Llama_3_70b_Tool_UseSchema, Llama_3_70b_Tool_Use_Options, type Llama_3_70b_Tool_Use_OptionsType, Llama_3_8b, Llama_3_8bLiteral, Llama_3_8bOptions, type Llama_3_8bOptionsType, Llama_3_8bSchema, Llama_3_8b_Tool_Use, Llama_3_8b_Tool_UseLiteral, Llama_3_8b_Tool_UseSchema, Llama_3_8b_Tool_Use_Options, type Llama_3_8b_Tool_Use_OptionsType, Mixtral_8x7b, Mixtral_8x7bLiteral, Mixtral_8x7bOptions, type Mixtral_8x7bOptionsType, Mixtral_8x7bSchema };
846
+ export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType, Gemma2_9b_IT, Gemma2_9b_ITLiteral, Gemma2_9b_ITOptions, type Gemma2_9b_ITOptionsType, Gemma2_9b_ITSchema, Gemma_7b_IT, Gemma_7b_ITLiteral, Gemma_7b_ITOptions, type Gemma_7b_ITOptionsType, Gemma_7b_ITSchema, Groq, LlamaGuard_3_8b, LlamaGuard_3_8bLiteral, LlamaGuard_3_8bOptions, type LlamaGuard_3_8bOptionsType, LlamaGuard_3_8bSchema, Llama_3_1_70b, Llama_3_1_70bLiteral, Llama_3_1_70bSchema, Llama_3_1_70b_Options, type Llama_3_1_70b_OptionsType, Llama_3_1_8b, Llama_3_1_8bLiteral, Llama_3_1_8bSchema, Llama_3_1_8b_Options, type Llama_3_1_8b_OptionsType, Llama_3_2_11b_Vision, Llama_3_2_11b_VisionLiteral, Llama_3_2_11b_VisionOptions, type Llama_3_2_11b_VisionOptionsType, Llama_3_2_11b_VisionSchema, Llama_3_2_1b, Llama_3_2_1bLiteral, Llama_3_2_1bSchema, Llama_3_2_1b_Options, type Llama_3_2_1b_OptionsType, Llama_3_2_3b, Llama_3_2_3bLiteral, Llama_3_2_3bSchema, Llama_3_2_3b_Options, type Llama_3_2_3b_OptionsType, Llama_3_70b, Llama_3_70bLiteral, Llama_3_70bOptions, type Llama_3_70bOptionsType, Llama_3_70bSchema, Llama_3_70b_Tool_Use, Llama_3_70b_Tool_UseLiteral, Llama_3_70b_Tool_UseSchema, Llama_3_70b_Tool_Use_Options, type Llama_3_70b_Tool_Use_OptionsType, Llama_3_8b, Llama_3_8bLiteral, Llama_3_8bOptions, type Llama_3_8bOptionsType, Llama_3_8bSchema, Llama_3_8b_Tool_Use, Llama_3_8b_Tool_UseLiteral, Llama_3_8b_Tool_UseSchema, Llama_3_8b_Tool_Use_Options, type Llama_3_8b_Tool_Use_OptionsType, Mixtral_8x7b, Mixtral_8x7bLiteral, Mixtral_8x7bOptions, type Mixtral_8x7bOptionsType, Mixtral_8x7bSchema };