@adaline/anthropic 0.24.0 → 0.26.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 +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -78,7 +78,7 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
|
|
|
78
78
|
param: string;
|
|
79
79
|
title: string;
|
|
80
80
|
description: string;
|
|
81
|
-
default: string
|
|
81
|
+
default: string;
|
|
82
82
|
choices: string[];
|
|
83
83
|
};
|
|
84
84
|
};
|
|
@@ -151,7 +151,7 @@ declare const toolChoice: {
|
|
|
151
151
|
param: string;
|
|
152
152
|
title: string;
|
|
153
153
|
description: string;
|
|
154
|
-
default: string
|
|
154
|
+
default: string;
|
|
155
155
|
choices: string[];
|
|
156
156
|
};
|
|
157
157
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -212,7 +212,7 @@ declare const AnthropicChatModelConfigs: {
|
|
|
212
212
|
param: string;
|
|
213
213
|
title: string;
|
|
214
214
|
description: string;
|
|
215
|
-
default: string
|
|
215
|
+
default: string;
|
|
216
216
|
choices: string[];
|
|
217
217
|
};
|
|
218
218
|
};
|
|
@@ -248,7 +248,7 @@ declare const AnthropicEmbeddingModelConfigs: {
|
|
|
248
248
|
param: string;
|
|
249
249
|
title: string;
|
|
250
250
|
description: string;
|
|
251
|
-
default: string
|
|
251
|
+
default: string;
|
|
252
252
|
choices: string[];
|
|
253
253
|
};
|
|
254
254
|
inputType: {
|
|
@@ -256,7 +256,7 @@ declare const AnthropicEmbeddingModelConfigs: {
|
|
|
256
256
|
param: string;
|
|
257
257
|
title: string;
|
|
258
258
|
description: string;
|
|
259
|
-
default: string
|
|
259
|
+
default: string;
|
|
260
260
|
choices: string[];
|
|
261
261
|
};
|
|
262
262
|
truncation: {
|
|
@@ -302,7 +302,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
|
|
|
302
302
|
param: string;
|
|
303
303
|
title: string;
|
|
304
304
|
description: string;
|
|
305
|
-
default: string
|
|
305
|
+
default: string;
|
|
306
306
|
choices: string[];
|
|
307
307
|
};
|
|
308
308
|
inputType: {
|
|
@@ -310,7 +310,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
|
|
|
310
310
|
param: string;
|
|
311
311
|
title: string;
|
|
312
312
|
description: string;
|
|
313
|
-
default: string
|
|
313
|
+
default: string;
|
|
314
314
|
choices: string[];
|
|
315
315
|
};
|
|
316
316
|
truncation: {
|
|
@@ -328,7 +328,7 @@ declare const encodingFormat: {
|
|
|
328
328
|
param: string;
|
|
329
329
|
title: string;
|
|
330
330
|
description: string;
|
|
331
|
-
default: string
|
|
331
|
+
default: string;
|
|
332
332
|
choices: string[];
|
|
333
333
|
};
|
|
334
334
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -339,7 +339,7 @@ declare const inputType: {
|
|
|
339
339
|
param: string;
|
|
340
340
|
title: string;
|
|
341
341
|
description: string;
|
|
342
|
-
default: string
|
|
342
|
+
default: string;
|
|
343
343
|
choices: string[];
|
|
344
344
|
};
|
|
345
345
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -460,7 +460,7 @@ declare const Claude3_5Sonnet20240620Schema: {
|
|
|
460
460
|
param: string;
|
|
461
461
|
title: string;
|
|
462
462
|
description: string;
|
|
463
|
-
default: string
|
|
463
|
+
default: string;
|
|
464
464
|
choices: string[];
|
|
465
465
|
}>;
|
|
466
466
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -528,7 +528,7 @@ declare const Claude3_5Sonnet20241022Schema: {
|
|
|
528
528
|
param: string;
|
|
529
529
|
title: string;
|
|
530
530
|
description: string;
|
|
531
|
-
default: string
|
|
531
|
+
default: string;
|
|
532
532
|
choices: string[];
|
|
533
533
|
}>;
|
|
534
534
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -596,7 +596,7 @@ declare const Claude3_5SonnetLatestSchema: {
|
|
|
596
596
|
param: string;
|
|
597
597
|
title: string;
|
|
598
598
|
description: string;
|
|
599
|
-
default: string
|
|
599
|
+
default: string;
|
|
600
600
|
choices: string[];
|
|
601
601
|
}>;
|
|
602
602
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -664,7 +664,7 @@ declare const Claude3Haiku20240307Schema: {
|
|
|
664
664
|
param: string;
|
|
665
665
|
title: string;
|
|
666
666
|
description: string;
|
|
667
|
-
default: string
|
|
667
|
+
default: string;
|
|
668
668
|
choices: string[];
|
|
669
669
|
}>;
|
|
670
670
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -732,7 +732,7 @@ declare const Claude3_5Haiku20241022Schema: {
|
|
|
732
732
|
param: string;
|
|
733
733
|
title: string;
|
|
734
734
|
description: string;
|
|
735
|
-
default: string
|
|
735
|
+
default: string;
|
|
736
736
|
choices: string[];
|
|
737
737
|
}>;
|
|
738
738
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -800,7 +800,7 @@ declare const Claude3_5HaikuLatestSchema: {
|
|
|
800
800
|
param: string;
|
|
801
801
|
title: string;
|
|
802
802
|
description: string;
|
|
803
|
-
default: string
|
|
803
|
+
default: string;
|
|
804
804
|
choices: string[];
|
|
805
805
|
}>;
|
|
806
806
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -868,7 +868,7 @@ declare const Claude3Opus20240229Schema: {
|
|
|
868
868
|
param: string;
|
|
869
869
|
title: string;
|
|
870
870
|
description: string;
|
|
871
|
-
default: string
|
|
871
|
+
default: string;
|
|
872
872
|
choices: string[];
|
|
873
873
|
}>;
|
|
874
874
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -936,7 +936,7 @@ declare const Claude3Sonnet20240229Schema: {
|
|
|
936
936
|
param: string;
|
|
937
937
|
title: string;
|
|
938
938
|
description: string;
|
|
939
|
-
default: string
|
|
939
|
+
default: string;
|
|
940
940
|
choices: string[];
|
|
941
941
|
}>;
|
|
942
942
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2641,7 +2641,7 @@ declare const VoyageCode2Schema: {
|
|
|
2641
2641
|
param: string;
|
|
2642
2642
|
title: string;
|
|
2643
2643
|
description: string;
|
|
2644
|
-
default: string
|
|
2644
|
+
default: string;
|
|
2645
2645
|
choices: string[];
|
|
2646
2646
|
}>;
|
|
2647
2647
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2705,7 +2705,7 @@ declare const VoyageLaw2Schema: {
|
|
|
2705
2705
|
param: string;
|
|
2706
2706
|
title: string;
|
|
2707
2707
|
description: string;
|
|
2708
|
-
default: string
|
|
2708
|
+
default: string;
|
|
2709
2709
|
choices: string[];
|
|
2710
2710
|
}>;
|
|
2711
2711
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2769,7 +2769,7 @@ declare const VoyageMultilingual2Schema: {
|
|
|
2769
2769
|
param: string;
|
|
2770
2770
|
title: string;
|
|
2771
2771
|
description: string;
|
|
2772
|
-
default: string
|
|
2772
|
+
default: string;
|
|
2773
2773
|
choices: string[];
|
|
2774
2774
|
}>;
|
|
2775
2775
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2833,7 +2833,7 @@ declare const VoyageFinance2Schema: {
|
|
|
2833
2833
|
param: string;
|
|
2834
2834
|
title: string;
|
|
2835
2835
|
description: string;
|
|
2836
|
-
default: string
|
|
2836
|
+
default: string;
|
|
2837
2837
|
choices: string[];
|
|
2838
2838
|
}>;
|
|
2839
2839
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2897,7 +2897,7 @@ declare const Voyage3LiteSchema: {
|
|
|
2897
2897
|
param: string;
|
|
2898
2898
|
title: string;
|
|
2899
2899
|
description: string;
|
|
2900
|
-
default: string
|
|
2900
|
+
default: string;
|
|
2901
2901
|
choices: string[];
|
|
2902
2902
|
}>;
|
|
2903
2903
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2961,7 +2961,7 @@ declare const Voyage3Schema: {
|
|
|
2961
2961
|
param: string;
|
|
2962
2962
|
title: string;
|
|
2963
2963
|
description: string;
|
|
2964
|
-
default: string
|
|
2964
|
+
default: string;
|
|
2965
2965
|
choices: string[];
|
|
2966
2966
|
}>;
|
|
2967
2967
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
|
|
|
78
78
|
param: string;
|
|
79
79
|
title: string;
|
|
80
80
|
description: string;
|
|
81
|
-
default: string
|
|
81
|
+
default: string;
|
|
82
82
|
choices: string[];
|
|
83
83
|
};
|
|
84
84
|
};
|
|
@@ -151,7 +151,7 @@ declare const toolChoice: {
|
|
|
151
151
|
param: string;
|
|
152
152
|
title: string;
|
|
153
153
|
description: string;
|
|
154
|
-
default: string
|
|
154
|
+
default: string;
|
|
155
155
|
choices: string[];
|
|
156
156
|
};
|
|
157
157
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -212,7 +212,7 @@ declare const AnthropicChatModelConfigs: {
|
|
|
212
212
|
param: string;
|
|
213
213
|
title: string;
|
|
214
214
|
description: string;
|
|
215
|
-
default: string
|
|
215
|
+
default: string;
|
|
216
216
|
choices: string[];
|
|
217
217
|
};
|
|
218
218
|
};
|
|
@@ -248,7 +248,7 @@ declare const AnthropicEmbeddingModelConfigs: {
|
|
|
248
248
|
param: string;
|
|
249
249
|
title: string;
|
|
250
250
|
description: string;
|
|
251
|
-
default: string
|
|
251
|
+
default: string;
|
|
252
252
|
choices: string[];
|
|
253
253
|
};
|
|
254
254
|
inputType: {
|
|
@@ -256,7 +256,7 @@ declare const AnthropicEmbeddingModelConfigs: {
|
|
|
256
256
|
param: string;
|
|
257
257
|
title: string;
|
|
258
258
|
description: string;
|
|
259
|
-
default: string
|
|
259
|
+
default: string;
|
|
260
260
|
choices: string[];
|
|
261
261
|
};
|
|
262
262
|
truncation: {
|
|
@@ -302,7 +302,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
|
|
|
302
302
|
param: string;
|
|
303
303
|
title: string;
|
|
304
304
|
description: string;
|
|
305
|
-
default: string
|
|
305
|
+
default: string;
|
|
306
306
|
choices: string[];
|
|
307
307
|
};
|
|
308
308
|
inputType: {
|
|
@@ -310,7 +310,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
|
|
|
310
310
|
param: string;
|
|
311
311
|
title: string;
|
|
312
312
|
description: string;
|
|
313
|
-
default: string
|
|
313
|
+
default: string;
|
|
314
314
|
choices: string[];
|
|
315
315
|
};
|
|
316
316
|
truncation: {
|
|
@@ -328,7 +328,7 @@ declare const encodingFormat: {
|
|
|
328
328
|
param: string;
|
|
329
329
|
title: string;
|
|
330
330
|
description: string;
|
|
331
|
-
default: string
|
|
331
|
+
default: string;
|
|
332
332
|
choices: string[];
|
|
333
333
|
};
|
|
334
334
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -339,7 +339,7 @@ declare const inputType: {
|
|
|
339
339
|
param: string;
|
|
340
340
|
title: string;
|
|
341
341
|
description: string;
|
|
342
|
-
default: string
|
|
342
|
+
default: string;
|
|
343
343
|
choices: string[];
|
|
344
344
|
};
|
|
345
345
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -460,7 +460,7 @@ declare const Claude3_5Sonnet20240620Schema: {
|
|
|
460
460
|
param: string;
|
|
461
461
|
title: string;
|
|
462
462
|
description: string;
|
|
463
|
-
default: string
|
|
463
|
+
default: string;
|
|
464
464
|
choices: string[];
|
|
465
465
|
}>;
|
|
466
466
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -528,7 +528,7 @@ declare const Claude3_5Sonnet20241022Schema: {
|
|
|
528
528
|
param: string;
|
|
529
529
|
title: string;
|
|
530
530
|
description: string;
|
|
531
|
-
default: string
|
|
531
|
+
default: string;
|
|
532
532
|
choices: string[];
|
|
533
533
|
}>;
|
|
534
534
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -596,7 +596,7 @@ declare const Claude3_5SonnetLatestSchema: {
|
|
|
596
596
|
param: string;
|
|
597
597
|
title: string;
|
|
598
598
|
description: string;
|
|
599
|
-
default: string
|
|
599
|
+
default: string;
|
|
600
600
|
choices: string[];
|
|
601
601
|
}>;
|
|
602
602
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -664,7 +664,7 @@ declare const Claude3Haiku20240307Schema: {
|
|
|
664
664
|
param: string;
|
|
665
665
|
title: string;
|
|
666
666
|
description: string;
|
|
667
|
-
default: string
|
|
667
|
+
default: string;
|
|
668
668
|
choices: string[];
|
|
669
669
|
}>;
|
|
670
670
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -732,7 +732,7 @@ declare const Claude3_5Haiku20241022Schema: {
|
|
|
732
732
|
param: string;
|
|
733
733
|
title: string;
|
|
734
734
|
description: string;
|
|
735
|
-
default: string
|
|
735
|
+
default: string;
|
|
736
736
|
choices: string[];
|
|
737
737
|
}>;
|
|
738
738
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -800,7 +800,7 @@ declare const Claude3_5HaikuLatestSchema: {
|
|
|
800
800
|
param: string;
|
|
801
801
|
title: string;
|
|
802
802
|
description: string;
|
|
803
|
-
default: string
|
|
803
|
+
default: string;
|
|
804
804
|
choices: string[];
|
|
805
805
|
}>;
|
|
806
806
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -868,7 +868,7 @@ declare const Claude3Opus20240229Schema: {
|
|
|
868
868
|
param: string;
|
|
869
869
|
title: string;
|
|
870
870
|
description: string;
|
|
871
|
-
default: string
|
|
871
|
+
default: string;
|
|
872
872
|
choices: string[];
|
|
873
873
|
}>;
|
|
874
874
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -936,7 +936,7 @@ declare const Claude3Sonnet20240229Schema: {
|
|
|
936
936
|
param: string;
|
|
937
937
|
title: string;
|
|
938
938
|
description: string;
|
|
939
|
-
default: string
|
|
939
|
+
default: string;
|
|
940
940
|
choices: string[];
|
|
941
941
|
}>;
|
|
942
942
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2641,7 +2641,7 @@ declare const VoyageCode2Schema: {
|
|
|
2641
2641
|
param: string;
|
|
2642
2642
|
title: string;
|
|
2643
2643
|
description: string;
|
|
2644
|
-
default: string
|
|
2644
|
+
default: string;
|
|
2645
2645
|
choices: string[];
|
|
2646
2646
|
}>;
|
|
2647
2647
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2705,7 +2705,7 @@ declare const VoyageLaw2Schema: {
|
|
|
2705
2705
|
param: string;
|
|
2706
2706
|
title: string;
|
|
2707
2707
|
description: string;
|
|
2708
|
-
default: string
|
|
2708
|
+
default: string;
|
|
2709
2709
|
choices: string[];
|
|
2710
2710
|
}>;
|
|
2711
2711
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2769,7 +2769,7 @@ declare const VoyageMultilingual2Schema: {
|
|
|
2769
2769
|
param: string;
|
|
2770
2770
|
title: string;
|
|
2771
2771
|
description: string;
|
|
2772
|
-
default: string
|
|
2772
|
+
default: string;
|
|
2773
2773
|
choices: string[];
|
|
2774
2774
|
}>;
|
|
2775
2775
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2833,7 +2833,7 @@ declare const VoyageFinance2Schema: {
|
|
|
2833
2833
|
param: string;
|
|
2834
2834
|
title: string;
|
|
2835
2835
|
description: string;
|
|
2836
|
-
default: string
|
|
2836
|
+
default: string;
|
|
2837
2837
|
choices: string[];
|
|
2838
2838
|
}>;
|
|
2839
2839
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2897,7 +2897,7 @@ declare const Voyage3LiteSchema: {
|
|
|
2897
2897
|
param: string;
|
|
2898
2898
|
title: string;
|
|
2899
2899
|
description: string;
|
|
2900
|
-
default: string
|
|
2900
|
+
default: string;
|
|
2901
2901
|
choices: string[];
|
|
2902
2902
|
}>;
|
|
2903
2903
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2961,7 +2961,7 @@ declare const Voyage3Schema: {
|
|
|
2961
2961
|
param: string;
|
|
2962
2962
|
title: string;
|
|
2963
2963
|
description: string;
|
|
2964
|
-
default: string
|
|
2964
|
+
default: string;
|
|
2965
2965
|
choices: string[];
|
|
2966
2966
|
}>;
|
|
2967
2967
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|