@adaline/anthropic 1.13.7 → 1.13.11
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 +1300 -83
- package/dist/index.d.ts +1300 -83
- package/dist/index.js +199 -155
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { ChatModelV1, ChatModelSchemaType, UrlType, HeadersType, ParamsType, EmbeddingModelSchemaType, EmbeddingModelV1, ProviderV1 } from '@adaline/provider';
|
|
4
|
-
import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType } from '@adaline/types';
|
|
4
|
+
import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType, EmbeddingModelPriceType } from '@adaline/types';
|
|
5
5
|
|
|
6
6
|
declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences: number) => z.ZodObject<{
|
|
7
7
|
temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -626,6 +626,68 @@ declare const AnthropicEmbeddingModelConfigs: {
|
|
|
626
626
|
inputType?: string | null | undefined;
|
|
627
627
|
}>;
|
|
628
628
|
};
|
|
629
|
+
readonly flexible: () => {
|
|
630
|
+
def: {
|
|
631
|
+
encodingFormat: {
|
|
632
|
+
type: "select-string";
|
|
633
|
+
param: string;
|
|
634
|
+
title: string;
|
|
635
|
+
description: string;
|
|
636
|
+
default: string;
|
|
637
|
+
choices: string[];
|
|
638
|
+
};
|
|
639
|
+
inputType: {
|
|
640
|
+
type: "select-string";
|
|
641
|
+
param: string;
|
|
642
|
+
title: string;
|
|
643
|
+
description: string;
|
|
644
|
+
default: string;
|
|
645
|
+
choices: string[];
|
|
646
|
+
};
|
|
647
|
+
truncation: {
|
|
648
|
+
type: "select-boolean";
|
|
649
|
+
param: string;
|
|
650
|
+
title: string;
|
|
651
|
+
description: string;
|
|
652
|
+
default: boolean | null;
|
|
653
|
+
};
|
|
654
|
+
outputDimension: {
|
|
655
|
+
type: "select-string";
|
|
656
|
+
param: string;
|
|
657
|
+
title: string;
|
|
658
|
+
description: string;
|
|
659
|
+
default: string;
|
|
660
|
+
choices: string[];
|
|
661
|
+
};
|
|
662
|
+
outputDtype: {
|
|
663
|
+
type: "select-string";
|
|
664
|
+
param: string;
|
|
665
|
+
title: string;
|
|
666
|
+
description: string;
|
|
667
|
+
default: string;
|
|
668
|
+
choices: string[];
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
schema: zod.ZodObject<{
|
|
672
|
+
encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
673
|
+
inputType: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
674
|
+
truncation: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
675
|
+
outputDimension: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
676
|
+
outputDtype: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
677
|
+
}, "strip", zod.ZodTypeAny, {
|
|
678
|
+
truncation?: boolean | null | undefined;
|
|
679
|
+
encodingFormat?: string | null | undefined;
|
|
680
|
+
inputType?: string | null | undefined;
|
|
681
|
+
outputDimension?: string | null | undefined;
|
|
682
|
+
outputDtype?: string | null | undefined;
|
|
683
|
+
}, {
|
|
684
|
+
truncation?: boolean | null | undefined;
|
|
685
|
+
encodingFormat?: string | null | undefined;
|
|
686
|
+
inputType?: string | null | undefined;
|
|
687
|
+
outputDimension?: string | null | undefined;
|
|
688
|
+
outputDtype?: string | null | undefined;
|
|
689
|
+
}>;
|
|
690
|
+
};
|
|
629
691
|
};
|
|
630
692
|
|
|
631
693
|
declare const EmbeddingModelBaseConfigSchema: () => z.ZodObject<{
|
|
@@ -699,6 +761,96 @@ declare const truncation: {
|
|
|
699
761
|
};
|
|
700
762
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
701
763
|
};
|
|
764
|
+
declare const outputDimension: {
|
|
765
|
+
def: {
|
|
766
|
+
type: "select-string";
|
|
767
|
+
param: string;
|
|
768
|
+
title: string;
|
|
769
|
+
description: string;
|
|
770
|
+
default: string;
|
|
771
|
+
choices: string[];
|
|
772
|
+
};
|
|
773
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
774
|
+
};
|
|
775
|
+
declare const outputDtype: {
|
|
776
|
+
def: {
|
|
777
|
+
type: "select-string";
|
|
778
|
+
param: string;
|
|
779
|
+
title: string;
|
|
780
|
+
description: string;
|
|
781
|
+
default: string;
|
|
782
|
+
choices: string[];
|
|
783
|
+
};
|
|
784
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Config for the flexible-dimension Voyage models (voyage-3.5, voyage-3.5-lite,
|
|
789
|
+
* voyage-3-large, voyage-code-3). Extends the base config with `outputDimension`
|
|
790
|
+
* and `outputDtype`, which only these models support. Legacy fixed-dimension
|
|
791
|
+
* models keep `EmbeddingModelBaseConfig*` (no output_dimension / output_dtype),
|
|
792
|
+
* matching the Voyage API's per-model constraints.
|
|
793
|
+
*/
|
|
794
|
+
declare const EmbeddingModelFlexibleConfigSchema: () => z.ZodObject<{
|
|
795
|
+
encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
796
|
+
inputType: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
797
|
+
truncation: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
798
|
+
outputDimension: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
799
|
+
outputDtype: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
truncation?: boolean | null | undefined;
|
|
802
|
+
encodingFormat?: string | null | undefined;
|
|
803
|
+
inputType?: string | null | undefined;
|
|
804
|
+
outputDimension?: string | null | undefined;
|
|
805
|
+
outputDtype?: string | null | undefined;
|
|
806
|
+
}, {
|
|
807
|
+
truncation?: boolean | null | undefined;
|
|
808
|
+
encodingFormat?: string | null | undefined;
|
|
809
|
+
inputType?: string | null | undefined;
|
|
810
|
+
outputDimension?: string | null | undefined;
|
|
811
|
+
outputDtype?: string | null | undefined;
|
|
812
|
+
}>;
|
|
813
|
+
declare const EmbeddingModelFlexibleConfigDef: () => {
|
|
814
|
+
encodingFormat: {
|
|
815
|
+
type: "select-string";
|
|
816
|
+
param: string;
|
|
817
|
+
title: string;
|
|
818
|
+
description: string;
|
|
819
|
+
default: string;
|
|
820
|
+
choices: string[];
|
|
821
|
+
};
|
|
822
|
+
inputType: {
|
|
823
|
+
type: "select-string";
|
|
824
|
+
param: string;
|
|
825
|
+
title: string;
|
|
826
|
+
description: string;
|
|
827
|
+
default: string;
|
|
828
|
+
choices: string[];
|
|
829
|
+
};
|
|
830
|
+
truncation: {
|
|
831
|
+
type: "select-boolean";
|
|
832
|
+
param: string;
|
|
833
|
+
title: string;
|
|
834
|
+
description: string;
|
|
835
|
+
default: boolean | null;
|
|
836
|
+
};
|
|
837
|
+
outputDimension: {
|
|
838
|
+
type: "select-string";
|
|
839
|
+
param: string;
|
|
840
|
+
title: string;
|
|
841
|
+
description: string;
|
|
842
|
+
default: string;
|
|
843
|
+
choices: string[];
|
|
844
|
+
};
|
|
845
|
+
outputDtype: {
|
|
846
|
+
type: "select-string";
|
|
847
|
+
param: string;
|
|
848
|
+
title: string;
|
|
849
|
+
description: string;
|
|
850
|
+
default: string;
|
|
851
|
+
choices: string[];
|
|
852
|
+
};
|
|
853
|
+
};
|
|
702
854
|
|
|
703
855
|
declare const BaseChatModelOptions: z.ZodObject<{
|
|
704
856
|
modelName: z.ZodString;
|
|
@@ -1335,8 +1487,8 @@ declare class ClaudeOpus4_7 extends BaseChatModel {
|
|
|
1335
1487
|
constructor(options: ClaudeOpus4_7OptionsType);
|
|
1336
1488
|
}
|
|
1337
1489
|
|
|
1338
|
-
declare const
|
|
1339
|
-
declare const
|
|
1490
|
+
declare const ClaudeOpus4_8Literal = "claude-opus-4-8";
|
|
1491
|
+
declare const ClaudeOpus4_8Schema: {
|
|
1340
1492
|
description: string;
|
|
1341
1493
|
name: string;
|
|
1342
1494
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -1428,7 +1580,7 @@ declare const ClaudeSonnet4_520250929Schema: {
|
|
|
1428
1580
|
};
|
|
1429
1581
|
maxReasoningTokens?: number | undefined;
|
|
1430
1582
|
};
|
|
1431
|
-
declare const
|
|
1583
|
+
declare const ClaudeOpus4_8Options: z.ZodObject<{
|
|
1432
1584
|
modelName: z.ZodString;
|
|
1433
1585
|
apiKey: z.ZodString;
|
|
1434
1586
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1444,13 +1596,13 @@ declare const ClaudeSonnet4_520250929Options: z.ZodObject<{
|
|
|
1444
1596
|
completeChatUrl?: string | undefined;
|
|
1445
1597
|
streamChatUrl?: string | undefined;
|
|
1446
1598
|
}>;
|
|
1447
|
-
type
|
|
1448
|
-
declare class
|
|
1449
|
-
constructor(options:
|
|
1599
|
+
type ClaudeOpus4_8OptionsType = z.infer<typeof ClaudeOpus4_8Options>;
|
|
1600
|
+
declare class ClaudeOpus4_8 extends BaseChatModel {
|
|
1601
|
+
constructor(options: ClaudeOpus4_8OptionsType);
|
|
1450
1602
|
}
|
|
1451
1603
|
|
|
1452
|
-
declare const
|
|
1453
|
-
declare const
|
|
1604
|
+
declare const ClaudeFable5Literal = "claude-fable-5";
|
|
1605
|
+
declare const ClaudeFable5Schema: {
|
|
1454
1606
|
description: string;
|
|
1455
1607
|
name: string;
|
|
1456
1608
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -1542,7 +1694,7 @@ declare const ClaudeSonnet4_6Schema: {
|
|
|
1542
1694
|
};
|
|
1543
1695
|
maxReasoningTokens?: number | undefined;
|
|
1544
1696
|
};
|
|
1545
|
-
declare const
|
|
1697
|
+
declare const ClaudeFable5Options: z.ZodObject<{
|
|
1546
1698
|
modelName: z.ZodString;
|
|
1547
1699
|
apiKey: z.ZodString;
|
|
1548
1700
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1558,17 +1710,17 @@ declare const ClaudeSonnet4_6Options: z.ZodObject<{
|
|
|
1558
1710
|
completeChatUrl?: string | undefined;
|
|
1559
1711
|
streamChatUrl?: string | undefined;
|
|
1560
1712
|
}>;
|
|
1561
|
-
type
|
|
1562
|
-
declare class
|
|
1563
|
-
constructor(options:
|
|
1713
|
+
type ClaudeFable5OptionsType = z.infer<typeof ClaudeFable5Options>;
|
|
1714
|
+
declare class ClaudeFable5 extends BaseChatModel {
|
|
1715
|
+
constructor(options: ClaudeFable5OptionsType);
|
|
1564
1716
|
}
|
|
1565
1717
|
|
|
1566
|
-
declare const
|
|
1567
|
-
declare const
|
|
1718
|
+
declare const ClaudeSonnet4_520250929Literal = "claude-sonnet-4-5-20250929";
|
|
1719
|
+
declare const ClaudeSonnet4_520250929Schema: {
|
|
1568
1720
|
description: string;
|
|
1569
1721
|
name: string;
|
|
1570
1722
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1571
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1723
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response" | "reasoning", ...("text" | "image" | "tool-call" | "tool-response" | "reasoning")[]];
|
|
1572
1724
|
maxInputTokens: number;
|
|
1573
1725
|
maxOutputTokens: number;
|
|
1574
1726
|
config: {
|
|
@@ -1656,7 +1808,7 @@ declare const ClaudeHaiku4_520251001Schema: {
|
|
|
1656
1808
|
};
|
|
1657
1809
|
maxReasoningTokens?: number | undefined;
|
|
1658
1810
|
};
|
|
1659
|
-
declare const
|
|
1811
|
+
declare const ClaudeSonnet4_520250929Options: z.ZodObject<{
|
|
1660
1812
|
modelName: z.ZodString;
|
|
1661
1813
|
apiKey: z.ZodString;
|
|
1662
1814
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,17 +1824,17 @@ declare const ClaudeHaiku4_520251001Options: z.ZodObject<{
|
|
|
1672
1824
|
completeChatUrl?: string | undefined;
|
|
1673
1825
|
streamChatUrl?: string | undefined;
|
|
1674
1826
|
}>;
|
|
1675
|
-
type
|
|
1676
|
-
declare class
|
|
1677
|
-
constructor(options:
|
|
1827
|
+
type ClaudeSonnet4_520250929OptionsType = z.infer<typeof ClaudeSonnet4_520250929Options>;
|
|
1828
|
+
declare class ClaudeSonnet4_520250929 extends BaseChatModel {
|
|
1829
|
+
constructor(options: ClaudeSonnet4_520250929OptionsType);
|
|
1678
1830
|
}
|
|
1679
1831
|
|
|
1680
|
-
declare const
|
|
1681
|
-
declare const
|
|
1832
|
+
declare const ClaudeSonnet4_6Literal = "claude-sonnet-4-6";
|
|
1833
|
+
declare const ClaudeSonnet4_6Schema: {
|
|
1682
1834
|
description: string;
|
|
1683
1835
|
name: string;
|
|
1684
1836
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1685
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1837
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response" | "reasoning", ...("text" | "image" | "tool-call" | "tool-response" | "reasoning")[]];
|
|
1686
1838
|
maxInputTokens: number;
|
|
1687
1839
|
maxOutputTokens: number;
|
|
1688
1840
|
config: {
|
|
@@ -1770,7 +1922,7 @@ declare const Claude3_5Sonnet20240620Schema: {
|
|
|
1770
1922
|
};
|
|
1771
1923
|
maxReasoningTokens?: number | undefined;
|
|
1772
1924
|
};
|
|
1773
|
-
declare const
|
|
1925
|
+
declare const ClaudeSonnet4_6Options: z.ZodObject<{
|
|
1774
1926
|
modelName: z.ZodString;
|
|
1775
1927
|
apiKey: z.ZodString;
|
|
1776
1928
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1786,13 +1938,13 @@ declare const Claude3_5Sonnet20240620Options: z.ZodObject<{
|
|
|
1786
1938
|
completeChatUrl?: string | undefined;
|
|
1787
1939
|
streamChatUrl?: string | undefined;
|
|
1788
1940
|
}>;
|
|
1789
|
-
type
|
|
1790
|
-
declare class
|
|
1791
|
-
constructor(options:
|
|
1941
|
+
type ClaudeSonnet4_6OptionsType = z.infer<typeof ClaudeSonnet4_6Options>;
|
|
1942
|
+
declare class ClaudeSonnet4_6 extends BaseChatModel {
|
|
1943
|
+
constructor(options: ClaudeSonnet4_6OptionsType);
|
|
1792
1944
|
}
|
|
1793
1945
|
|
|
1794
|
-
declare const
|
|
1795
|
-
declare const
|
|
1946
|
+
declare const ClaudeHaiku4_520251001Literal = "claude-haiku-4-5-20251001";
|
|
1947
|
+
declare const ClaudeHaiku4_520251001Schema: {
|
|
1796
1948
|
description: string;
|
|
1797
1949
|
name: string;
|
|
1798
1950
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -1884,7 +2036,7 @@ declare const Claude3_5Sonnet20241022Schema: {
|
|
|
1884
2036
|
};
|
|
1885
2037
|
maxReasoningTokens?: number | undefined;
|
|
1886
2038
|
};
|
|
1887
|
-
declare const
|
|
2039
|
+
declare const ClaudeHaiku4_520251001Options: z.ZodObject<{
|
|
1888
2040
|
modelName: z.ZodString;
|
|
1889
2041
|
apiKey: z.ZodString;
|
|
1890
2042
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1900,17 +2052,17 @@ declare const Claude3_5Sonnet20241022Options: z.ZodObject<{
|
|
|
1900
2052
|
completeChatUrl?: string | undefined;
|
|
1901
2053
|
streamChatUrl?: string | undefined;
|
|
1902
2054
|
}>;
|
|
1903
|
-
type
|
|
1904
|
-
declare class
|
|
1905
|
-
constructor(options:
|
|
2055
|
+
type ClaudeHaiku4_520251001OptionsType = z.infer<typeof ClaudeHaiku4_520251001Options>;
|
|
2056
|
+
declare class ClaudeHaiku4_520251001 extends BaseChatModel {
|
|
2057
|
+
constructor(options: ClaudeHaiku4_520251001OptionsType);
|
|
1906
2058
|
}
|
|
1907
2059
|
|
|
1908
|
-
declare const
|
|
1909
|
-
declare const
|
|
2060
|
+
declare const Claude3_5Sonnet20240620Literal = "claude-3-5-sonnet-20240620";
|
|
2061
|
+
declare const Claude3_5Sonnet20240620Schema: {
|
|
1910
2062
|
description: string;
|
|
1911
2063
|
name: string;
|
|
1912
2064
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1913
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response"
|
|
2065
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1914
2066
|
maxInputTokens: number;
|
|
1915
2067
|
maxOutputTokens: number;
|
|
1916
2068
|
config: {
|
|
@@ -1998,7 +2150,7 @@ declare const Claude3_7Sonnet20250219Schema: {
|
|
|
1998
2150
|
};
|
|
1999
2151
|
maxReasoningTokens?: number | undefined;
|
|
2000
2152
|
};
|
|
2001
|
-
declare const
|
|
2153
|
+
declare const Claude3_5Sonnet20240620Options: z.ZodObject<{
|
|
2002
2154
|
modelName: z.ZodString;
|
|
2003
2155
|
apiKey: z.ZodString;
|
|
2004
2156
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2014,14 +2166,13 @@ declare const Claude3_7Sonnet20250219Options: z.ZodObject<{
|
|
|
2014
2166
|
completeChatUrl?: string | undefined;
|
|
2015
2167
|
streamChatUrl?: string | undefined;
|
|
2016
2168
|
}>;
|
|
2017
|
-
type
|
|
2018
|
-
declare class
|
|
2019
|
-
constructor(options:
|
|
2020
|
-
getDefaultHeaders(): HeadersType;
|
|
2169
|
+
type Claude3_5Sonnet20240620OptionsType = z.infer<typeof Claude3_5Sonnet20240620Options>;
|
|
2170
|
+
declare class Claude3_5Sonnet20240620 extends BaseChatModel {
|
|
2171
|
+
constructor(options: Claude3_5Sonnet20240620OptionsType);
|
|
2021
2172
|
}
|
|
2022
2173
|
|
|
2023
|
-
declare const
|
|
2024
|
-
declare const
|
|
2174
|
+
declare const Claude3_5Sonnet20241022Literal = "claude-3-5-sonnet-20241022";
|
|
2175
|
+
declare const Claude3_5Sonnet20241022Schema: {
|
|
2025
2176
|
description: string;
|
|
2026
2177
|
name: string;
|
|
2027
2178
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -2113,7 +2264,7 @@ declare const Claude3Haiku20240307Schema: {
|
|
|
2113
2264
|
};
|
|
2114
2265
|
maxReasoningTokens?: number | undefined;
|
|
2115
2266
|
};
|
|
2116
|
-
declare const
|
|
2267
|
+
declare const Claude3_5Sonnet20241022Options: z.ZodObject<{
|
|
2117
2268
|
modelName: z.ZodString;
|
|
2118
2269
|
apiKey: z.ZodString;
|
|
2119
2270
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2129,17 +2280,17 @@ declare const Claude3Haiku20240307Options: z.ZodObject<{
|
|
|
2129
2280
|
completeChatUrl?: string | undefined;
|
|
2130
2281
|
streamChatUrl?: string | undefined;
|
|
2131
2282
|
}>;
|
|
2132
|
-
type
|
|
2133
|
-
declare class
|
|
2134
|
-
constructor(options:
|
|
2283
|
+
type Claude3_5Sonnet20241022OptionsType = z.infer<typeof Claude3_5Sonnet20241022Options>;
|
|
2284
|
+
declare class Claude3_5Sonnet20241022 extends BaseChatModel {
|
|
2285
|
+
constructor(options: Claude3_5Sonnet20241022OptionsType);
|
|
2135
2286
|
}
|
|
2136
2287
|
|
|
2137
|
-
declare const
|
|
2138
|
-
declare const
|
|
2288
|
+
declare const Claude3_7Sonnet20250219Literal = "claude-3-7-sonnet-20250219";
|
|
2289
|
+
declare const Claude3_7Sonnet20250219Schema: {
|
|
2139
2290
|
description: string;
|
|
2140
2291
|
name: string;
|
|
2141
2292
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2142
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2293
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response" | "reasoning", ...("text" | "image" | "tool-call" | "tool-response" | "reasoning")[]];
|
|
2143
2294
|
maxInputTokens: number;
|
|
2144
2295
|
maxOutputTokens: number;
|
|
2145
2296
|
config: {
|
|
@@ -2227,7 +2378,7 @@ declare const Claude3_5Haiku20241022Schema: {
|
|
|
2227
2378
|
};
|
|
2228
2379
|
maxReasoningTokens?: number | undefined;
|
|
2229
2380
|
};
|
|
2230
|
-
declare const
|
|
2381
|
+
declare const Claude3_7Sonnet20250219Options: z.ZodObject<{
|
|
2231
2382
|
modelName: z.ZodString;
|
|
2232
2383
|
apiKey: z.ZodString;
|
|
2233
2384
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2243,13 +2394,14 @@ declare const Claude3_5Haiku20241022Options: z.ZodObject<{
|
|
|
2243
2394
|
completeChatUrl?: string | undefined;
|
|
2244
2395
|
streamChatUrl?: string | undefined;
|
|
2245
2396
|
}>;
|
|
2246
|
-
type
|
|
2247
|
-
declare class
|
|
2248
|
-
constructor(options:
|
|
2397
|
+
type Claude3_7Sonnet20250219OptionsType = z.infer<typeof Claude3_7Sonnet20250219Options>;
|
|
2398
|
+
declare class Claude3_7Sonnet20250219 extends BaseChatModel {
|
|
2399
|
+
constructor(options: Claude3_7Sonnet20250219OptionsType);
|
|
2400
|
+
getDefaultHeaders(): HeadersType;
|
|
2249
2401
|
}
|
|
2250
2402
|
|
|
2251
|
-
declare const
|
|
2252
|
-
declare const
|
|
2403
|
+
declare const Claude3Haiku20240307Literal = "claude-3-haiku-20240307";
|
|
2404
|
+
declare const Claude3Haiku20240307Schema: {
|
|
2253
2405
|
description: string;
|
|
2254
2406
|
name: string;
|
|
2255
2407
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -2341,7 +2493,7 @@ declare const Claude3Opus20240229Schema: {
|
|
|
2341
2493
|
};
|
|
2342
2494
|
maxReasoningTokens?: number | undefined;
|
|
2343
2495
|
};
|
|
2344
|
-
declare const
|
|
2496
|
+
declare const Claude3Haiku20240307Options: z.ZodObject<{
|
|
2345
2497
|
modelName: z.ZodString;
|
|
2346
2498
|
apiKey: z.ZodString;
|
|
2347
2499
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2357,13 +2509,13 @@ declare const Claude3Opus20240229Options: z.ZodObject<{
|
|
|
2357
2509
|
completeChatUrl?: string | undefined;
|
|
2358
2510
|
streamChatUrl?: string | undefined;
|
|
2359
2511
|
}>;
|
|
2360
|
-
type
|
|
2361
|
-
declare class
|
|
2362
|
-
constructor(options:
|
|
2512
|
+
type Claude3Haiku20240307OptionsType = z.infer<typeof Claude3Haiku20240307Options>;
|
|
2513
|
+
declare class Claude3Haiku20240307 extends BaseChatModel {
|
|
2514
|
+
constructor(options: Claude3Haiku20240307OptionsType);
|
|
2363
2515
|
}
|
|
2364
2516
|
|
|
2365
|
-
declare const
|
|
2366
|
-
declare const
|
|
2517
|
+
declare const Claude3_5Haiku20241022Literal = "claude-3-5-haiku-20241022";
|
|
2518
|
+
declare const Claude3_5Haiku20241022Schema: {
|
|
2367
2519
|
description: string;
|
|
2368
2520
|
name: string;
|
|
2369
2521
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -2455,7 +2607,7 @@ declare const Claude3Sonnet20240229Schema: {
|
|
|
2455
2607
|
};
|
|
2456
2608
|
maxReasoningTokens?: number | undefined;
|
|
2457
2609
|
};
|
|
2458
|
-
declare const
|
|
2610
|
+
declare const Claude3_5Haiku20241022Options: z.ZodObject<{
|
|
2459
2611
|
modelName: z.ZodString;
|
|
2460
2612
|
apiKey: z.ZodString;
|
|
2461
2613
|
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2471,25 +2623,253 @@ declare const Claude3Sonnet20240229Options: z.ZodObject<{
|
|
|
2471
2623
|
completeChatUrl?: string | undefined;
|
|
2472
2624
|
streamChatUrl?: string | undefined;
|
|
2473
2625
|
}>;
|
|
2474
|
-
type
|
|
2475
|
-
declare class
|
|
2476
|
-
constructor(options:
|
|
2626
|
+
type Claude3_5Haiku20241022OptionsType = z.infer<typeof Claude3_5Haiku20241022Options>;
|
|
2627
|
+
declare class Claude3_5Haiku20241022 extends BaseChatModel {
|
|
2628
|
+
constructor(options: Claude3_5Haiku20241022OptionsType);
|
|
2477
2629
|
}
|
|
2478
2630
|
|
|
2479
|
-
declare const
|
|
2480
|
-
declare const
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2631
|
+
declare const Claude3Opus20240229Literal = "claude-3-opus-20240229";
|
|
2632
|
+
declare const Claude3Opus20240229Schema: {
|
|
2633
|
+
description: string;
|
|
2634
|
+
name: string;
|
|
2635
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2636
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2637
|
+
maxInputTokens: number;
|
|
2638
|
+
maxOutputTokens: number;
|
|
2639
|
+
config: {
|
|
2640
|
+
def: Record<string, {
|
|
2641
|
+
type: "multi-string";
|
|
2642
|
+
param: string;
|
|
2643
|
+
title: string;
|
|
2644
|
+
description: string;
|
|
2645
|
+
max: number;
|
|
2646
|
+
} | {
|
|
2647
|
+
type: "object-schema";
|
|
2648
|
+
param: string;
|
|
2649
|
+
title: string;
|
|
2650
|
+
description: string;
|
|
2651
|
+
objectSchema?: any;
|
|
2652
|
+
} | {
|
|
2653
|
+
type: "paired-select";
|
|
2654
|
+
param: string;
|
|
2655
|
+
title: string;
|
|
2656
|
+
description: string;
|
|
2657
|
+
fields: [{
|
|
2658
|
+
label: string;
|
|
2659
|
+
key: string;
|
|
2660
|
+
choices: {
|
|
2661
|
+
value: string;
|
|
2662
|
+
label: string;
|
|
2663
|
+
}[];
|
|
2664
|
+
description?: string | undefined;
|
|
2665
|
+
}, {
|
|
2666
|
+
label: string;
|
|
2667
|
+
key: string;
|
|
2668
|
+
choices: {
|
|
2669
|
+
value: string;
|
|
2670
|
+
label: string;
|
|
2671
|
+
}[];
|
|
2672
|
+
description?: string | undefined;
|
|
2673
|
+
}];
|
|
2674
|
+
uniqueByField?: string | undefined;
|
|
2675
|
+
} | {
|
|
2676
|
+
type: "range";
|
|
2677
|
+
param: string;
|
|
2678
|
+
title: string;
|
|
2679
|
+
description: string;
|
|
2680
|
+
max: number;
|
|
2681
|
+
default: number;
|
|
2682
|
+
min: number;
|
|
2683
|
+
step: number;
|
|
2684
|
+
} | {
|
|
2685
|
+
type: "select-boolean";
|
|
2686
|
+
param: string;
|
|
2687
|
+
title: string;
|
|
2688
|
+
description: string;
|
|
2689
|
+
default: boolean | null;
|
|
2690
|
+
} | {
|
|
2691
|
+
type: "select-string";
|
|
2692
|
+
param: string;
|
|
2693
|
+
title: string;
|
|
2694
|
+
description: string;
|
|
2695
|
+
default: string;
|
|
2696
|
+
choices: string[];
|
|
2697
|
+
} | {
|
|
2698
|
+
type: "string";
|
|
2699
|
+
param: string;
|
|
2700
|
+
title: string;
|
|
2701
|
+
description: string;
|
|
2702
|
+
default?: string | undefined;
|
|
2703
|
+
minLength?: number | undefined;
|
|
2704
|
+
maxLength?: number | undefined;
|
|
2705
|
+
}>;
|
|
2706
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2707
|
+
};
|
|
2708
|
+
price: {
|
|
2709
|
+
modelName: string;
|
|
2710
|
+
currency: string;
|
|
2711
|
+
tokenRanges: {
|
|
2712
|
+
minTokens: number;
|
|
2713
|
+
prices: {
|
|
2714
|
+
base: {
|
|
2715
|
+
inputPricePerMillion: number;
|
|
2716
|
+
outputPricePerMillion: number;
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2719
|
+
maxTokens?: number | null | undefined;
|
|
2720
|
+
}[];
|
|
2721
|
+
};
|
|
2722
|
+
maxReasoningTokens?: number | undefined;
|
|
2723
|
+
};
|
|
2724
|
+
declare const Claude3Opus20240229Options: z.ZodObject<{
|
|
2725
|
+
modelName: z.ZodString;
|
|
2726
|
+
apiKey: z.ZodString;
|
|
2727
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
}, "strip", z.ZodTypeAny, {
|
|
2730
|
+
modelName: string;
|
|
2731
|
+
apiKey: string;
|
|
2732
|
+
completeChatUrl?: string | undefined;
|
|
2733
|
+
streamChatUrl?: string | undefined;
|
|
2734
|
+
}, {
|
|
2735
|
+
modelName: string;
|
|
2736
|
+
apiKey: string;
|
|
2737
|
+
completeChatUrl?: string | undefined;
|
|
2738
|
+
streamChatUrl?: string | undefined;
|
|
2739
|
+
}>;
|
|
2740
|
+
type Claude3Opus20240229OptionsType = z.infer<typeof Claude3Opus20240229Options>;
|
|
2741
|
+
declare class Claude3Opus20240229 extends BaseChatModel {
|
|
2742
|
+
constructor(options: Claude3Opus20240229OptionsType);
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
declare const Claude3Sonnet20240229Literal = "claude-3-sonnet-20240229";
|
|
2746
|
+
declare const Claude3Sonnet20240229Schema: {
|
|
2747
|
+
description: string;
|
|
2748
|
+
name: string;
|
|
2749
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2750
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2751
|
+
maxInputTokens: number;
|
|
2752
|
+
maxOutputTokens: number;
|
|
2753
|
+
config: {
|
|
2754
|
+
def: Record<string, {
|
|
2755
|
+
type: "multi-string";
|
|
2756
|
+
param: string;
|
|
2757
|
+
title: string;
|
|
2758
|
+
description: string;
|
|
2759
|
+
max: number;
|
|
2760
|
+
} | {
|
|
2761
|
+
type: "object-schema";
|
|
2762
|
+
param: string;
|
|
2763
|
+
title: string;
|
|
2764
|
+
description: string;
|
|
2765
|
+
objectSchema?: any;
|
|
2766
|
+
} | {
|
|
2767
|
+
type: "paired-select";
|
|
2768
|
+
param: string;
|
|
2769
|
+
title: string;
|
|
2770
|
+
description: string;
|
|
2771
|
+
fields: [{
|
|
2772
|
+
label: string;
|
|
2773
|
+
key: string;
|
|
2774
|
+
choices: {
|
|
2775
|
+
value: string;
|
|
2776
|
+
label: string;
|
|
2777
|
+
}[];
|
|
2778
|
+
description?: string | undefined;
|
|
2779
|
+
}, {
|
|
2780
|
+
label: string;
|
|
2781
|
+
key: string;
|
|
2782
|
+
choices: {
|
|
2783
|
+
value: string;
|
|
2784
|
+
label: string;
|
|
2785
|
+
}[];
|
|
2786
|
+
description?: string | undefined;
|
|
2787
|
+
}];
|
|
2788
|
+
uniqueByField?: string | undefined;
|
|
2789
|
+
} | {
|
|
2790
|
+
type: "range";
|
|
2791
|
+
param: string;
|
|
2792
|
+
title: string;
|
|
2793
|
+
description: string;
|
|
2794
|
+
max: number;
|
|
2795
|
+
default: number;
|
|
2796
|
+
min: number;
|
|
2797
|
+
step: number;
|
|
2798
|
+
} | {
|
|
2799
|
+
type: "select-boolean";
|
|
2800
|
+
param: string;
|
|
2801
|
+
title: string;
|
|
2802
|
+
description: string;
|
|
2803
|
+
default: boolean | null;
|
|
2804
|
+
} | {
|
|
2805
|
+
type: "select-string";
|
|
2806
|
+
param: string;
|
|
2807
|
+
title: string;
|
|
2808
|
+
description: string;
|
|
2809
|
+
default: string;
|
|
2810
|
+
choices: string[];
|
|
2811
|
+
} | {
|
|
2812
|
+
type: "string";
|
|
2813
|
+
param: string;
|
|
2814
|
+
title: string;
|
|
2815
|
+
description: string;
|
|
2816
|
+
default?: string | undefined;
|
|
2817
|
+
minLength?: number | undefined;
|
|
2818
|
+
maxLength?: number | undefined;
|
|
2819
|
+
}>;
|
|
2820
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2821
|
+
};
|
|
2822
|
+
price: {
|
|
2823
|
+
modelName: string;
|
|
2824
|
+
currency: string;
|
|
2825
|
+
tokenRanges: {
|
|
2826
|
+
minTokens: number;
|
|
2827
|
+
prices: {
|
|
2828
|
+
base: {
|
|
2829
|
+
inputPricePerMillion: number;
|
|
2830
|
+
outputPricePerMillion: number;
|
|
2831
|
+
};
|
|
2832
|
+
};
|
|
2833
|
+
maxTokens?: number | null | undefined;
|
|
2834
|
+
}[];
|
|
2835
|
+
};
|
|
2836
|
+
maxReasoningTokens?: number | undefined;
|
|
2837
|
+
};
|
|
2838
|
+
declare const Claude3Sonnet20240229Options: z.ZodObject<{
|
|
2839
|
+
modelName: z.ZodString;
|
|
2840
|
+
apiKey: z.ZodString;
|
|
2841
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
2842
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
}, "strip", z.ZodTypeAny, {
|
|
2844
|
+
modelName: string;
|
|
2845
|
+
apiKey: string;
|
|
2846
|
+
completeChatUrl?: string | undefined;
|
|
2847
|
+
streamChatUrl?: string | undefined;
|
|
2848
|
+
}, {
|
|
2849
|
+
modelName: string;
|
|
2850
|
+
apiKey: string;
|
|
2851
|
+
completeChatUrl?: string | undefined;
|
|
2852
|
+
streamChatUrl?: string | undefined;
|
|
2853
|
+
}>;
|
|
2854
|
+
type Claude3Sonnet20240229OptionsType = z.infer<typeof Claude3Sonnet20240229Options>;
|
|
2855
|
+
declare class Claude3Sonnet20240229 extends BaseChatModel {
|
|
2856
|
+
constructor(options: Claude3Sonnet20240229OptionsType);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
declare const AnthropicChatModelRoles: z.ZodEnum<["system", "user", "assistant", "tool"]>;
|
|
2860
|
+
declare const AnthropicChatModelRolesMap: {
|
|
2861
|
+
readonly system: "system";
|
|
2862
|
+
readonly user: "user";
|
|
2863
|
+
readonly assistant: "assistant";
|
|
2864
|
+
readonly tool: "user";
|
|
2865
|
+
};
|
|
2866
|
+
|
|
2867
|
+
declare const AnthropicChatModelModalities: ChatModelSchemaType["modalities"];
|
|
2868
|
+
declare const AnthropicChatModelModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response"]>;
|
|
2869
|
+
declare const AnthropicThinkingChatModelModalities: ChatModelSchemaType["modalities"];
|
|
2870
|
+
declare const AnthropicThinkingChatModelModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response", "reasoning"]>;
|
|
2871
|
+
|
|
2872
|
+
declare const AnthropicCompleteChatMcpToolUseResponse: z.ZodObject<{
|
|
2493
2873
|
type: z.ZodLiteral<"mcp_tool_use">;
|
|
2494
2874
|
id: z.ZodString;
|
|
2495
2875
|
name: z.ZodString;
|
|
@@ -4614,17 +4994,23 @@ declare const AnthropicEmbeddingRequest: z.ZodObject<{
|
|
|
4614
4994
|
encoding_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["base64"]>>>;
|
|
4615
4995
|
input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["query", "document"]>>>;
|
|
4616
4996
|
truncation: z.ZodOptional<z.ZodBoolean>;
|
|
4997
|
+
output_dimension: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<256>, z.ZodLiteral<512>, z.ZodLiteral<1024>, z.ZodLiteral<2048>]>>>;
|
|
4998
|
+
output_dtype: z.ZodOptional<z.ZodNullable<z.ZodEnum<["float", "int8", "uint8", "binary", "ubinary"]>>>;
|
|
4617
4999
|
}, "strip", z.ZodTypeAny, {
|
|
4618
5000
|
input: string | string[];
|
|
4619
5001
|
encoding_format?: "base64" | null | undefined;
|
|
4620
5002
|
input_type?: "query" | "document" | null | undefined;
|
|
4621
5003
|
truncation?: boolean | undefined;
|
|
5004
|
+
output_dimension?: 1024 | 256 | 512 | 2048 | null | undefined;
|
|
5005
|
+
output_dtype?: "float" | "int8" | "uint8" | "binary" | "ubinary" | null | undefined;
|
|
4622
5006
|
model?: string | undefined;
|
|
4623
5007
|
}, {
|
|
4624
5008
|
input: string | string[];
|
|
4625
5009
|
encoding_format?: "base64" | null | undefined;
|
|
4626
5010
|
input_type?: "query" | "document" | null | undefined;
|
|
4627
5011
|
truncation?: boolean | undefined;
|
|
5012
|
+
output_dimension?: 1024 | 256 | 512 | 2048 | null | undefined;
|
|
5013
|
+
output_dtype?: "float" | "int8" | "uint8" | "binary" | "ubinary" | null | undefined;
|
|
4628
5014
|
model?: string | undefined;
|
|
4629
5015
|
}>;
|
|
4630
5016
|
type AnthropicEmbeddingRequestType = z.infer<typeof AnthropicEmbeddingRequest>;
|
|
@@ -4670,6 +5056,7 @@ declare class BaseEmbeddingModel implements EmbeddingModelV1<EmbeddingModelSchem
|
|
|
4670
5056
|
getGetEmbeddingsHeaders(config?: ConfigType, requests?: EmbeddingRequestsType): Promise<HeadersType>;
|
|
4671
5057
|
getGetEmbeddingsData(config: ConfigType, requests: EmbeddingRequestsType): Promise<ParamsType>;
|
|
4672
5058
|
transformGetEmbeddingsResponse(response: any): EmbeddingResponseType;
|
|
5059
|
+
getModelPricing(): EmbeddingModelPriceType;
|
|
4673
5060
|
}
|
|
4674
5061
|
|
|
4675
5062
|
declare const VoyageCode2Literal = "voyage-code-2";
|
|
@@ -4748,6 +5135,11 @@ declare const VoyageCode2Schema: {
|
|
|
4748
5135
|
}>;
|
|
4749
5136
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4750
5137
|
};
|
|
5138
|
+
price: {
|
|
5139
|
+
inputPricePerMillion: number;
|
|
5140
|
+
modelName: string;
|
|
5141
|
+
currency: string;
|
|
5142
|
+
};
|
|
4751
5143
|
};
|
|
4752
5144
|
declare const VoyageCode2Options: z.ZodObject<{
|
|
4753
5145
|
modelName: z.ZodString;
|
|
@@ -4843,6 +5235,11 @@ declare const VoyageLaw2Schema: {
|
|
|
4843
5235
|
}>;
|
|
4844
5236
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4845
5237
|
};
|
|
5238
|
+
price: {
|
|
5239
|
+
inputPricePerMillion: number;
|
|
5240
|
+
modelName: string;
|
|
5241
|
+
currency: string;
|
|
5242
|
+
};
|
|
4846
5243
|
};
|
|
4847
5244
|
declare const VoyageLaw2Options: z.ZodObject<{
|
|
4848
5245
|
modelName: z.ZodString;
|
|
@@ -4938,6 +5335,11 @@ declare const VoyageMultilingual2Schema: {
|
|
|
4938
5335
|
}>;
|
|
4939
5336
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4940
5337
|
};
|
|
5338
|
+
price: {
|
|
5339
|
+
inputPricePerMillion: number;
|
|
5340
|
+
modelName: string;
|
|
5341
|
+
currency: string;
|
|
5342
|
+
};
|
|
4941
5343
|
};
|
|
4942
5344
|
declare const VoyageMultilingual2Options: z.ZodObject<{
|
|
4943
5345
|
modelName: z.ZodString;
|
|
@@ -5033,8 +5435,13 @@ declare const VoyageFinance2Schema: {
|
|
|
5033
5435
|
}>;
|
|
5034
5436
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5035
5437
|
};
|
|
5036
|
-
|
|
5037
|
-
|
|
5438
|
+
price: {
|
|
5439
|
+
inputPricePerMillion: number;
|
|
5440
|
+
modelName: string;
|
|
5441
|
+
currency: string;
|
|
5442
|
+
};
|
|
5443
|
+
};
|
|
5444
|
+
declare const VoyageFinance2Options: z.ZodObject<{
|
|
5038
5445
|
modelName: z.ZodString;
|
|
5039
5446
|
apiKey: z.ZodString;
|
|
5040
5447
|
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5128,6 +5535,11 @@ declare const Voyage3LiteSchema: {
|
|
|
5128
5535
|
}>;
|
|
5129
5536
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5130
5537
|
};
|
|
5538
|
+
price: {
|
|
5539
|
+
inputPricePerMillion: number;
|
|
5540
|
+
modelName: string;
|
|
5541
|
+
currency: string;
|
|
5542
|
+
};
|
|
5131
5543
|
};
|
|
5132
5544
|
declare const Voyage3LiteOptions: z.ZodObject<{
|
|
5133
5545
|
modelName: z.ZodString;
|
|
@@ -5223,6 +5635,11 @@ declare const Voyage3Schema: {
|
|
|
5223
5635
|
}>;
|
|
5224
5636
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5225
5637
|
};
|
|
5638
|
+
price: {
|
|
5639
|
+
inputPricePerMillion: number;
|
|
5640
|
+
modelName: string;
|
|
5641
|
+
currency: string;
|
|
5642
|
+
};
|
|
5226
5643
|
};
|
|
5227
5644
|
declare const Voyage3Options: z.ZodObject<{
|
|
5228
5645
|
modelName: z.ZodString;
|
|
@@ -5242,6 +5659,806 @@ declare class Voyage3 extends BaseEmbeddingModel {
|
|
|
5242
5659
|
constructor(options: Voyage3OptionsType);
|
|
5243
5660
|
}
|
|
5244
5661
|
|
|
5662
|
+
declare const Voyage3LargeLiteral = "voyage-3-large";
|
|
5663
|
+
declare const Voyage3LargeSchema: {
|
|
5664
|
+
description: string;
|
|
5665
|
+
name: string;
|
|
5666
|
+
modalities: ["text", ..."text"[]];
|
|
5667
|
+
maxInputTokens: number;
|
|
5668
|
+
maxOutputTokens: number;
|
|
5669
|
+
config: {
|
|
5670
|
+
def: Record<string, {
|
|
5671
|
+
type: "multi-string";
|
|
5672
|
+
param: string;
|
|
5673
|
+
title: string;
|
|
5674
|
+
description: string;
|
|
5675
|
+
max: number;
|
|
5676
|
+
} | {
|
|
5677
|
+
type: "object-schema";
|
|
5678
|
+
param: string;
|
|
5679
|
+
title: string;
|
|
5680
|
+
description: string;
|
|
5681
|
+
objectSchema?: any;
|
|
5682
|
+
} | {
|
|
5683
|
+
type: "paired-select";
|
|
5684
|
+
param: string;
|
|
5685
|
+
title: string;
|
|
5686
|
+
description: string;
|
|
5687
|
+
fields: [{
|
|
5688
|
+
label: string;
|
|
5689
|
+
key: string;
|
|
5690
|
+
choices: {
|
|
5691
|
+
value: string;
|
|
5692
|
+
label: string;
|
|
5693
|
+
}[];
|
|
5694
|
+
description?: string | undefined;
|
|
5695
|
+
}, {
|
|
5696
|
+
label: string;
|
|
5697
|
+
key: string;
|
|
5698
|
+
choices: {
|
|
5699
|
+
value: string;
|
|
5700
|
+
label: string;
|
|
5701
|
+
}[];
|
|
5702
|
+
description?: string | undefined;
|
|
5703
|
+
}];
|
|
5704
|
+
uniqueByField?: string | undefined;
|
|
5705
|
+
} | {
|
|
5706
|
+
type: "range";
|
|
5707
|
+
param: string;
|
|
5708
|
+
title: string;
|
|
5709
|
+
description: string;
|
|
5710
|
+
max: number;
|
|
5711
|
+
default: number;
|
|
5712
|
+
min: number;
|
|
5713
|
+
step: number;
|
|
5714
|
+
} | {
|
|
5715
|
+
type: "select-boolean";
|
|
5716
|
+
param: string;
|
|
5717
|
+
title: string;
|
|
5718
|
+
description: string;
|
|
5719
|
+
default: boolean | null;
|
|
5720
|
+
} | {
|
|
5721
|
+
type: "select-string";
|
|
5722
|
+
param: string;
|
|
5723
|
+
title: string;
|
|
5724
|
+
description: string;
|
|
5725
|
+
default: string;
|
|
5726
|
+
choices: string[];
|
|
5727
|
+
} | {
|
|
5728
|
+
type: "string";
|
|
5729
|
+
param: string;
|
|
5730
|
+
title: string;
|
|
5731
|
+
description: string;
|
|
5732
|
+
default?: string | undefined;
|
|
5733
|
+
minLength?: number | undefined;
|
|
5734
|
+
maxLength?: number | undefined;
|
|
5735
|
+
}>;
|
|
5736
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5737
|
+
};
|
|
5738
|
+
price: {
|
|
5739
|
+
inputPricePerMillion: number;
|
|
5740
|
+
modelName: string;
|
|
5741
|
+
currency: string;
|
|
5742
|
+
};
|
|
5743
|
+
};
|
|
5744
|
+
declare const Voyage3LargeOptions: z.ZodObject<{
|
|
5745
|
+
modelName: z.ZodString;
|
|
5746
|
+
apiKey: z.ZodString;
|
|
5747
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
5748
|
+
}, "strip", z.ZodTypeAny, {
|
|
5749
|
+
modelName: string;
|
|
5750
|
+
apiKey: string;
|
|
5751
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5752
|
+
}, {
|
|
5753
|
+
modelName: string;
|
|
5754
|
+
apiKey: string;
|
|
5755
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5756
|
+
}>;
|
|
5757
|
+
type Voyage3LargeOptionsType = z.infer<typeof Voyage3LargeOptions>;
|
|
5758
|
+
declare class Voyage3Large extends BaseEmbeddingModel {
|
|
5759
|
+
constructor(options: Voyage3LargeOptionsType);
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
declare const Voyage3_5Literal = "voyage-3.5";
|
|
5763
|
+
declare const Voyage3_5Schema: {
|
|
5764
|
+
description: string;
|
|
5765
|
+
name: string;
|
|
5766
|
+
modalities: ["text", ..."text"[]];
|
|
5767
|
+
maxInputTokens: number;
|
|
5768
|
+
maxOutputTokens: number;
|
|
5769
|
+
config: {
|
|
5770
|
+
def: Record<string, {
|
|
5771
|
+
type: "multi-string";
|
|
5772
|
+
param: string;
|
|
5773
|
+
title: string;
|
|
5774
|
+
description: string;
|
|
5775
|
+
max: number;
|
|
5776
|
+
} | {
|
|
5777
|
+
type: "object-schema";
|
|
5778
|
+
param: string;
|
|
5779
|
+
title: string;
|
|
5780
|
+
description: string;
|
|
5781
|
+
objectSchema?: any;
|
|
5782
|
+
} | {
|
|
5783
|
+
type: "paired-select";
|
|
5784
|
+
param: string;
|
|
5785
|
+
title: string;
|
|
5786
|
+
description: string;
|
|
5787
|
+
fields: [{
|
|
5788
|
+
label: string;
|
|
5789
|
+
key: string;
|
|
5790
|
+
choices: {
|
|
5791
|
+
value: string;
|
|
5792
|
+
label: string;
|
|
5793
|
+
}[];
|
|
5794
|
+
description?: string | undefined;
|
|
5795
|
+
}, {
|
|
5796
|
+
label: string;
|
|
5797
|
+
key: string;
|
|
5798
|
+
choices: {
|
|
5799
|
+
value: string;
|
|
5800
|
+
label: string;
|
|
5801
|
+
}[];
|
|
5802
|
+
description?: string | undefined;
|
|
5803
|
+
}];
|
|
5804
|
+
uniqueByField?: string | undefined;
|
|
5805
|
+
} | {
|
|
5806
|
+
type: "range";
|
|
5807
|
+
param: string;
|
|
5808
|
+
title: string;
|
|
5809
|
+
description: string;
|
|
5810
|
+
max: number;
|
|
5811
|
+
default: number;
|
|
5812
|
+
min: number;
|
|
5813
|
+
step: number;
|
|
5814
|
+
} | {
|
|
5815
|
+
type: "select-boolean";
|
|
5816
|
+
param: string;
|
|
5817
|
+
title: string;
|
|
5818
|
+
description: string;
|
|
5819
|
+
default: boolean | null;
|
|
5820
|
+
} | {
|
|
5821
|
+
type: "select-string";
|
|
5822
|
+
param: string;
|
|
5823
|
+
title: string;
|
|
5824
|
+
description: string;
|
|
5825
|
+
default: string;
|
|
5826
|
+
choices: string[];
|
|
5827
|
+
} | {
|
|
5828
|
+
type: "string";
|
|
5829
|
+
param: string;
|
|
5830
|
+
title: string;
|
|
5831
|
+
description: string;
|
|
5832
|
+
default?: string | undefined;
|
|
5833
|
+
minLength?: number | undefined;
|
|
5834
|
+
maxLength?: number | undefined;
|
|
5835
|
+
}>;
|
|
5836
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5837
|
+
};
|
|
5838
|
+
price: {
|
|
5839
|
+
inputPricePerMillion: number;
|
|
5840
|
+
modelName: string;
|
|
5841
|
+
currency: string;
|
|
5842
|
+
};
|
|
5843
|
+
};
|
|
5844
|
+
declare const Voyage3_5Options: z.ZodObject<{
|
|
5845
|
+
modelName: z.ZodString;
|
|
5846
|
+
apiKey: z.ZodString;
|
|
5847
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
}, "strip", z.ZodTypeAny, {
|
|
5849
|
+
modelName: string;
|
|
5850
|
+
apiKey: string;
|
|
5851
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5852
|
+
}, {
|
|
5853
|
+
modelName: string;
|
|
5854
|
+
apiKey: string;
|
|
5855
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5856
|
+
}>;
|
|
5857
|
+
type Voyage3_5OptionsType = z.infer<typeof Voyage3_5Options>;
|
|
5858
|
+
declare class Voyage3_5 extends BaseEmbeddingModel {
|
|
5859
|
+
constructor(options: Voyage3_5OptionsType);
|
|
5860
|
+
}
|
|
5861
|
+
|
|
5862
|
+
declare const Voyage3_5LiteLiteral = "voyage-3.5-lite";
|
|
5863
|
+
declare const Voyage3_5LiteSchema: {
|
|
5864
|
+
description: string;
|
|
5865
|
+
name: string;
|
|
5866
|
+
modalities: ["text", ..."text"[]];
|
|
5867
|
+
maxInputTokens: number;
|
|
5868
|
+
maxOutputTokens: number;
|
|
5869
|
+
config: {
|
|
5870
|
+
def: Record<string, {
|
|
5871
|
+
type: "multi-string";
|
|
5872
|
+
param: string;
|
|
5873
|
+
title: string;
|
|
5874
|
+
description: string;
|
|
5875
|
+
max: number;
|
|
5876
|
+
} | {
|
|
5877
|
+
type: "object-schema";
|
|
5878
|
+
param: string;
|
|
5879
|
+
title: string;
|
|
5880
|
+
description: string;
|
|
5881
|
+
objectSchema?: any;
|
|
5882
|
+
} | {
|
|
5883
|
+
type: "paired-select";
|
|
5884
|
+
param: string;
|
|
5885
|
+
title: string;
|
|
5886
|
+
description: string;
|
|
5887
|
+
fields: [{
|
|
5888
|
+
label: string;
|
|
5889
|
+
key: string;
|
|
5890
|
+
choices: {
|
|
5891
|
+
value: string;
|
|
5892
|
+
label: string;
|
|
5893
|
+
}[];
|
|
5894
|
+
description?: string | undefined;
|
|
5895
|
+
}, {
|
|
5896
|
+
label: string;
|
|
5897
|
+
key: string;
|
|
5898
|
+
choices: {
|
|
5899
|
+
value: string;
|
|
5900
|
+
label: string;
|
|
5901
|
+
}[];
|
|
5902
|
+
description?: string | undefined;
|
|
5903
|
+
}];
|
|
5904
|
+
uniqueByField?: string | undefined;
|
|
5905
|
+
} | {
|
|
5906
|
+
type: "range";
|
|
5907
|
+
param: string;
|
|
5908
|
+
title: string;
|
|
5909
|
+
description: string;
|
|
5910
|
+
max: number;
|
|
5911
|
+
default: number;
|
|
5912
|
+
min: number;
|
|
5913
|
+
step: number;
|
|
5914
|
+
} | {
|
|
5915
|
+
type: "select-boolean";
|
|
5916
|
+
param: string;
|
|
5917
|
+
title: string;
|
|
5918
|
+
description: string;
|
|
5919
|
+
default: boolean | null;
|
|
5920
|
+
} | {
|
|
5921
|
+
type: "select-string";
|
|
5922
|
+
param: string;
|
|
5923
|
+
title: string;
|
|
5924
|
+
description: string;
|
|
5925
|
+
default: string;
|
|
5926
|
+
choices: string[];
|
|
5927
|
+
} | {
|
|
5928
|
+
type: "string";
|
|
5929
|
+
param: string;
|
|
5930
|
+
title: string;
|
|
5931
|
+
description: string;
|
|
5932
|
+
default?: string | undefined;
|
|
5933
|
+
minLength?: number | undefined;
|
|
5934
|
+
maxLength?: number | undefined;
|
|
5935
|
+
}>;
|
|
5936
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5937
|
+
};
|
|
5938
|
+
price: {
|
|
5939
|
+
inputPricePerMillion: number;
|
|
5940
|
+
modelName: string;
|
|
5941
|
+
currency: string;
|
|
5942
|
+
};
|
|
5943
|
+
};
|
|
5944
|
+
declare const Voyage3_5LiteOptions: z.ZodObject<{
|
|
5945
|
+
modelName: z.ZodString;
|
|
5946
|
+
apiKey: z.ZodString;
|
|
5947
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
5948
|
+
}, "strip", z.ZodTypeAny, {
|
|
5949
|
+
modelName: string;
|
|
5950
|
+
apiKey: string;
|
|
5951
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5952
|
+
}, {
|
|
5953
|
+
modelName: string;
|
|
5954
|
+
apiKey: string;
|
|
5955
|
+
getEmbeddingsUrl?: string | undefined;
|
|
5956
|
+
}>;
|
|
5957
|
+
type Voyage3_5LiteOptionsType = z.infer<typeof Voyage3_5LiteOptions>;
|
|
5958
|
+
declare class Voyage3_5Lite extends BaseEmbeddingModel {
|
|
5959
|
+
constructor(options: Voyage3_5LiteOptionsType);
|
|
5960
|
+
}
|
|
5961
|
+
|
|
5962
|
+
declare const VoyageCode3Literal = "voyage-code-3";
|
|
5963
|
+
declare const VoyageCode3Schema: {
|
|
5964
|
+
description: string;
|
|
5965
|
+
name: string;
|
|
5966
|
+
modalities: ["text", ..."text"[]];
|
|
5967
|
+
maxInputTokens: number;
|
|
5968
|
+
maxOutputTokens: number;
|
|
5969
|
+
config: {
|
|
5970
|
+
def: Record<string, {
|
|
5971
|
+
type: "multi-string";
|
|
5972
|
+
param: string;
|
|
5973
|
+
title: string;
|
|
5974
|
+
description: string;
|
|
5975
|
+
max: number;
|
|
5976
|
+
} | {
|
|
5977
|
+
type: "object-schema";
|
|
5978
|
+
param: string;
|
|
5979
|
+
title: string;
|
|
5980
|
+
description: string;
|
|
5981
|
+
objectSchema?: any;
|
|
5982
|
+
} | {
|
|
5983
|
+
type: "paired-select";
|
|
5984
|
+
param: string;
|
|
5985
|
+
title: string;
|
|
5986
|
+
description: string;
|
|
5987
|
+
fields: [{
|
|
5988
|
+
label: string;
|
|
5989
|
+
key: string;
|
|
5990
|
+
choices: {
|
|
5991
|
+
value: string;
|
|
5992
|
+
label: string;
|
|
5993
|
+
}[];
|
|
5994
|
+
description?: string | undefined;
|
|
5995
|
+
}, {
|
|
5996
|
+
label: string;
|
|
5997
|
+
key: string;
|
|
5998
|
+
choices: {
|
|
5999
|
+
value: string;
|
|
6000
|
+
label: string;
|
|
6001
|
+
}[];
|
|
6002
|
+
description?: string | undefined;
|
|
6003
|
+
}];
|
|
6004
|
+
uniqueByField?: string | undefined;
|
|
6005
|
+
} | {
|
|
6006
|
+
type: "range";
|
|
6007
|
+
param: string;
|
|
6008
|
+
title: string;
|
|
6009
|
+
description: string;
|
|
6010
|
+
max: number;
|
|
6011
|
+
default: number;
|
|
6012
|
+
min: number;
|
|
6013
|
+
step: number;
|
|
6014
|
+
} | {
|
|
6015
|
+
type: "select-boolean";
|
|
6016
|
+
param: string;
|
|
6017
|
+
title: string;
|
|
6018
|
+
description: string;
|
|
6019
|
+
default: boolean | null;
|
|
6020
|
+
} | {
|
|
6021
|
+
type: "select-string";
|
|
6022
|
+
param: string;
|
|
6023
|
+
title: string;
|
|
6024
|
+
description: string;
|
|
6025
|
+
default: string;
|
|
6026
|
+
choices: string[];
|
|
6027
|
+
} | {
|
|
6028
|
+
type: "string";
|
|
6029
|
+
param: string;
|
|
6030
|
+
title: string;
|
|
6031
|
+
description: string;
|
|
6032
|
+
default?: string | undefined;
|
|
6033
|
+
minLength?: number | undefined;
|
|
6034
|
+
maxLength?: number | undefined;
|
|
6035
|
+
}>;
|
|
6036
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
6037
|
+
};
|
|
6038
|
+
price: {
|
|
6039
|
+
inputPricePerMillion: number;
|
|
6040
|
+
modelName: string;
|
|
6041
|
+
currency: string;
|
|
6042
|
+
};
|
|
6043
|
+
};
|
|
6044
|
+
declare const VoyageCode3Options: z.ZodObject<{
|
|
6045
|
+
modelName: z.ZodString;
|
|
6046
|
+
apiKey: z.ZodString;
|
|
6047
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
6048
|
+
}, "strip", z.ZodTypeAny, {
|
|
6049
|
+
modelName: string;
|
|
6050
|
+
apiKey: string;
|
|
6051
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6052
|
+
}, {
|
|
6053
|
+
modelName: string;
|
|
6054
|
+
apiKey: string;
|
|
6055
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6056
|
+
}>;
|
|
6057
|
+
type VoyageCode3OptionsType = z.infer<typeof VoyageCode3Options>;
|
|
6058
|
+
declare class VoyageCode3 extends BaseEmbeddingModel {
|
|
6059
|
+
constructor(options: VoyageCode3OptionsType);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
declare const Voyage4LargeLiteral = "voyage-4-large";
|
|
6063
|
+
declare const Voyage4LargeSchema: {
|
|
6064
|
+
description: string;
|
|
6065
|
+
name: string;
|
|
6066
|
+
modalities: ["text", ..."text"[]];
|
|
6067
|
+
maxInputTokens: number;
|
|
6068
|
+
maxOutputTokens: number;
|
|
6069
|
+
config: {
|
|
6070
|
+
def: Record<string, {
|
|
6071
|
+
type: "multi-string";
|
|
6072
|
+
param: string;
|
|
6073
|
+
title: string;
|
|
6074
|
+
description: string;
|
|
6075
|
+
max: number;
|
|
6076
|
+
} | {
|
|
6077
|
+
type: "object-schema";
|
|
6078
|
+
param: string;
|
|
6079
|
+
title: string;
|
|
6080
|
+
description: string;
|
|
6081
|
+
objectSchema?: any;
|
|
6082
|
+
} | {
|
|
6083
|
+
type: "paired-select";
|
|
6084
|
+
param: string;
|
|
6085
|
+
title: string;
|
|
6086
|
+
description: string;
|
|
6087
|
+
fields: [{
|
|
6088
|
+
label: string;
|
|
6089
|
+
key: string;
|
|
6090
|
+
choices: {
|
|
6091
|
+
value: string;
|
|
6092
|
+
label: string;
|
|
6093
|
+
}[];
|
|
6094
|
+
description?: string | undefined;
|
|
6095
|
+
}, {
|
|
6096
|
+
label: string;
|
|
6097
|
+
key: string;
|
|
6098
|
+
choices: {
|
|
6099
|
+
value: string;
|
|
6100
|
+
label: string;
|
|
6101
|
+
}[];
|
|
6102
|
+
description?: string | undefined;
|
|
6103
|
+
}];
|
|
6104
|
+
uniqueByField?: string | undefined;
|
|
6105
|
+
} | {
|
|
6106
|
+
type: "range";
|
|
6107
|
+
param: string;
|
|
6108
|
+
title: string;
|
|
6109
|
+
description: string;
|
|
6110
|
+
max: number;
|
|
6111
|
+
default: number;
|
|
6112
|
+
min: number;
|
|
6113
|
+
step: number;
|
|
6114
|
+
} | {
|
|
6115
|
+
type: "select-boolean";
|
|
6116
|
+
param: string;
|
|
6117
|
+
title: string;
|
|
6118
|
+
description: string;
|
|
6119
|
+
default: boolean | null;
|
|
6120
|
+
} | {
|
|
6121
|
+
type: "select-string";
|
|
6122
|
+
param: string;
|
|
6123
|
+
title: string;
|
|
6124
|
+
description: string;
|
|
6125
|
+
default: string;
|
|
6126
|
+
choices: string[];
|
|
6127
|
+
} | {
|
|
6128
|
+
type: "string";
|
|
6129
|
+
param: string;
|
|
6130
|
+
title: string;
|
|
6131
|
+
description: string;
|
|
6132
|
+
default?: string | undefined;
|
|
6133
|
+
minLength?: number | undefined;
|
|
6134
|
+
maxLength?: number | undefined;
|
|
6135
|
+
}>;
|
|
6136
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
6137
|
+
};
|
|
6138
|
+
price: {
|
|
6139
|
+
inputPricePerMillion: number;
|
|
6140
|
+
modelName: string;
|
|
6141
|
+
currency: string;
|
|
6142
|
+
};
|
|
6143
|
+
};
|
|
6144
|
+
declare const Voyage4LargeOptions: z.ZodObject<{
|
|
6145
|
+
modelName: z.ZodString;
|
|
6146
|
+
apiKey: z.ZodString;
|
|
6147
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
6148
|
+
}, "strip", z.ZodTypeAny, {
|
|
6149
|
+
modelName: string;
|
|
6150
|
+
apiKey: string;
|
|
6151
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6152
|
+
}, {
|
|
6153
|
+
modelName: string;
|
|
6154
|
+
apiKey: string;
|
|
6155
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6156
|
+
}>;
|
|
6157
|
+
type Voyage4LargeOptionsType = z.infer<typeof Voyage4LargeOptions>;
|
|
6158
|
+
declare class Voyage4Large extends BaseEmbeddingModel {
|
|
6159
|
+
constructor(options: Voyage4LargeOptionsType);
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6162
|
+
declare const Voyage4Literal = "voyage-4";
|
|
6163
|
+
declare const Voyage4Schema: {
|
|
6164
|
+
description: string;
|
|
6165
|
+
name: string;
|
|
6166
|
+
modalities: ["text", ..."text"[]];
|
|
6167
|
+
maxInputTokens: number;
|
|
6168
|
+
maxOutputTokens: number;
|
|
6169
|
+
config: {
|
|
6170
|
+
def: Record<string, {
|
|
6171
|
+
type: "multi-string";
|
|
6172
|
+
param: string;
|
|
6173
|
+
title: string;
|
|
6174
|
+
description: string;
|
|
6175
|
+
max: number;
|
|
6176
|
+
} | {
|
|
6177
|
+
type: "object-schema";
|
|
6178
|
+
param: string;
|
|
6179
|
+
title: string;
|
|
6180
|
+
description: string;
|
|
6181
|
+
objectSchema?: any;
|
|
6182
|
+
} | {
|
|
6183
|
+
type: "paired-select";
|
|
6184
|
+
param: string;
|
|
6185
|
+
title: string;
|
|
6186
|
+
description: string;
|
|
6187
|
+
fields: [{
|
|
6188
|
+
label: string;
|
|
6189
|
+
key: string;
|
|
6190
|
+
choices: {
|
|
6191
|
+
value: string;
|
|
6192
|
+
label: string;
|
|
6193
|
+
}[];
|
|
6194
|
+
description?: string | undefined;
|
|
6195
|
+
}, {
|
|
6196
|
+
label: string;
|
|
6197
|
+
key: string;
|
|
6198
|
+
choices: {
|
|
6199
|
+
value: string;
|
|
6200
|
+
label: string;
|
|
6201
|
+
}[];
|
|
6202
|
+
description?: string | undefined;
|
|
6203
|
+
}];
|
|
6204
|
+
uniqueByField?: string | undefined;
|
|
6205
|
+
} | {
|
|
6206
|
+
type: "range";
|
|
6207
|
+
param: string;
|
|
6208
|
+
title: string;
|
|
6209
|
+
description: string;
|
|
6210
|
+
max: number;
|
|
6211
|
+
default: number;
|
|
6212
|
+
min: number;
|
|
6213
|
+
step: number;
|
|
6214
|
+
} | {
|
|
6215
|
+
type: "select-boolean";
|
|
6216
|
+
param: string;
|
|
6217
|
+
title: string;
|
|
6218
|
+
description: string;
|
|
6219
|
+
default: boolean | null;
|
|
6220
|
+
} | {
|
|
6221
|
+
type: "select-string";
|
|
6222
|
+
param: string;
|
|
6223
|
+
title: string;
|
|
6224
|
+
description: string;
|
|
6225
|
+
default: string;
|
|
6226
|
+
choices: string[];
|
|
6227
|
+
} | {
|
|
6228
|
+
type: "string";
|
|
6229
|
+
param: string;
|
|
6230
|
+
title: string;
|
|
6231
|
+
description: string;
|
|
6232
|
+
default?: string | undefined;
|
|
6233
|
+
minLength?: number | undefined;
|
|
6234
|
+
maxLength?: number | undefined;
|
|
6235
|
+
}>;
|
|
6236
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
6237
|
+
};
|
|
6238
|
+
price: {
|
|
6239
|
+
inputPricePerMillion: number;
|
|
6240
|
+
modelName: string;
|
|
6241
|
+
currency: string;
|
|
6242
|
+
};
|
|
6243
|
+
};
|
|
6244
|
+
declare const Voyage4Options: z.ZodObject<{
|
|
6245
|
+
modelName: z.ZodString;
|
|
6246
|
+
apiKey: z.ZodString;
|
|
6247
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
6248
|
+
}, "strip", z.ZodTypeAny, {
|
|
6249
|
+
modelName: string;
|
|
6250
|
+
apiKey: string;
|
|
6251
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6252
|
+
}, {
|
|
6253
|
+
modelName: string;
|
|
6254
|
+
apiKey: string;
|
|
6255
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6256
|
+
}>;
|
|
6257
|
+
type Voyage4OptionsType = z.infer<typeof Voyage4Options>;
|
|
6258
|
+
declare class Voyage4 extends BaseEmbeddingModel {
|
|
6259
|
+
constructor(options: Voyage4OptionsType);
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
declare const Voyage4LiteLiteral = "voyage-4-lite";
|
|
6263
|
+
declare const Voyage4LiteSchema: {
|
|
6264
|
+
description: string;
|
|
6265
|
+
name: string;
|
|
6266
|
+
modalities: ["text", ..."text"[]];
|
|
6267
|
+
maxInputTokens: number;
|
|
6268
|
+
maxOutputTokens: number;
|
|
6269
|
+
config: {
|
|
6270
|
+
def: Record<string, {
|
|
6271
|
+
type: "multi-string";
|
|
6272
|
+
param: string;
|
|
6273
|
+
title: string;
|
|
6274
|
+
description: string;
|
|
6275
|
+
max: number;
|
|
6276
|
+
} | {
|
|
6277
|
+
type: "object-schema";
|
|
6278
|
+
param: string;
|
|
6279
|
+
title: string;
|
|
6280
|
+
description: string;
|
|
6281
|
+
objectSchema?: any;
|
|
6282
|
+
} | {
|
|
6283
|
+
type: "paired-select";
|
|
6284
|
+
param: string;
|
|
6285
|
+
title: string;
|
|
6286
|
+
description: string;
|
|
6287
|
+
fields: [{
|
|
6288
|
+
label: string;
|
|
6289
|
+
key: string;
|
|
6290
|
+
choices: {
|
|
6291
|
+
value: string;
|
|
6292
|
+
label: string;
|
|
6293
|
+
}[];
|
|
6294
|
+
description?: string | undefined;
|
|
6295
|
+
}, {
|
|
6296
|
+
label: string;
|
|
6297
|
+
key: string;
|
|
6298
|
+
choices: {
|
|
6299
|
+
value: string;
|
|
6300
|
+
label: string;
|
|
6301
|
+
}[];
|
|
6302
|
+
description?: string | undefined;
|
|
6303
|
+
}];
|
|
6304
|
+
uniqueByField?: string | undefined;
|
|
6305
|
+
} | {
|
|
6306
|
+
type: "range";
|
|
6307
|
+
param: string;
|
|
6308
|
+
title: string;
|
|
6309
|
+
description: string;
|
|
6310
|
+
max: number;
|
|
6311
|
+
default: number;
|
|
6312
|
+
min: number;
|
|
6313
|
+
step: number;
|
|
6314
|
+
} | {
|
|
6315
|
+
type: "select-boolean";
|
|
6316
|
+
param: string;
|
|
6317
|
+
title: string;
|
|
6318
|
+
description: string;
|
|
6319
|
+
default: boolean | null;
|
|
6320
|
+
} | {
|
|
6321
|
+
type: "select-string";
|
|
6322
|
+
param: string;
|
|
6323
|
+
title: string;
|
|
6324
|
+
description: string;
|
|
6325
|
+
default: string;
|
|
6326
|
+
choices: string[];
|
|
6327
|
+
} | {
|
|
6328
|
+
type: "string";
|
|
6329
|
+
param: string;
|
|
6330
|
+
title: string;
|
|
6331
|
+
description: string;
|
|
6332
|
+
default?: string | undefined;
|
|
6333
|
+
minLength?: number | undefined;
|
|
6334
|
+
maxLength?: number | undefined;
|
|
6335
|
+
}>;
|
|
6336
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
6337
|
+
};
|
|
6338
|
+
price: {
|
|
6339
|
+
inputPricePerMillion: number;
|
|
6340
|
+
modelName: string;
|
|
6341
|
+
currency: string;
|
|
6342
|
+
};
|
|
6343
|
+
};
|
|
6344
|
+
declare const Voyage4LiteOptions: z.ZodObject<{
|
|
6345
|
+
modelName: z.ZodString;
|
|
6346
|
+
apiKey: z.ZodString;
|
|
6347
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
6348
|
+
}, "strip", z.ZodTypeAny, {
|
|
6349
|
+
modelName: string;
|
|
6350
|
+
apiKey: string;
|
|
6351
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6352
|
+
}, {
|
|
6353
|
+
modelName: string;
|
|
6354
|
+
apiKey: string;
|
|
6355
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6356
|
+
}>;
|
|
6357
|
+
type Voyage4LiteOptionsType = z.infer<typeof Voyage4LiteOptions>;
|
|
6358
|
+
declare class Voyage4Lite extends BaseEmbeddingModel {
|
|
6359
|
+
constructor(options: Voyage4LiteOptionsType);
|
|
6360
|
+
}
|
|
6361
|
+
|
|
6362
|
+
declare const Voyage4NanoLiteral = "voyage-4-nano";
|
|
6363
|
+
declare const Voyage4NanoSchema: {
|
|
6364
|
+
description: string;
|
|
6365
|
+
name: string;
|
|
6366
|
+
modalities: ["text", ..."text"[]];
|
|
6367
|
+
maxInputTokens: number;
|
|
6368
|
+
maxOutputTokens: number;
|
|
6369
|
+
config: {
|
|
6370
|
+
def: Record<string, {
|
|
6371
|
+
type: "multi-string";
|
|
6372
|
+
param: string;
|
|
6373
|
+
title: string;
|
|
6374
|
+
description: string;
|
|
6375
|
+
max: number;
|
|
6376
|
+
} | {
|
|
6377
|
+
type: "object-schema";
|
|
6378
|
+
param: string;
|
|
6379
|
+
title: string;
|
|
6380
|
+
description: string;
|
|
6381
|
+
objectSchema?: any;
|
|
6382
|
+
} | {
|
|
6383
|
+
type: "paired-select";
|
|
6384
|
+
param: string;
|
|
6385
|
+
title: string;
|
|
6386
|
+
description: string;
|
|
6387
|
+
fields: [{
|
|
6388
|
+
label: string;
|
|
6389
|
+
key: string;
|
|
6390
|
+
choices: {
|
|
6391
|
+
value: string;
|
|
6392
|
+
label: string;
|
|
6393
|
+
}[];
|
|
6394
|
+
description?: string | undefined;
|
|
6395
|
+
}, {
|
|
6396
|
+
label: string;
|
|
6397
|
+
key: string;
|
|
6398
|
+
choices: {
|
|
6399
|
+
value: string;
|
|
6400
|
+
label: string;
|
|
6401
|
+
}[];
|
|
6402
|
+
description?: string | undefined;
|
|
6403
|
+
}];
|
|
6404
|
+
uniqueByField?: string | undefined;
|
|
6405
|
+
} | {
|
|
6406
|
+
type: "range";
|
|
6407
|
+
param: string;
|
|
6408
|
+
title: string;
|
|
6409
|
+
description: string;
|
|
6410
|
+
max: number;
|
|
6411
|
+
default: number;
|
|
6412
|
+
min: number;
|
|
6413
|
+
step: number;
|
|
6414
|
+
} | {
|
|
6415
|
+
type: "select-boolean";
|
|
6416
|
+
param: string;
|
|
6417
|
+
title: string;
|
|
6418
|
+
description: string;
|
|
6419
|
+
default: boolean | null;
|
|
6420
|
+
} | {
|
|
6421
|
+
type: "select-string";
|
|
6422
|
+
param: string;
|
|
6423
|
+
title: string;
|
|
6424
|
+
description: string;
|
|
6425
|
+
default: string;
|
|
6426
|
+
choices: string[];
|
|
6427
|
+
} | {
|
|
6428
|
+
type: "string";
|
|
6429
|
+
param: string;
|
|
6430
|
+
title: string;
|
|
6431
|
+
description: string;
|
|
6432
|
+
default?: string | undefined;
|
|
6433
|
+
minLength?: number | undefined;
|
|
6434
|
+
maxLength?: number | undefined;
|
|
6435
|
+
}>;
|
|
6436
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
6437
|
+
};
|
|
6438
|
+
price: {
|
|
6439
|
+
inputPricePerMillion: number;
|
|
6440
|
+
modelName: string;
|
|
6441
|
+
currency: string;
|
|
6442
|
+
};
|
|
6443
|
+
};
|
|
6444
|
+
declare const Voyage4NanoOptions: z.ZodObject<{
|
|
6445
|
+
modelName: z.ZodString;
|
|
6446
|
+
apiKey: z.ZodString;
|
|
6447
|
+
getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
|
|
6448
|
+
}, "strip", z.ZodTypeAny, {
|
|
6449
|
+
modelName: string;
|
|
6450
|
+
apiKey: string;
|
|
6451
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6452
|
+
}, {
|
|
6453
|
+
modelName: string;
|
|
6454
|
+
apiKey: string;
|
|
6455
|
+
getEmbeddingsUrl?: string | undefined;
|
|
6456
|
+
}>;
|
|
6457
|
+
type Voyage4NanoOptionsType = z.infer<typeof Voyage4NanoOptions>;
|
|
6458
|
+
declare class Voyage4Nano extends BaseEmbeddingModel {
|
|
6459
|
+
constructor(options: Voyage4NanoOptionsType);
|
|
6460
|
+
}
|
|
6461
|
+
|
|
5245
6462
|
declare const ProviderLiteral = "anthropic";
|
|
5246
6463
|
declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbeddingModelOptionsType> implements ProviderV1<C, E> {
|
|
5247
6464
|
readonly version: "v1";
|
|
@@ -5258,4 +6475,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
|
|
|
5258
6475
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5259
6476
|
}
|
|
5260
6477
|
|
|
5261
|
-
export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatMcpToolResultResponse, AnthropicCompleteChatMcpToolUseResponse, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, AnthropicRequestMcpServer, AnthropicRequestMcpServerToolConfiguration, type AnthropicRequestMcpServerToolConfigurationType, type AnthropicRequestMcpServerType, AnthropicRequestMcpToolResultContent, type AnthropicRequestMcpToolResultContentType, AnthropicRequestMcpToolUseContent, type AnthropicRequestMcpToolUseContentType, AnthropicRequestMessage, type AnthropicRequestMessageType, AnthropicRequestRedactedThinkingContent, type AnthropicRequestRedactedThinkingContentType, AnthropicRequestTextContent, type AnthropicRequestTextContentType, AnthropicRequestThinkingContent, type AnthropicRequestThinkingContentType, AnthropicRequestTool, AnthropicRequestToolCallContent, type AnthropicRequestToolCallContentType, AnthropicRequestToolChoiceEnum, type AnthropicRequestToolChoiceEnumType, AnthropicRequestToolChoiceTool, type AnthropicRequestToolChoiceToolType, AnthropicRequestToolResponseContent, type AnthropicRequestToolResponseContentType, type AnthropicRequestToolType, type AnthropicRequestType, AnthropicRequestUserMessage, type AnthropicRequestUserMessageType, AnthropicStreamChatContentBlockDeltaResponse, AnthropicStreamChatContentBlockStartMcpToolResultResponse, AnthropicStreamChatContentBlockStartMcpToolUseResponse, AnthropicStreamChatContentBlockStartResponse, AnthropicStreamChatMessageDeltaResponse, AnthropicStreamChatMessageStartResponse, AnthropicThinkingChatModelModalities, AnthropicThinkingChatModelModalitiesEnum, BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, Claude3Haiku20240307, Claude3Haiku20240307Literal, Claude3Haiku20240307Options, type Claude3Haiku20240307OptionsType, Claude3Haiku20240307Schema, Claude3Opus20240229, Claude3Opus20240229Literal, Claude3Opus20240229Options, type Claude3Opus20240229OptionsType, Claude3Opus20240229Schema, Claude3Sonnet20240229, Claude3Sonnet20240229Literal, Claude3Sonnet20240229Options, type Claude3Sonnet20240229OptionsType, Claude3Sonnet20240229Schema, Claude3_5Haiku20241022, Claude3_5Haiku20241022Literal, Claude3_5Haiku20241022Options, type Claude3_5Haiku20241022OptionsType, Claude3_5Haiku20241022Schema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, Claude4Opus20250514, Claude4Opus20250514Literal, Claude4Opus20250514Options, type Claude4Opus20250514OptionsType, Claude4Opus20250514Schema, Claude4Sonnet20250514, Claude4Sonnet20250514Literal, Claude4Sonnet20250514Options, type Claude4Sonnet20250514OptionsType, Claude4Sonnet20250514Schema, ClaudeHaiku4_520251001, ClaudeHaiku4_520251001Literal, ClaudeHaiku4_520251001Options, type ClaudeHaiku4_520251001OptionsType, ClaudeHaiku4_520251001Schema, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeOpus4_7, ClaudeOpus4_7Literal, ClaudeOpus4_7Options, type ClaudeOpus4_7OptionsType, ClaudeOpus4_7Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, ClaudeSonnet4_6, ClaudeSonnet4_6Literal, ClaudeSonnet4_6Options, type ClaudeSonnet4_6OptionsType, ClaudeSonnet4_6Schema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, ProviderLiteral, Voyage3, Voyage3Lite, Voyage3LiteLiteral, Voyage3LiteOptions, type Voyage3LiteOptionsType, Voyage3LiteSchema, Voyage3Literal, Voyage3Options, type Voyage3OptionsType, Voyage3Schema, VoyageCode2, VoyageCode2Literal, VoyageCode2Options, type VoyageCode2OptionsType, VoyageCode2Schema, VoyageFinance2, VoyageFinance2Literal, VoyageFinance2Options, type VoyageFinance2OptionsType, VoyageFinance2Schema, VoyageLaw2, VoyageLaw2Literal, VoyageLaw2Options, type VoyageLaw2OptionsType, VoyageLaw2Schema, VoyageMultilingual2, VoyageMultilingual2Literal, VoyageMultilingual2Options, type VoyageMultilingual2OptionsType, VoyageMultilingual2Schema, encodingFormat, inputType, maxTokens, mcp, mcpServers, stop, temperature, toolChoice, topK, topP, truncation };
|
|
6478
|
+
export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatMcpToolResultResponse, AnthropicCompleteChatMcpToolUseResponse, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, AnthropicRequestMcpServer, AnthropicRequestMcpServerToolConfiguration, type AnthropicRequestMcpServerToolConfigurationType, type AnthropicRequestMcpServerType, AnthropicRequestMcpToolResultContent, type AnthropicRequestMcpToolResultContentType, AnthropicRequestMcpToolUseContent, type AnthropicRequestMcpToolUseContentType, AnthropicRequestMessage, type AnthropicRequestMessageType, AnthropicRequestRedactedThinkingContent, type AnthropicRequestRedactedThinkingContentType, AnthropicRequestTextContent, type AnthropicRequestTextContentType, AnthropicRequestThinkingContent, type AnthropicRequestThinkingContentType, AnthropicRequestTool, AnthropicRequestToolCallContent, type AnthropicRequestToolCallContentType, AnthropicRequestToolChoiceEnum, type AnthropicRequestToolChoiceEnumType, AnthropicRequestToolChoiceTool, type AnthropicRequestToolChoiceToolType, AnthropicRequestToolResponseContent, type AnthropicRequestToolResponseContentType, type AnthropicRequestToolType, type AnthropicRequestType, AnthropicRequestUserMessage, type AnthropicRequestUserMessageType, AnthropicStreamChatContentBlockDeltaResponse, AnthropicStreamChatContentBlockStartMcpToolResultResponse, AnthropicStreamChatContentBlockStartMcpToolUseResponse, AnthropicStreamChatContentBlockStartResponse, AnthropicStreamChatMessageDeltaResponse, AnthropicStreamChatMessageStartResponse, AnthropicThinkingChatModelModalities, AnthropicThinkingChatModelModalitiesEnum, BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, Claude3Haiku20240307, Claude3Haiku20240307Literal, Claude3Haiku20240307Options, type Claude3Haiku20240307OptionsType, Claude3Haiku20240307Schema, Claude3Opus20240229, Claude3Opus20240229Literal, Claude3Opus20240229Options, type Claude3Opus20240229OptionsType, Claude3Opus20240229Schema, Claude3Sonnet20240229, Claude3Sonnet20240229Literal, Claude3Sonnet20240229Options, type Claude3Sonnet20240229OptionsType, Claude3Sonnet20240229Schema, Claude3_5Haiku20241022, Claude3_5Haiku20241022Literal, Claude3_5Haiku20241022Options, type Claude3_5Haiku20241022OptionsType, Claude3_5Haiku20241022Schema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, Claude4Opus20250514, Claude4Opus20250514Literal, Claude4Opus20250514Options, type Claude4Opus20250514OptionsType, Claude4Opus20250514Schema, Claude4Sonnet20250514, Claude4Sonnet20250514Literal, Claude4Sonnet20250514Options, type Claude4Sonnet20250514OptionsType, Claude4Sonnet20250514Schema, ClaudeFable5, ClaudeFable5Literal, ClaudeFable5Options, type ClaudeFable5OptionsType, ClaudeFable5Schema, ClaudeHaiku4_520251001, ClaudeHaiku4_520251001Literal, ClaudeHaiku4_520251001Options, type ClaudeHaiku4_520251001OptionsType, ClaudeHaiku4_520251001Schema, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeOpus4_7, ClaudeOpus4_7Literal, ClaudeOpus4_7Options, type ClaudeOpus4_7OptionsType, ClaudeOpus4_7Schema, ClaudeOpus4_8, ClaudeOpus4_8Literal, ClaudeOpus4_8Options, type ClaudeOpus4_8OptionsType, ClaudeOpus4_8Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, ClaudeSonnet4_6, ClaudeSonnet4_6Literal, ClaudeSonnet4_6Options, type ClaudeSonnet4_6OptionsType, ClaudeSonnet4_6Schema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelFlexibleConfigDef, EmbeddingModelFlexibleConfigSchema, ProviderLiteral, Voyage3, Voyage3Large, Voyage3LargeLiteral, Voyage3LargeOptions, type Voyage3LargeOptionsType, Voyage3LargeSchema, Voyage3Lite, Voyage3LiteLiteral, Voyage3LiteOptions, type Voyage3LiteOptionsType, Voyage3LiteSchema, Voyage3Literal, Voyage3Options, type Voyage3OptionsType, Voyage3Schema, Voyage3_5, Voyage3_5Lite, Voyage3_5LiteLiteral, Voyage3_5LiteOptions, type Voyage3_5LiteOptionsType, Voyage3_5LiteSchema, Voyage3_5Literal, Voyage3_5Options, type Voyage3_5OptionsType, Voyage3_5Schema, Voyage4, Voyage4Large, Voyage4LargeLiteral, Voyage4LargeOptions, type Voyage4LargeOptionsType, Voyage4LargeSchema, Voyage4Lite, Voyage4LiteLiteral, Voyage4LiteOptions, type Voyage4LiteOptionsType, Voyage4LiteSchema, Voyage4Literal, Voyage4Nano, Voyage4NanoLiteral, Voyage4NanoOptions, type Voyage4NanoOptionsType, Voyage4NanoSchema, Voyage4Options, type Voyage4OptionsType, Voyage4Schema, VoyageCode2, VoyageCode2Literal, VoyageCode2Options, type VoyageCode2OptionsType, VoyageCode2Schema, VoyageCode3, VoyageCode3Literal, VoyageCode3Options, type VoyageCode3OptionsType, VoyageCode3Schema, VoyageFinance2, VoyageFinance2Literal, VoyageFinance2Options, type VoyageFinance2OptionsType, VoyageFinance2Schema, VoyageLaw2, VoyageLaw2Literal, VoyageLaw2Options, type VoyageLaw2OptionsType, VoyageLaw2Schema, VoyageMultilingual2, VoyageMultilingual2Literal, VoyageMultilingual2Options, type VoyageMultilingual2OptionsType, VoyageMultilingual2Schema, encodingFormat, inputType, maxTokens, mcp, mcpServers, outputDimension, outputDtype, stop, temperature, toolChoice, topK, topP, truncation };
|