@adaline/groq 1.2.4 → 1.3.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 +31 -185
- package/dist/index.d.ts +31 -185
- package/dist/index.js +30 -38
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -178,85 +178,8 @@ declare class Llama_3_1_8b extends BaseChatModelGroq {
|
|
|
178
178
|
constructor(options: Llama_3_1_8b_OptionsType);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
declare const
|
|
182
|
-
declare const
|
|
183
|
-
name: string;
|
|
184
|
-
description: string;
|
|
185
|
-
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
186
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
187
|
-
maxInputTokens: number;
|
|
188
|
-
maxOutputTokens: number;
|
|
189
|
-
config: {
|
|
190
|
-
def: Record<string, {
|
|
191
|
-
type: "multi-string";
|
|
192
|
-
param: string;
|
|
193
|
-
title: string;
|
|
194
|
-
description: string;
|
|
195
|
-
max: number;
|
|
196
|
-
} | {
|
|
197
|
-
type: "object-schema";
|
|
198
|
-
param: string;
|
|
199
|
-
title: string;
|
|
200
|
-
description: string;
|
|
201
|
-
objectSchema?: any;
|
|
202
|
-
} | {
|
|
203
|
-
type: "range";
|
|
204
|
-
param: string;
|
|
205
|
-
title: string;
|
|
206
|
-
description: string;
|
|
207
|
-
max: number;
|
|
208
|
-
default: number;
|
|
209
|
-
min: number;
|
|
210
|
-
step: number;
|
|
211
|
-
} | {
|
|
212
|
-
type: "select-boolean";
|
|
213
|
-
param: string;
|
|
214
|
-
title: string;
|
|
215
|
-
description: string;
|
|
216
|
-
default: boolean | null;
|
|
217
|
-
} | {
|
|
218
|
-
type: "select-string";
|
|
219
|
-
param: string;
|
|
220
|
-
title: string;
|
|
221
|
-
description: string;
|
|
222
|
-
default: string;
|
|
223
|
-
choices: string[];
|
|
224
|
-
}>;
|
|
225
|
-
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
226
|
-
};
|
|
227
|
-
price: {
|
|
228
|
-
modelName: string;
|
|
229
|
-
currency: string;
|
|
230
|
-
tokenRanges: {
|
|
231
|
-
minTokens: number;
|
|
232
|
-
prices: {
|
|
233
|
-
base: {
|
|
234
|
-
inputPricePerMillion: number;
|
|
235
|
-
outputPricePerMillion: number;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
maxTokens?: number | null | undefined;
|
|
239
|
-
}[];
|
|
240
|
-
};
|
|
241
|
-
maxReasoningTokens?: number | undefined;
|
|
242
|
-
};
|
|
243
|
-
declare const Llama_3_2_11b_VisionOptions: z.ZodObject<{
|
|
244
|
-
modelName: z.ZodString;
|
|
245
|
-
apiKey: z.ZodString;
|
|
246
|
-
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
modelName: string;
|
|
248
|
-
apiKey: string;
|
|
249
|
-
}, {
|
|
250
|
-
modelName: string;
|
|
251
|
-
apiKey: string;
|
|
252
|
-
}>;
|
|
253
|
-
type Llama_3_2_11b_VisionOptionsType = z.infer<typeof Llama_3_2_11b_VisionOptions>;
|
|
254
|
-
declare class Llama_3_2_11b_Vision extends BaseChatModelGroq {
|
|
255
|
-
constructor(options: Llama_3_2_11b_VisionOptionsType);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
declare const Llama_3_2_1bLiteral: "llama-3.2-1b-preview";
|
|
259
|
-
declare const Llama_3_2_1bSchema: {
|
|
181
|
+
declare const Llama_3_3_70b_VersatileLiteral: "llama-3.3-70b-versatile";
|
|
182
|
+
declare const Llama_3_3_70b_VersatileSchema: {
|
|
260
183
|
name: string;
|
|
261
184
|
description: string;
|
|
262
185
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -317,7 +240,7 @@ declare const Llama_3_2_1bSchema: {
|
|
|
317
240
|
};
|
|
318
241
|
maxReasoningTokens?: number | undefined;
|
|
319
242
|
};
|
|
320
|
-
declare const
|
|
243
|
+
declare const Llama_3_3_70b_Versatile_Options: z.ZodObject<{
|
|
321
244
|
modelName: z.ZodString;
|
|
322
245
|
apiKey: z.ZodString;
|
|
323
246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -327,13 +250,13 @@ declare const Llama_3_2_1b_Options: z.ZodObject<{
|
|
|
327
250
|
modelName: string;
|
|
328
251
|
apiKey: string;
|
|
329
252
|
}>;
|
|
330
|
-
type
|
|
331
|
-
declare class
|
|
332
|
-
constructor(options:
|
|
253
|
+
type Llama_3_3_70b_Versatile_OptionsType = z.infer<typeof Llama_3_3_70b_Versatile_Options>;
|
|
254
|
+
declare class Llama_3_3_70b_Versatile extends BaseChatModelGroq {
|
|
255
|
+
constructor(options: Llama_3_3_70b_Versatile_OptionsType);
|
|
333
256
|
}
|
|
334
257
|
|
|
335
|
-
declare const
|
|
336
|
-
declare const
|
|
258
|
+
declare const Llama_Guard_4_12bLiteral: "meta-llama/llama-guard-4-12b";
|
|
259
|
+
declare const Llama_Guard_4_12bSchema: {
|
|
337
260
|
name: string;
|
|
338
261
|
description: string;
|
|
339
262
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -394,84 +317,7 @@ declare const Llama_3_2_3bSchema: {
|
|
|
394
317
|
};
|
|
395
318
|
maxReasoningTokens?: number | undefined;
|
|
396
319
|
};
|
|
397
|
-
declare const
|
|
398
|
-
modelName: z.ZodString;
|
|
399
|
-
apiKey: z.ZodString;
|
|
400
|
-
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
modelName: string;
|
|
402
|
-
apiKey: string;
|
|
403
|
-
}, {
|
|
404
|
-
modelName: string;
|
|
405
|
-
apiKey: string;
|
|
406
|
-
}>;
|
|
407
|
-
type Llama_3_2_3b_OptionsType = z.infer<typeof Llama_3_2_3b_Options>;
|
|
408
|
-
declare class Llama_3_2_3b extends BaseChatModelGroq {
|
|
409
|
-
constructor(options: Llama_3_2_3b_OptionsType);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
declare const Llama_3_2_90b_VisionLiteral: "llama-3.2-90b-vision-preview";
|
|
413
|
-
declare const Llama_3_2_90b_VisionSchema: {
|
|
414
|
-
name: string;
|
|
415
|
-
description: string;
|
|
416
|
-
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
417
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
418
|
-
maxInputTokens: number;
|
|
419
|
-
maxOutputTokens: number;
|
|
420
|
-
config: {
|
|
421
|
-
def: Record<string, {
|
|
422
|
-
type: "multi-string";
|
|
423
|
-
param: string;
|
|
424
|
-
title: string;
|
|
425
|
-
description: string;
|
|
426
|
-
max: number;
|
|
427
|
-
} | {
|
|
428
|
-
type: "object-schema";
|
|
429
|
-
param: string;
|
|
430
|
-
title: string;
|
|
431
|
-
description: string;
|
|
432
|
-
objectSchema?: any;
|
|
433
|
-
} | {
|
|
434
|
-
type: "range";
|
|
435
|
-
param: string;
|
|
436
|
-
title: string;
|
|
437
|
-
description: string;
|
|
438
|
-
max: number;
|
|
439
|
-
default: number;
|
|
440
|
-
min: number;
|
|
441
|
-
step: number;
|
|
442
|
-
} | {
|
|
443
|
-
type: "select-boolean";
|
|
444
|
-
param: string;
|
|
445
|
-
title: string;
|
|
446
|
-
description: string;
|
|
447
|
-
default: boolean | null;
|
|
448
|
-
} | {
|
|
449
|
-
type: "select-string";
|
|
450
|
-
param: string;
|
|
451
|
-
title: string;
|
|
452
|
-
description: string;
|
|
453
|
-
default: string;
|
|
454
|
-
choices: string[];
|
|
455
|
-
}>;
|
|
456
|
-
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
457
|
-
};
|
|
458
|
-
price: {
|
|
459
|
-
modelName: string;
|
|
460
|
-
currency: string;
|
|
461
|
-
tokenRanges: {
|
|
462
|
-
minTokens: number;
|
|
463
|
-
prices: {
|
|
464
|
-
base: {
|
|
465
|
-
inputPricePerMillion: number;
|
|
466
|
-
outputPricePerMillion: number;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
maxTokens?: number | null | undefined;
|
|
470
|
-
}[];
|
|
471
|
-
};
|
|
472
|
-
maxReasoningTokens?: number | undefined;
|
|
473
|
-
};
|
|
474
|
-
declare const Llama_3_2_90b_VisionOptions: z.ZodObject<{
|
|
320
|
+
declare const Llama_Guard_4_12b_Options: z.ZodObject<{
|
|
475
321
|
modelName: z.ZodString;
|
|
476
322
|
apiKey: z.ZodString;
|
|
477
323
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -481,13 +327,13 @@ declare const Llama_3_2_90b_VisionOptions: z.ZodObject<{
|
|
|
481
327
|
modelName: string;
|
|
482
328
|
apiKey: string;
|
|
483
329
|
}>;
|
|
484
|
-
type
|
|
485
|
-
declare class
|
|
486
|
-
constructor(options:
|
|
330
|
+
type Llama_Guard_4_12b_OptionsType = z.infer<typeof Llama_Guard_4_12b_Options>;
|
|
331
|
+
declare class Llama_Guard_4_12b extends BaseChatModelGroq {
|
|
332
|
+
constructor(options: Llama_Guard_4_12b_OptionsType);
|
|
487
333
|
}
|
|
488
334
|
|
|
489
|
-
declare const
|
|
490
|
-
declare const
|
|
335
|
+
declare const Qwen3_32bLiteral: "qwen/qwen3-32b";
|
|
336
|
+
declare const Qwen3_32bSchema: {
|
|
491
337
|
name: string;
|
|
492
338
|
description: string;
|
|
493
339
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -548,7 +394,7 @@ declare const Llama_3_70bSchema: {
|
|
|
548
394
|
};
|
|
549
395
|
maxReasoningTokens?: number | undefined;
|
|
550
396
|
};
|
|
551
|
-
declare const
|
|
397
|
+
declare const Qwen3_32b_Options: z.ZodObject<{
|
|
552
398
|
modelName: z.ZodString;
|
|
553
399
|
apiKey: z.ZodString;
|
|
554
400
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -558,13 +404,13 @@ declare const Llama_3_70bOptions: z.ZodObject<{
|
|
|
558
404
|
modelName: string;
|
|
559
405
|
apiKey: string;
|
|
560
406
|
}>;
|
|
561
|
-
type
|
|
562
|
-
declare class
|
|
563
|
-
constructor(options:
|
|
407
|
+
type Qwen3_32b_OptionsType = z.infer<typeof Qwen3_32b_Options>;
|
|
408
|
+
declare class Qwen3_32b extends BaseChatModelGroq {
|
|
409
|
+
constructor(options: Qwen3_32b_OptionsType);
|
|
564
410
|
}
|
|
565
411
|
|
|
566
|
-
declare const
|
|
567
|
-
declare const
|
|
412
|
+
declare const Deepseek_R1_Distill_Llama_70bLiteral: "deepseek-r1-distill-llama-70b";
|
|
413
|
+
declare const Deepseek_R1_Distill_Llama_70bSchema: {
|
|
568
414
|
name: string;
|
|
569
415
|
description: string;
|
|
570
416
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -625,7 +471,7 @@ declare const Llama_3_8bSchema: {
|
|
|
625
471
|
};
|
|
626
472
|
maxReasoningTokens?: number | undefined;
|
|
627
473
|
};
|
|
628
|
-
declare const
|
|
474
|
+
declare const Deepseek_R1_Distill_Llama_70b_Options: z.ZodObject<{
|
|
629
475
|
modelName: z.ZodString;
|
|
630
476
|
apiKey: z.ZodString;
|
|
631
477
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -635,13 +481,13 @@ declare const Llama_3_8bOptions: z.ZodObject<{
|
|
|
635
481
|
modelName: string;
|
|
636
482
|
apiKey: string;
|
|
637
483
|
}>;
|
|
638
|
-
type
|
|
639
|
-
declare class
|
|
640
|
-
constructor(options:
|
|
484
|
+
type Deepseek_R1_Distill_Llama_70b_OptionsType = z.infer<typeof Deepseek_R1_Distill_Llama_70b_Options>;
|
|
485
|
+
declare class Deepseek_R1_Distill_Llama_70b extends BaseChatModelGroq {
|
|
486
|
+
constructor(options: Deepseek_R1_Distill_Llama_70b_OptionsType);
|
|
641
487
|
}
|
|
642
488
|
|
|
643
|
-
declare const
|
|
644
|
-
declare const
|
|
489
|
+
declare const Kimi_K2_InstructLiteral: "moonshotai/kimi-k2-instruct";
|
|
490
|
+
declare const Kimi_K2_InstructSchema: {
|
|
645
491
|
name: string;
|
|
646
492
|
description: string;
|
|
647
493
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -702,7 +548,7 @@ declare const LlamaGuard_3_8bSchema: {
|
|
|
702
548
|
};
|
|
703
549
|
maxReasoningTokens?: number | undefined;
|
|
704
550
|
};
|
|
705
|
-
declare const
|
|
551
|
+
declare const Kimi_K2_Instruct_Options: z.ZodObject<{
|
|
706
552
|
modelName: z.ZodString;
|
|
707
553
|
apiKey: z.ZodString;
|
|
708
554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -712,9 +558,9 @@ declare const LlamaGuard_3_8bOptions: z.ZodObject<{
|
|
|
712
558
|
modelName: string;
|
|
713
559
|
apiKey: string;
|
|
714
560
|
}>;
|
|
715
|
-
type
|
|
716
|
-
declare class
|
|
717
|
-
constructor(options:
|
|
561
|
+
type Kimi_K2_Instruct_OptionsType = z.infer<typeof Kimi_K2_Instruct_Options>;
|
|
562
|
+
declare class Kimi_K2_Instruct extends BaseChatModelGroq {
|
|
563
|
+
constructor(options: Kimi_K2_Instruct_OptionsType);
|
|
718
564
|
}
|
|
719
565
|
|
|
720
566
|
declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string, any> = Record<string, any>> implements ProviderV1<C, E> {
|
|
@@ -731,4 +577,4 @@ declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string,
|
|
|
731
577
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
732
578
|
}
|
|
733
579
|
|
|
734
|
-
export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType,
|
|
580
|
+
export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType, Deepseek_R1_Distill_Llama_70b, Deepseek_R1_Distill_Llama_70bLiteral, Deepseek_R1_Distill_Llama_70bSchema, Deepseek_R1_Distill_Llama_70b_Options, type Deepseek_R1_Distill_Llama_70b_OptionsType, Gemma2_9b_IT, Gemma2_9b_ITLiteral, Gemma2_9b_ITOptions, type Gemma2_9b_ITOptionsType, Gemma2_9b_ITSchema, Groq, Kimi_K2_Instruct, Kimi_K2_InstructLiteral, Kimi_K2_InstructSchema, Kimi_K2_Instruct_Options, type Kimi_K2_Instruct_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_3_70b_Versatile, Llama_3_3_70b_VersatileLiteral, Llama_3_3_70b_VersatileSchema, Llama_3_3_70b_Versatile_Options, type Llama_3_3_70b_Versatile_OptionsType, Llama_Guard_4_12b, Llama_Guard_4_12bLiteral, Llama_Guard_4_12bSchema, Llama_Guard_4_12b_Options, type Llama_Guard_4_12b_OptionsType, Qwen3_32b, Qwen3_32bLiteral, Qwen3_32bSchema, Qwen3_32b_Options, type Qwen3_32b_OptionsType };
|
package/dist/index.d.ts
CHANGED
|
@@ -178,85 +178,8 @@ declare class Llama_3_1_8b extends BaseChatModelGroq {
|
|
|
178
178
|
constructor(options: Llama_3_1_8b_OptionsType);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
declare const
|
|
182
|
-
declare const
|
|
183
|
-
name: string;
|
|
184
|
-
description: string;
|
|
185
|
-
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
186
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
187
|
-
maxInputTokens: number;
|
|
188
|
-
maxOutputTokens: number;
|
|
189
|
-
config: {
|
|
190
|
-
def: Record<string, {
|
|
191
|
-
type: "multi-string";
|
|
192
|
-
param: string;
|
|
193
|
-
title: string;
|
|
194
|
-
description: string;
|
|
195
|
-
max: number;
|
|
196
|
-
} | {
|
|
197
|
-
type: "object-schema";
|
|
198
|
-
param: string;
|
|
199
|
-
title: string;
|
|
200
|
-
description: string;
|
|
201
|
-
objectSchema?: any;
|
|
202
|
-
} | {
|
|
203
|
-
type: "range";
|
|
204
|
-
param: string;
|
|
205
|
-
title: string;
|
|
206
|
-
description: string;
|
|
207
|
-
max: number;
|
|
208
|
-
default: number;
|
|
209
|
-
min: number;
|
|
210
|
-
step: number;
|
|
211
|
-
} | {
|
|
212
|
-
type: "select-boolean";
|
|
213
|
-
param: string;
|
|
214
|
-
title: string;
|
|
215
|
-
description: string;
|
|
216
|
-
default: boolean | null;
|
|
217
|
-
} | {
|
|
218
|
-
type: "select-string";
|
|
219
|
-
param: string;
|
|
220
|
-
title: string;
|
|
221
|
-
description: string;
|
|
222
|
-
default: string;
|
|
223
|
-
choices: string[];
|
|
224
|
-
}>;
|
|
225
|
-
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
226
|
-
};
|
|
227
|
-
price: {
|
|
228
|
-
modelName: string;
|
|
229
|
-
currency: string;
|
|
230
|
-
tokenRanges: {
|
|
231
|
-
minTokens: number;
|
|
232
|
-
prices: {
|
|
233
|
-
base: {
|
|
234
|
-
inputPricePerMillion: number;
|
|
235
|
-
outputPricePerMillion: number;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
maxTokens?: number | null | undefined;
|
|
239
|
-
}[];
|
|
240
|
-
};
|
|
241
|
-
maxReasoningTokens?: number | undefined;
|
|
242
|
-
};
|
|
243
|
-
declare const Llama_3_2_11b_VisionOptions: z.ZodObject<{
|
|
244
|
-
modelName: z.ZodString;
|
|
245
|
-
apiKey: z.ZodString;
|
|
246
|
-
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
modelName: string;
|
|
248
|
-
apiKey: string;
|
|
249
|
-
}, {
|
|
250
|
-
modelName: string;
|
|
251
|
-
apiKey: string;
|
|
252
|
-
}>;
|
|
253
|
-
type Llama_3_2_11b_VisionOptionsType = z.infer<typeof Llama_3_2_11b_VisionOptions>;
|
|
254
|
-
declare class Llama_3_2_11b_Vision extends BaseChatModelGroq {
|
|
255
|
-
constructor(options: Llama_3_2_11b_VisionOptionsType);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
declare const Llama_3_2_1bLiteral: "llama-3.2-1b-preview";
|
|
259
|
-
declare const Llama_3_2_1bSchema: {
|
|
181
|
+
declare const Llama_3_3_70b_VersatileLiteral: "llama-3.3-70b-versatile";
|
|
182
|
+
declare const Llama_3_3_70b_VersatileSchema: {
|
|
260
183
|
name: string;
|
|
261
184
|
description: string;
|
|
262
185
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -317,7 +240,7 @@ declare const Llama_3_2_1bSchema: {
|
|
|
317
240
|
};
|
|
318
241
|
maxReasoningTokens?: number | undefined;
|
|
319
242
|
};
|
|
320
|
-
declare const
|
|
243
|
+
declare const Llama_3_3_70b_Versatile_Options: z.ZodObject<{
|
|
321
244
|
modelName: z.ZodString;
|
|
322
245
|
apiKey: z.ZodString;
|
|
323
246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -327,13 +250,13 @@ declare const Llama_3_2_1b_Options: z.ZodObject<{
|
|
|
327
250
|
modelName: string;
|
|
328
251
|
apiKey: string;
|
|
329
252
|
}>;
|
|
330
|
-
type
|
|
331
|
-
declare class
|
|
332
|
-
constructor(options:
|
|
253
|
+
type Llama_3_3_70b_Versatile_OptionsType = z.infer<typeof Llama_3_3_70b_Versatile_Options>;
|
|
254
|
+
declare class Llama_3_3_70b_Versatile extends BaseChatModelGroq {
|
|
255
|
+
constructor(options: Llama_3_3_70b_Versatile_OptionsType);
|
|
333
256
|
}
|
|
334
257
|
|
|
335
|
-
declare const
|
|
336
|
-
declare const
|
|
258
|
+
declare const Llama_Guard_4_12bLiteral: "meta-llama/llama-guard-4-12b";
|
|
259
|
+
declare const Llama_Guard_4_12bSchema: {
|
|
337
260
|
name: string;
|
|
338
261
|
description: string;
|
|
339
262
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -394,84 +317,7 @@ declare const Llama_3_2_3bSchema: {
|
|
|
394
317
|
};
|
|
395
318
|
maxReasoningTokens?: number | undefined;
|
|
396
319
|
};
|
|
397
|
-
declare const
|
|
398
|
-
modelName: z.ZodString;
|
|
399
|
-
apiKey: z.ZodString;
|
|
400
|
-
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
modelName: string;
|
|
402
|
-
apiKey: string;
|
|
403
|
-
}, {
|
|
404
|
-
modelName: string;
|
|
405
|
-
apiKey: string;
|
|
406
|
-
}>;
|
|
407
|
-
type Llama_3_2_3b_OptionsType = z.infer<typeof Llama_3_2_3b_Options>;
|
|
408
|
-
declare class Llama_3_2_3b extends BaseChatModelGroq {
|
|
409
|
-
constructor(options: Llama_3_2_3b_OptionsType);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
declare const Llama_3_2_90b_VisionLiteral: "llama-3.2-90b-vision-preview";
|
|
413
|
-
declare const Llama_3_2_90b_VisionSchema: {
|
|
414
|
-
name: string;
|
|
415
|
-
description: string;
|
|
416
|
-
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
417
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
418
|
-
maxInputTokens: number;
|
|
419
|
-
maxOutputTokens: number;
|
|
420
|
-
config: {
|
|
421
|
-
def: Record<string, {
|
|
422
|
-
type: "multi-string";
|
|
423
|
-
param: string;
|
|
424
|
-
title: string;
|
|
425
|
-
description: string;
|
|
426
|
-
max: number;
|
|
427
|
-
} | {
|
|
428
|
-
type: "object-schema";
|
|
429
|
-
param: string;
|
|
430
|
-
title: string;
|
|
431
|
-
description: string;
|
|
432
|
-
objectSchema?: any;
|
|
433
|
-
} | {
|
|
434
|
-
type: "range";
|
|
435
|
-
param: string;
|
|
436
|
-
title: string;
|
|
437
|
-
description: string;
|
|
438
|
-
max: number;
|
|
439
|
-
default: number;
|
|
440
|
-
min: number;
|
|
441
|
-
step: number;
|
|
442
|
-
} | {
|
|
443
|
-
type: "select-boolean";
|
|
444
|
-
param: string;
|
|
445
|
-
title: string;
|
|
446
|
-
description: string;
|
|
447
|
-
default: boolean | null;
|
|
448
|
-
} | {
|
|
449
|
-
type: "select-string";
|
|
450
|
-
param: string;
|
|
451
|
-
title: string;
|
|
452
|
-
description: string;
|
|
453
|
-
default: string;
|
|
454
|
-
choices: string[];
|
|
455
|
-
}>;
|
|
456
|
-
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
457
|
-
};
|
|
458
|
-
price: {
|
|
459
|
-
modelName: string;
|
|
460
|
-
currency: string;
|
|
461
|
-
tokenRanges: {
|
|
462
|
-
minTokens: number;
|
|
463
|
-
prices: {
|
|
464
|
-
base: {
|
|
465
|
-
inputPricePerMillion: number;
|
|
466
|
-
outputPricePerMillion: number;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
maxTokens?: number | null | undefined;
|
|
470
|
-
}[];
|
|
471
|
-
};
|
|
472
|
-
maxReasoningTokens?: number | undefined;
|
|
473
|
-
};
|
|
474
|
-
declare const Llama_3_2_90b_VisionOptions: z.ZodObject<{
|
|
320
|
+
declare const Llama_Guard_4_12b_Options: z.ZodObject<{
|
|
475
321
|
modelName: z.ZodString;
|
|
476
322
|
apiKey: z.ZodString;
|
|
477
323
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -481,13 +327,13 @@ declare const Llama_3_2_90b_VisionOptions: z.ZodObject<{
|
|
|
481
327
|
modelName: string;
|
|
482
328
|
apiKey: string;
|
|
483
329
|
}>;
|
|
484
|
-
type
|
|
485
|
-
declare class
|
|
486
|
-
constructor(options:
|
|
330
|
+
type Llama_Guard_4_12b_OptionsType = z.infer<typeof Llama_Guard_4_12b_Options>;
|
|
331
|
+
declare class Llama_Guard_4_12b extends BaseChatModelGroq {
|
|
332
|
+
constructor(options: Llama_Guard_4_12b_OptionsType);
|
|
487
333
|
}
|
|
488
334
|
|
|
489
|
-
declare const
|
|
490
|
-
declare const
|
|
335
|
+
declare const Qwen3_32bLiteral: "qwen/qwen3-32b";
|
|
336
|
+
declare const Qwen3_32bSchema: {
|
|
491
337
|
name: string;
|
|
492
338
|
description: string;
|
|
493
339
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -548,7 +394,7 @@ declare const Llama_3_70bSchema: {
|
|
|
548
394
|
};
|
|
549
395
|
maxReasoningTokens?: number | undefined;
|
|
550
396
|
};
|
|
551
|
-
declare const
|
|
397
|
+
declare const Qwen3_32b_Options: z.ZodObject<{
|
|
552
398
|
modelName: z.ZodString;
|
|
553
399
|
apiKey: z.ZodString;
|
|
554
400
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -558,13 +404,13 @@ declare const Llama_3_70bOptions: z.ZodObject<{
|
|
|
558
404
|
modelName: string;
|
|
559
405
|
apiKey: string;
|
|
560
406
|
}>;
|
|
561
|
-
type
|
|
562
|
-
declare class
|
|
563
|
-
constructor(options:
|
|
407
|
+
type Qwen3_32b_OptionsType = z.infer<typeof Qwen3_32b_Options>;
|
|
408
|
+
declare class Qwen3_32b extends BaseChatModelGroq {
|
|
409
|
+
constructor(options: Qwen3_32b_OptionsType);
|
|
564
410
|
}
|
|
565
411
|
|
|
566
|
-
declare const
|
|
567
|
-
declare const
|
|
412
|
+
declare const Deepseek_R1_Distill_Llama_70bLiteral: "deepseek-r1-distill-llama-70b";
|
|
413
|
+
declare const Deepseek_R1_Distill_Llama_70bSchema: {
|
|
568
414
|
name: string;
|
|
569
415
|
description: string;
|
|
570
416
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -625,7 +471,7 @@ declare const Llama_3_8bSchema: {
|
|
|
625
471
|
};
|
|
626
472
|
maxReasoningTokens?: number | undefined;
|
|
627
473
|
};
|
|
628
|
-
declare const
|
|
474
|
+
declare const Deepseek_R1_Distill_Llama_70b_Options: z.ZodObject<{
|
|
629
475
|
modelName: z.ZodString;
|
|
630
476
|
apiKey: z.ZodString;
|
|
631
477
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -635,13 +481,13 @@ declare const Llama_3_8bOptions: z.ZodObject<{
|
|
|
635
481
|
modelName: string;
|
|
636
482
|
apiKey: string;
|
|
637
483
|
}>;
|
|
638
|
-
type
|
|
639
|
-
declare class
|
|
640
|
-
constructor(options:
|
|
484
|
+
type Deepseek_R1_Distill_Llama_70b_OptionsType = z.infer<typeof Deepseek_R1_Distill_Llama_70b_Options>;
|
|
485
|
+
declare class Deepseek_R1_Distill_Llama_70b extends BaseChatModelGroq {
|
|
486
|
+
constructor(options: Deepseek_R1_Distill_Llama_70b_OptionsType);
|
|
641
487
|
}
|
|
642
488
|
|
|
643
|
-
declare const
|
|
644
|
-
declare const
|
|
489
|
+
declare const Kimi_K2_InstructLiteral: "moonshotai/kimi-k2-instruct";
|
|
490
|
+
declare const Kimi_K2_InstructSchema: {
|
|
645
491
|
name: string;
|
|
646
492
|
description: string;
|
|
647
493
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -702,7 +548,7 @@ declare const LlamaGuard_3_8bSchema: {
|
|
|
702
548
|
};
|
|
703
549
|
maxReasoningTokens?: number | undefined;
|
|
704
550
|
};
|
|
705
|
-
declare const
|
|
551
|
+
declare const Kimi_K2_Instruct_Options: z.ZodObject<{
|
|
706
552
|
modelName: z.ZodString;
|
|
707
553
|
apiKey: z.ZodString;
|
|
708
554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -712,9 +558,9 @@ declare const LlamaGuard_3_8bOptions: z.ZodObject<{
|
|
|
712
558
|
modelName: string;
|
|
713
559
|
apiKey: string;
|
|
714
560
|
}>;
|
|
715
|
-
type
|
|
716
|
-
declare class
|
|
717
|
-
constructor(options:
|
|
561
|
+
type Kimi_K2_Instruct_OptionsType = z.infer<typeof Kimi_K2_Instruct_Options>;
|
|
562
|
+
declare class Kimi_K2_Instruct extends BaseChatModelGroq {
|
|
563
|
+
constructor(options: Kimi_K2_Instruct_OptionsType);
|
|
718
564
|
}
|
|
719
565
|
|
|
720
566
|
declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string, any> = Record<string, any>> implements ProviderV1<C, E> {
|
|
@@ -731,4 +577,4 @@ declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string,
|
|
|
731
577
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
732
578
|
}
|
|
733
579
|
|
|
734
|
-
export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType,
|
|
580
|
+
export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType, Deepseek_R1_Distill_Llama_70b, Deepseek_R1_Distill_Llama_70bLiteral, Deepseek_R1_Distill_Llama_70bSchema, Deepseek_R1_Distill_Llama_70b_Options, type Deepseek_R1_Distill_Llama_70b_OptionsType, Gemma2_9b_IT, Gemma2_9b_ITLiteral, Gemma2_9b_ITOptions, type Gemma2_9b_ITOptionsType, Gemma2_9b_ITSchema, Groq, Kimi_K2_Instruct, Kimi_K2_InstructLiteral, Kimi_K2_InstructSchema, Kimi_K2_Instruct_Options, type Kimi_K2_Instruct_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_3_70b_Versatile, Llama_3_3_70b_VersatileLiteral, Llama_3_3_70b_VersatileSchema, Llama_3_3_70b_Versatile_Options, type Llama_3_3_70b_Versatile_OptionsType, Llama_Guard_4_12b, Llama_Guard_4_12bLiteral, Llama_Guard_4_12bSchema, Llama_Guard_4_12b_Options, type Llama_Guard_4_12b_OptionsType, Qwen3_32b, Qwen3_32bLiteral, Qwen3_32bSchema, Qwen3_32b_Options, type Qwen3_32b_OptionsType };
|