@adaline/groq 1.3.0 → 1.5.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 +309 -1
- package/dist/index.d.ts +309 -1
- package/dist/index.js +49 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -101,6 +101,160 @@ declare class Gemma2_9b_IT extends BaseChatModelGroq {
|
|
|
101
101
|
constructor(options: Gemma2_9b_ITOptionsType);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
declare const Gpt_Oss_20bLiteral: "openai/gpt-oss-20b";
|
|
105
|
+
declare const Gpt_Oss_20bSchema: {
|
|
106
|
+
name: string;
|
|
107
|
+
description: string;
|
|
108
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
109
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
110
|
+
maxInputTokens: number;
|
|
111
|
+
maxOutputTokens: number;
|
|
112
|
+
config: {
|
|
113
|
+
def: Record<string, {
|
|
114
|
+
type: "multi-string";
|
|
115
|
+
param: string;
|
|
116
|
+
title: string;
|
|
117
|
+
description: string;
|
|
118
|
+
max: number;
|
|
119
|
+
} | {
|
|
120
|
+
type: "object-schema";
|
|
121
|
+
param: string;
|
|
122
|
+
title: string;
|
|
123
|
+
description: string;
|
|
124
|
+
objectSchema?: any;
|
|
125
|
+
} | {
|
|
126
|
+
type: "range";
|
|
127
|
+
param: string;
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
130
|
+
max: number;
|
|
131
|
+
default: number;
|
|
132
|
+
min: number;
|
|
133
|
+
step: number;
|
|
134
|
+
} | {
|
|
135
|
+
type: "select-boolean";
|
|
136
|
+
param: string;
|
|
137
|
+
title: string;
|
|
138
|
+
description: string;
|
|
139
|
+
default: boolean | null;
|
|
140
|
+
} | {
|
|
141
|
+
type: "select-string";
|
|
142
|
+
param: string;
|
|
143
|
+
title: string;
|
|
144
|
+
description: string;
|
|
145
|
+
default: string;
|
|
146
|
+
choices: string[];
|
|
147
|
+
}>;
|
|
148
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
149
|
+
};
|
|
150
|
+
price: {
|
|
151
|
+
modelName: string;
|
|
152
|
+
currency: string;
|
|
153
|
+
tokenRanges: {
|
|
154
|
+
minTokens: number;
|
|
155
|
+
prices: {
|
|
156
|
+
base: {
|
|
157
|
+
inputPricePerMillion: number;
|
|
158
|
+
outputPricePerMillion: number;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
maxTokens?: number | null | undefined;
|
|
162
|
+
}[];
|
|
163
|
+
};
|
|
164
|
+
maxReasoningTokens?: number | undefined;
|
|
165
|
+
};
|
|
166
|
+
declare const Gpt_Oss_20b_Options: z.ZodObject<{
|
|
167
|
+
modelName: z.ZodString;
|
|
168
|
+
apiKey: z.ZodString;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
modelName: string;
|
|
171
|
+
apiKey: string;
|
|
172
|
+
}, {
|
|
173
|
+
modelName: string;
|
|
174
|
+
apiKey: string;
|
|
175
|
+
}>;
|
|
176
|
+
type Gpt_Oss_20b_OptionsType = z.infer<typeof Gpt_Oss_20b_Options>;
|
|
177
|
+
declare class Gpt_Oss_20b extends BaseChatModelGroq {
|
|
178
|
+
constructor(options: Gpt_Oss_20b_OptionsType);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare const Gpt_Oss_120bLiteral: "openai/gpt-oss-120b";
|
|
182
|
+
declare const Gpt_Oss_120bSchema: {
|
|
183
|
+
name: string;
|
|
184
|
+
description: string;
|
|
185
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
186
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "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 Gpt_Oss_120b_Options: 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 Gpt_Oss_120b_OptionsType = z.infer<typeof Gpt_Oss_120b_Options>;
|
|
254
|
+
declare class Gpt_Oss_120b extends BaseChatModelGroq {
|
|
255
|
+
constructor(options: Gpt_Oss_120b_OptionsType);
|
|
256
|
+
}
|
|
257
|
+
|
|
104
258
|
declare const Llama_3_1_8bLiteral: "llama-3.1-8b-instant";
|
|
105
259
|
declare const Llama_3_1_8bSchema: {
|
|
106
260
|
name: string;
|
|
@@ -563,6 +717,160 @@ declare class Kimi_K2_Instruct extends BaseChatModelGroq {
|
|
|
563
717
|
constructor(options: Kimi_K2_Instruct_OptionsType);
|
|
564
718
|
}
|
|
565
719
|
|
|
720
|
+
declare const Llama_4_Maverick_17b_128e_InstructLiteral: "meta-llama/llama-4-maverick-17b-128e-instruct";
|
|
721
|
+
declare const Llama_4_Maverick_17b_128e_InstructSchema: {
|
|
722
|
+
name: string;
|
|
723
|
+
description: string;
|
|
724
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
725
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
726
|
+
maxInputTokens: number;
|
|
727
|
+
maxOutputTokens: number;
|
|
728
|
+
config: {
|
|
729
|
+
def: Record<string, {
|
|
730
|
+
type: "multi-string";
|
|
731
|
+
param: string;
|
|
732
|
+
title: string;
|
|
733
|
+
description: string;
|
|
734
|
+
max: number;
|
|
735
|
+
} | {
|
|
736
|
+
type: "object-schema";
|
|
737
|
+
param: string;
|
|
738
|
+
title: string;
|
|
739
|
+
description: string;
|
|
740
|
+
objectSchema?: any;
|
|
741
|
+
} | {
|
|
742
|
+
type: "range";
|
|
743
|
+
param: string;
|
|
744
|
+
title: string;
|
|
745
|
+
description: string;
|
|
746
|
+
max: number;
|
|
747
|
+
default: number;
|
|
748
|
+
min: number;
|
|
749
|
+
step: number;
|
|
750
|
+
} | {
|
|
751
|
+
type: "select-boolean";
|
|
752
|
+
param: string;
|
|
753
|
+
title: string;
|
|
754
|
+
description: string;
|
|
755
|
+
default: boolean | null;
|
|
756
|
+
} | {
|
|
757
|
+
type: "select-string";
|
|
758
|
+
param: string;
|
|
759
|
+
title: string;
|
|
760
|
+
description: string;
|
|
761
|
+
default: string;
|
|
762
|
+
choices: string[];
|
|
763
|
+
}>;
|
|
764
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
765
|
+
};
|
|
766
|
+
price: {
|
|
767
|
+
modelName: string;
|
|
768
|
+
currency: string;
|
|
769
|
+
tokenRanges: {
|
|
770
|
+
minTokens: number;
|
|
771
|
+
prices: {
|
|
772
|
+
base: {
|
|
773
|
+
inputPricePerMillion: number;
|
|
774
|
+
outputPricePerMillion: number;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
maxTokens?: number | null | undefined;
|
|
778
|
+
}[];
|
|
779
|
+
};
|
|
780
|
+
maxReasoningTokens?: number | undefined;
|
|
781
|
+
};
|
|
782
|
+
declare const Llama_4_Maverick_17b_128e_Instruct_Options: z.ZodObject<{
|
|
783
|
+
modelName: z.ZodString;
|
|
784
|
+
apiKey: z.ZodString;
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
|
+
modelName: string;
|
|
787
|
+
apiKey: string;
|
|
788
|
+
}, {
|
|
789
|
+
modelName: string;
|
|
790
|
+
apiKey: string;
|
|
791
|
+
}>;
|
|
792
|
+
type Llama_4_Maverick_17b_128e_Instruct_OptionsType = z.infer<typeof Llama_4_Maverick_17b_128e_Instruct_Options>;
|
|
793
|
+
declare class Llama_4_Maverick_17b_128e_Instruct extends BaseChatModelGroq {
|
|
794
|
+
constructor(options: Llama_4_Maverick_17b_128e_Instruct_OptionsType);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
declare const Llama_4_Scout_17b_16e_InstructLiteral: "meta-llama/llama-4-scout-17b-16e-instruct";
|
|
798
|
+
declare const Llama_4_Scout_17b_16e_InstructSchema: {
|
|
799
|
+
name: string;
|
|
800
|
+
description: string;
|
|
801
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
802
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
803
|
+
maxInputTokens: number;
|
|
804
|
+
maxOutputTokens: number;
|
|
805
|
+
config: {
|
|
806
|
+
def: Record<string, {
|
|
807
|
+
type: "multi-string";
|
|
808
|
+
param: string;
|
|
809
|
+
title: string;
|
|
810
|
+
description: string;
|
|
811
|
+
max: number;
|
|
812
|
+
} | {
|
|
813
|
+
type: "object-schema";
|
|
814
|
+
param: string;
|
|
815
|
+
title: string;
|
|
816
|
+
description: string;
|
|
817
|
+
objectSchema?: any;
|
|
818
|
+
} | {
|
|
819
|
+
type: "range";
|
|
820
|
+
param: string;
|
|
821
|
+
title: string;
|
|
822
|
+
description: string;
|
|
823
|
+
max: number;
|
|
824
|
+
default: number;
|
|
825
|
+
min: number;
|
|
826
|
+
step: number;
|
|
827
|
+
} | {
|
|
828
|
+
type: "select-boolean";
|
|
829
|
+
param: string;
|
|
830
|
+
title: string;
|
|
831
|
+
description: string;
|
|
832
|
+
default: boolean | null;
|
|
833
|
+
} | {
|
|
834
|
+
type: "select-string";
|
|
835
|
+
param: string;
|
|
836
|
+
title: string;
|
|
837
|
+
description: string;
|
|
838
|
+
default: string;
|
|
839
|
+
choices: string[];
|
|
840
|
+
}>;
|
|
841
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
842
|
+
};
|
|
843
|
+
price: {
|
|
844
|
+
modelName: string;
|
|
845
|
+
currency: string;
|
|
846
|
+
tokenRanges: {
|
|
847
|
+
minTokens: number;
|
|
848
|
+
prices: {
|
|
849
|
+
base: {
|
|
850
|
+
inputPricePerMillion: number;
|
|
851
|
+
outputPricePerMillion: number;
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
maxTokens?: number | null | undefined;
|
|
855
|
+
}[];
|
|
856
|
+
};
|
|
857
|
+
maxReasoningTokens?: number | undefined;
|
|
858
|
+
};
|
|
859
|
+
declare const Llama_4_Scout_17b_16e_Instruct_Options: z.ZodObject<{
|
|
860
|
+
modelName: z.ZodString;
|
|
861
|
+
apiKey: z.ZodString;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
modelName: string;
|
|
864
|
+
apiKey: string;
|
|
865
|
+
}, {
|
|
866
|
+
modelName: string;
|
|
867
|
+
apiKey: string;
|
|
868
|
+
}>;
|
|
869
|
+
type Llama_4_Scout_17b_16e_Instruct_OptionsType = z.infer<typeof Llama_4_Scout_17b_16e_Instruct_Options>;
|
|
870
|
+
declare class Llama_4_Scout_17b_16e_Instruct extends BaseChatModelGroq {
|
|
871
|
+
constructor(options: Llama_4_Scout_17b_16e_Instruct_OptionsType);
|
|
872
|
+
}
|
|
873
|
+
|
|
566
874
|
declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string, any> = Record<string, any>> implements ProviderV1<C, E> {
|
|
567
875
|
readonly version: "v1";
|
|
568
876
|
readonly name = "groq";
|
|
@@ -577,4 +885,4 @@ declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string,
|
|
|
577
885
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
578
886
|
}
|
|
579
887
|
|
|
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 };
|
|
888
|
+
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, Gpt_Oss_120b, Gpt_Oss_120bLiteral, Gpt_Oss_120bSchema, Gpt_Oss_120b_Options, type Gpt_Oss_120b_OptionsType, Gpt_Oss_20b, Gpt_Oss_20bLiteral, Gpt_Oss_20bSchema, Gpt_Oss_20b_Options, type Gpt_Oss_20b_OptionsType, 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_4_Maverick_17b_128e_Instruct, Llama_4_Maverick_17b_128e_InstructLiteral, Llama_4_Maverick_17b_128e_InstructSchema, Llama_4_Maverick_17b_128e_Instruct_Options, type Llama_4_Maverick_17b_128e_Instruct_OptionsType, Llama_4_Scout_17b_16e_Instruct, Llama_4_Scout_17b_16e_InstructLiteral, Llama_4_Scout_17b_16e_InstructSchema, Llama_4_Scout_17b_16e_Instruct_Options, type Llama_4_Scout_17b_16e_Instruct_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
|
@@ -101,6 +101,160 @@ declare class Gemma2_9b_IT extends BaseChatModelGroq {
|
|
|
101
101
|
constructor(options: Gemma2_9b_ITOptionsType);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
declare const Gpt_Oss_20bLiteral: "openai/gpt-oss-20b";
|
|
105
|
+
declare const Gpt_Oss_20bSchema: {
|
|
106
|
+
name: string;
|
|
107
|
+
description: string;
|
|
108
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
109
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
110
|
+
maxInputTokens: number;
|
|
111
|
+
maxOutputTokens: number;
|
|
112
|
+
config: {
|
|
113
|
+
def: Record<string, {
|
|
114
|
+
type: "multi-string";
|
|
115
|
+
param: string;
|
|
116
|
+
title: string;
|
|
117
|
+
description: string;
|
|
118
|
+
max: number;
|
|
119
|
+
} | {
|
|
120
|
+
type: "object-schema";
|
|
121
|
+
param: string;
|
|
122
|
+
title: string;
|
|
123
|
+
description: string;
|
|
124
|
+
objectSchema?: any;
|
|
125
|
+
} | {
|
|
126
|
+
type: "range";
|
|
127
|
+
param: string;
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
130
|
+
max: number;
|
|
131
|
+
default: number;
|
|
132
|
+
min: number;
|
|
133
|
+
step: number;
|
|
134
|
+
} | {
|
|
135
|
+
type: "select-boolean";
|
|
136
|
+
param: string;
|
|
137
|
+
title: string;
|
|
138
|
+
description: string;
|
|
139
|
+
default: boolean | null;
|
|
140
|
+
} | {
|
|
141
|
+
type: "select-string";
|
|
142
|
+
param: string;
|
|
143
|
+
title: string;
|
|
144
|
+
description: string;
|
|
145
|
+
default: string;
|
|
146
|
+
choices: string[];
|
|
147
|
+
}>;
|
|
148
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
149
|
+
};
|
|
150
|
+
price: {
|
|
151
|
+
modelName: string;
|
|
152
|
+
currency: string;
|
|
153
|
+
tokenRanges: {
|
|
154
|
+
minTokens: number;
|
|
155
|
+
prices: {
|
|
156
|
+
base: {
|
|
157
|
+
inputPricePerMillion: number;
|
|
158
|
+
outputPricePerMillion: number;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
maxTokens?: number | null | undefined;
|
|
162
|
+
}[];
|
|
163
|
+
};
|
|
164
|
+
maxReasoningTokens?: number | undefined;
|
|
165
|
+
};
|
|
166
|
+
declare const Gpt_Oss_20b_Options: z.ZodObject<{
|
|
167
|
+
modelName: z.ZodString;
|
|
168
|
+
apiKey: z.ZodString;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
modelName: string;
|
|
171
|
+
apiKey: string;
|
|
172
|
+
}, {
|
|
173
|
+
modelName: string;
|
|
174
|
+
apiKey: string;
|
|
175
|
+
}>;
|
|
176
|
+
type Gpt_Oss_20b_OptionsType = z.infer<typeof Gpt_Oss_20b_Options>;
|
|
177
|
+
declare class Gpt_Oss_20b extends BaseChatModelGroq {
|
|
178
|
+
constructor(options: Gpt_Oss_20b_OptionsType);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare const Gpt_Oss_120bLiteral: "openai/gpt-oss-120b";
|
|
182
|
+
declare const Gpt_Oss_120bSchema: {
|
|
183
|
+
name: string;
|
|
184
|
+
description: string;
|
|
185
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
186
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "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 Gpt_Oss_120b_Options: 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 Gpt_Oss_120b_OptionsType = z.infer<typeof Gpt_Oss_120b_Options>;
|
|
254
|
+
declare class Gpt_Oss_120b extends BaseChatModelGroq {
|
|
255
|
+
constructor(options: Gpt_Oss_120b_OptionsType);
|
|
256
|
+
}
|
|
257
|
+
|
|
104
258
|
declare const Llama_3_1_8bLiteral: "llama-3.1-8b-instant";
|
|
105
259
|
declare const Llama_3_1_8bSchema: {
|
|
106
260
|
name: string;
|
|
@@ -563,6 +717,160 @@ declare class Kimi_K2_Instruct extends BaseChatModelGroq {
|
|
|
563
717
|
constructor(options: Kimi_K2_Instruct_OptionsType);
|
|
564
718
|
}
|
|
565
719
|
|
|
720
|
+
declare const Llama_4_Maverick_17b_128e_InstructLiteral: "meta-llama/llama-4-maverick-17b-128e-instruct";
|
|
721
|
+
declare const Llama_4_Maverick_17b_128e_InstructSchema: {
|
|
722
|
+
name: string;
|
|
723
|
+
description: string;
|
|
724
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
725
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
726
|
+
maxInputTokens: number;
|
|
727
|
+
maxOutputTokens: number;
|
|
728
|
+
config: {
|
|
729
|
+
def: Record<string, {
|
|
730
|
+
type: "multi-string";
|
|
731
|
+
param: string;
|
|
732
|
+
title: string;
|
|
733
|
+
description: string;
|
|
734
|
+
max: number;
|
|
735
|
+
} | {
|
|
736
|
+
type: "object-schema";
|
|
737
|
+
param: string;
|
|
738
|
+
title: string;
|
|
739
|
+
description: string;
|
|
740
|
+
objectSchema?: any;
|
|
741
|
+
} | {
|
|
742
|
+
type: "range";
|
|
743
|
+
param: string;
|
|
744
|
+
title: string;
|
|
745
|
+
description: string;
|
|
746
|
+
max: number;
|
|
747
|
+
default: number;
|
|
748
|
+
min: number;
|
|
749
|
+
step: number;
|
|
750
|
+
} | {
|
|
751
|
+
type: "select-boolean";
|
|
752
|
+
param: string;
|
|
753
|
+
title: string;
|
|
754
|
+
description: string;
|
|
755
|
+
default: boolean | null;
|
|
756
|
+
} | {
|
|
757
|
+
type: "select-string";
|
|
758
|
+
param: string;
|
|
759
|
+
title: string;
|
|
760
|
+
description: string;
|
|
761
|
+
default: string;
|
|
762
|
+
choices: string[];
|
|
763
|
+
}>;
|
|
764
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
765
|
+
};
|
|
766
|
+
price: {
|
|
767
|
+
modelName: string;
|
|
768
|
+
currency: string;
|
|
769
|
+
tokenRanges: {
|
|
770
|
+
minTokens: number;
|
|
771
|
+
prices: {
|
|
772
|
+
base: {
|
|
773
|
+
inputPricePerMillion: number;
|
|
774
|
+
outputPricePerMillion: number;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
maxTokens?: number | null | undefined;
|
|
778
|
+
}[];
|
|
779
|
+
};
|
|
780
|
+
maxReasoningTokens?: number | undefined;
|
|
781
|
+
};
|
|
782
|
+
declare const Llama_4_Maverick_17b_128e_Instruct_Options: z.ZodObject<{
|
|
783
|
+
modelName: z.ZodString;
|
|
784
|
+
apiKey: z.ZodString;
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
|
+
modelName: string;
|
|
787
|
+
apiKey: string;
|
|
788
|
+
}, {
|
|
789
|
+
modelName: string;
|
|
790
|
+
apiKey: string;
|
|
791
|
+
}>;
|
|
792
|
+
type Llama_4_Maverick_17b_128e_Instruct_OptionsType = z.infer<typeof Llama_4_Maverick_17b_128e_Instruct_Options>;
|
|
793
|
+
declare class Llama_4_Maverick_17b_128e_Instruct extends BaseChatModelGroq {
|
|
794
|
+
constructor(options: Llama_4_Maverick_17b_128e_Instruct_OptionsType);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
declare const Llama_4_Scout_17b_16e_InstructLiteral: "meta-llama/llama-4-scout-17b-16e-instruct";
|
|
798
|
+
declare const Llama_4_Scout_17b_16e_InstructSchema: {
|
|
799
|
+
name: string;
|
|
800
|
+
description: string;
|
|
801
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
802
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
803
|
+
maxInputTokens: number;
|
|
804
|
+
maxOutputTokens: number;
|
|
805
|
+
config: {
|
|
806
|
+
def: Record<string, {
|
|
807
|
+
type: "multi-string";
|
|
808
|
+
param: string;
|
|
809
|
+
title: string;
|
|
810
|
+
description: string;
|
|
811
|
+
max: number;
|
|
812
|
+
} | {
|
|
813
|
+
type: "object-schema";
|
|
814
|
+
param: string;
|
|
815
|
+
title: string;
|
|
816
|
+
description: string;
|
|
817
|
+
objectSchema?: any;
|
|
818
|
+
} | {
|
|
819
|
+
type: "range";
|
|
820
|
+
param: string;
|
|
821
|
+
title: string;
|
|
822
|
+
description: string;
|
|
823
|
+
max: number;
|
|
824
|
+
default: number;
|
|
825
|
+
min: number;
|
|
826
|
+
step: number;
|
|
827
|
+
} | {
|
|
828
|
+
type: "select-boolean";
|
|
829
|
+
param: string;
|
|
830
|
+
title: string;
|
|
831
|
+
description: string;
|
|
832
|
+
default: boolean | null;
|
|
833
|
+
} | {
|
|
834
|
+
type: "select-string";
|
|
835
|
+
param: string;
|
|
836
|
+
title: string;
|
|
837
|
+
description: string;
|
|
838
|
+
default: string;
|
|
839
|
+
choices: string[];
|
|
840
|
+
}>;
|
|
841
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
842
|
+
};
|
|
843
|
+
price: {
|
|
844
|
+
modelName: string;
|
|
845
|
+
currency: string;
|
|
846
|
+
tokenRanges: {
|
|
847
|
+
minTokens: number;
|
|
848
|
+
prices: {
|
|
849
|
+
base: {
|
|
850
|
+
inputPricePerMillion: number;
|
|
851
|
+
outputPricePerMillion: number;
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
maxTokens?: number | null | undefined;
|
|
855
|
+
}[];
|
|
856
|
+
};
|
|
857
|
+
maxReasoningTokens?: number | undefined;
|
|
858
|
+
};
|
|
859
|
+
declare const Llama_4_Scout_17b_16e_Instruct_Options: z.ZodObject<{
|
|
860
|
+
modelName: z.ZodString;
|
|
861
|
+
apiKey: z.ZodString;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
modelName: string;
|
|
864
|
+
apiKey: string;
|
|
865
|
+
}, {
|
|
866
|
+
modelName: string;
|
|
867
|
+
apiKey: string;
|
|
868
|
+
}>;
|
|
869
|
+
type Llama_4_Scout_17b_16e_Instruct_OptionsType = z.infer<typeof Llama_4_Scout_17b_16e_Instruct_Options>;
|
|
870
|
+
declare class Llama_4_Scout_17b_16e_Instruct extends BaseChatModelGroq {
|
|
871
|
+
constructor(options: Llama_4_Scout_17b_16e_Instruct_OptionsType);
|
|
872
|
+
}
|
|
873
|
+
|
|
566
874
|
declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string, any> = Record<string, any>> implements ProviderV1<C, E> {
|
|
567
875
|
readonly version: "v1";
|
|
568
876
|
readonly name = "groq";
|
|
@@ -577,4 +885,4 @@ declare class Groq<C extends BaseChatModelOptionsType, E extends Record<string,
|
|
|
577
885
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
578
886
|
}
|
|
579
887
|
|
|
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 };
|
|
888
|
+
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, Gpt_Oss_120b, Gpt_Oss_120bLiteral, Gpt_Oss_120bSchema, Gpt_Oss_120b_Options, type Gpt_Oss_120b_OptionsType, Gpt_Oss_20b, Gpt_Oss_20bLiteral, Gpt_Oss_20bSchema, Gpt_Oss_20b_Options, type Gpt_Oss_20b_OptionsType, 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_4_Maverick_17b_128e_Instruct, Llama_4_Maverick_17b_128e_InstructLiteral, Llama_4_Maverick_17b_128e_InstructSchema, Llama_4_Maverick_17b_128e_Instruct_Options, type Llama_4_Maverick_17b_128e_Instruct_OptionsType, Llama_4_Scout_17b_16e_Instruct, Llama_4_Scout_17b_16e_InstructLiteral, Llama_4_Scout_17b_16e_InstructSchema, Llama_4_Scout_17b_16e_Instruct_Options, type Llama_4_Scout_17b_16e_Instruct_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 };
|