@adaline/anthropic 0.27.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,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, EmbeddingRequestsType, EmbeddingResponseType } from '@adaline/types';
4
+ import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType } 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>>;
@@ -157,15 +157,15 @@ declare const toolChoice: {
157
157
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
158
158
  };
159
159
 
160
- declare const ChatModelExtendedThinkingConfigDef: (maxOutputTokens: number, maxSequences: number, minThinkingTokens: number, maxThinkingTokens: number) => {
161
- extendedThinking: {
160
+ declare const ChatModelReasoningConfigDef: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningToken: number) => {
161
+ reasoningEnabled: {
162
162
  type: "select-boolean";
163
163
  param: string;
164
164
  title: string;
165
165
  description: string;
166
166
  default: boolean | null;
167
167
  };
168
- maxExtendedThinkingTokens: {
168
+ maxReasoningTokens: {
169
169
  type: "range";
170
170
  param: string;
171
171
  title: string;
@@ -231,7 +231,7 @@ declare const ChatModelExtendedThinkingConfigDef: (maxOutputTokens: number, maxS
231
231
  choices: string[];
232
232
  };
233
233
  };
234
- declare const ChatModelExtendedThinkingConfigSchema: (maxOutputTokens: number, maxSequences: number, minThinkingTokens: number, maxThinkingTokens: number) => zod.ZodObject<zod.objectUtil.extendShape<{
234
+ declare const ChatModelReasoningConfigSchema: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningToken: number) => zod.ZodObject<zod.objectUtil.extendShape<{
235
235
  temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
236
236
  maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
237
237
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
@@ -239,8 +239,8 @@ declare const ChatModelExtendedThinkingConfigSchema: (maxOutputTokens: number, m
239
239
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
240
240
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
241
241
  }, {
242
- extendedThinking: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
243
- maxExtendedThinkingTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
242
+ reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
243
+ maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
244
244
  }>, "strip", zod.ZodTypeAny, {
245
245
  temperature?: number | undefined;
246
246
  maxTokens?: number | undefined;
@@ -248,8 +248,8 @@ declare const ChatModelExtendedThinkingConfigSchema: (maxOutputTokens: number, m
248
248
  topP?: number | undefined;
249
249
  topK?: number | undefined;
250
250
  toolChoice?: string | null | undefined;
251
- extendedThinking?: boolean | null | undefined;
252
- maxExtendedThinkingTokens?: number | undefined;
251
+ reasoningEnabled?: boolean | null | undefined;
252
+ maxReasoningTokens?: number | undefined;
253
253
  }, {
254
254
  temperature?: number | undefined;
255
255
  maxTokens?: number | undefined;
@@ -257,8 +257,8 @@ declare const ChatModelExtendedThinkingConfigSchema: (maxOutputTokens: number, m
257
257
  topP?: number | undefined;
258
258
  topK?: number | undefined;
259
259
  toolChoice?: string | null | undefined;
260
- extendedThinking?: boolean | null | undefined;
261
- maxExtendedThinkingTokens?: number | undefined;
260
+ reasoningEnabled?: boolean | null | undefined;
261
+ maxReasoningTokens?: number | undefined;
262
262
  }>;
263
263
 
264
264
  declare const AnthropicChatModelConfigs: {
@@ -343,16 +343,16 @@ declare const AnthropicChatModelConfigs: {
343
343
  toolChoice?: string | null | undefined;
344
344
  }>;
345
345
  };
346
- readonly extendedThinking: (maxOutputTokens: number, maxSequences: number, minThinkingTokens: number, maxThinkingTokens: number) => {
346
+ readonly extendedThinking: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningTokens: number) => {
347
347
  def: {
348
- extendedThinking: {
348
+ reasoningEnabled: {
349
349
  type: "select-boolean";
350
350
  param: string;
351
351
  title: string;
352
352
  description: string;
353
353
  default: boolean | null;
354
354
  };
355
- maxExtendedThinkingTokens: {
355
+ maxReasoningTokens: {
356
356
  type: "range";
357
357
  param: string;
358
358
  title: string;
@@ -426,8 +426,8 @@ declare const AnthropicChatModelConfigs: {
426
426
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
427
427
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
428
428
  }, {
429
- extendedThinking: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
430
- maxExtendedThinkingTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
429
+ reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
430
+ maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
431
431
  }>, "strip", zod.ZodTypeAny, {
432
432
  temperature?: number | undefined;
433
433
  maxTokens?: number | undefined;
@@ -435,8 +435,8 @@ declare const AnthropicChatModelConfigs: {
435
435
  topP?: number | undefined;
436
436
  topK?: number | undefined;
437
437
  toolChoice?: string | null | undefined;
438
- extendedThinking?: boolean | null | undefined;
439
- maxExtendedThinkingTokens?: number | undefined;
438
+ reasoningEnabled?: boolean | null | undefined;
439
+ maxReasoningTokens?: number | undefined;
440
440
  }, {
441
441
  temperature?: number | undefined;
442
442
  maxTokens?: number | undefined;
@@ -444,8 +444,8 @@ declare const AnthropicChatModelConfigs: {
444
444
  topP?: number | undefined;
445
445
  topK?: number | undefined;
446
446
  toolChoice?: string | null | undefined;
447
- extendedThinking?: boolean | null | undefined;
448
- maxExtendedThinkingTokens?: number | undefined;
447
+ reasoningEnabled?: boolean | null | undefined;
448
+ maxReasoningTokens?: number | undefined;
449
449
  }>;
450
450
  };
451
451
  };
@@ -626,6 +626,7 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
626
626
  getProxyCompleteChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
627
627
  getProxyCompleteChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
628
628
  getProxyStreamChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
629
+ getModelPricing(): ChatModelPriceType;
629
630
  }
630
631
 
631
632
  declare const Claude3_5Sonnet20240620Literal = "claude-3-5-sonnet-20240620";
@@ -674,6 +675,20 @@ declare const Claude3_5Sonnet20240620Schema: {
674
675
  }>;
675
676
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
676
677
  };
678
+ price: {
679
+ modelName: string;
680
+ currency: string;
681
+ tokenRanges: {
682
+ minTokens: number;
683
+ prices: {
684
+ base: {
685
+ inputPricePerMillion: number;
686
+ outputPricePerMillion: number;
687
+ };
688
+ };
689
+ maxTokens?: number | null | undefined;
690
+ }[];
691
+ };
677
692
  maxReasoningTokens?: number | undefined;
678
693
  };
679
694
  declare const Claude3_5Sonnet20240620Options: z.ZodObject<{
@@ -743,6 +758,20 @@ declare const Claude3_5Sonnet20241022Schema: {
743
758
  }>;
744
759
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
745
760
  };
761
+ price: {
762
+ modelName: string;
763
+ currency: string;
764
+ tokenRanges: {
765
+ minTokens: number;
766
+ prices: {
767
+ base: {
768
+ inputPricePerMillion: number;
769
+ outputPricePerMillion: number;
770
+ };
771
+ };
772
+ maxTokens?: number | null | undefined;
773
+ }[];
774
+ };
746
775
  maxReasoningTokens?: number | undefined;
747
776
  };
748
777
  declare const Claude3_5Sonnet20241022Options: z.ZodObject<{
@@ -812,6 +841,20 @@ declare const Claude3_5SonnetLatestSchema: {
812
841
  }>;
813
842
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
814
843
  };
844
+ price: {
845
+ modelName: string;
846
+ currency: string;
847
+ tokenRanges: {
848
+ minTokens: number;
849
+ prices: {
850
+ base: {
851
+ inputPricePerMillion: number;
852
+ outputPricePerMillion: number;
853
+ };
854
+ };
855
+ maxTokens?: number | null | undefined;
856
+ }[];
857
+ };
815
858
  maxReasoningTokens?: number | undefined;
816
859
  };
817
860
  declare const Claude3_5SonnetLatestOptions: z.ZodObject<{
@@ -881,6 +924,20 @@ declare const Claude3_7Sonnet20250219Schema: {
881
924
  }>;
882
925
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
883
926
  };
927
+ price: {
928
+ modelName: string;
929
+ currency: string;
930
+ tokenRanges: {
931
+ minTokens: number;
932
+ prices: {
933
+ base: {
934
+ inputPricePerMillion: number;
935
+ outputPricePerMillion: number;
936
+ };
937
+ };
938
+ maxTokens?: number | null | undefined;
939
+ }[];
940
+ };
884
941
  maxReasoningTokens?: number | undefined;
885
942
  };
886
943
  declare const Claude3_7Sonnet20250219Options: z.ZodObject<{
@@ -902,6 +959,7 @@ declare const Claude3_7Sonnet20250219Options: z.ZodObject<{
902
959
  type Claude3_7Sonnet20250219OptionsType = z.infer<typeof Claude3_7Sonnet20250219Options>;
903
960
  declare class Claude3_7Sonnet20250219 extends BaseChatModel {
904
961
  constructor(options: Claude3_7Sonnet20250219OptionsType);
962
+ getDefaultHeaders(): HeadersType;
905
963
  }
906
964
 
907
965
  declare const Claude3Haiku20240307Literal = "claude-3-haiku-20240307";
@@ -950,6 +1008,20 @@ declare const Claude3Haiku20240307Schema: {
950
1008
  }>;
951
1009
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
952
1010
  };
1011
+ price: {
1012
+ modelName: string;
1013
+ currency: string;
1014
+ tokenRanges: {
1015
+ minTokens: number;
1016
+ prices: {
1017
+ base: {
1018
+ inputPricePerMillion: number;
1019
+ outputPricePerMillion: number;
1020
+ };
1021
+ };
1022
+ maxTokens?: number | null | undefined;
1023
+ }[];
1024
+ };
953
1025
  maxReasoningTokens?: number | undefined;
954
1026
  };
955
1027
  declare const Claude3Haiku20240307Options: z.ZodObject<{
@@ -1019,6 +1091,20 @@ declare const Claude3_5Haiku20241022Schema: {
1019
1091
  }>;
1020
1092
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1021
1093
  };
1094
+ price: {
1095
+ modelName: string;
1096
+ currency: string;
1097
+ tokenRanges: {
1098
+ minTokens: number;
1099
+ prices: {
1100
+ base: {
1101
+ inputPricePerMillion: number;
1102
+ outputPricePerMillion: number;
1103
+ };
1104
+ };
1105
+ maxTokens?: number | null | undefined;
1106
+ }[];
1107
+ };
1022
1108
  maxReasoningTokens?: number | undefined;
1023
1109
  };
1024
1110
  declare const Claude3_5Haiku20241022Options: z.ZodObject<{
@@ -1088,6 +1174,20 @@ declare const Claude3_5HaikuLatestSchema: {
1088
1174
  }>;
1089
1175
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1090
1176
  };
1177
+ price: {
1178
+ modelName: string;
1179
+ currency: string;
1180
+ tokenRanges: {
1181
+ minTokens: number;
1182
+ prices: {
1183
+ base: {
1184
+ inputPricePerMillion: number;
1185
+ outputPricePerMillion: number;
1186
+ };
1187
+ };
1188
+ maxTokens?: number | null | undefined;
1189
+ }[];
1190
+ };
1091
1191
  maxReasoningTokens?: number | undefined;
1092
1192
  };
1093
1193
  declare const Claude3_5HaikuLatestOptions: z.ZodObject<{
@@ -1157,6 +1257,20 @@ declare const Claude3Opus20240229Schema: {
1157
1257
  }>;
1158
1258
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1159
1259
  };
1260
+ price: {
1261
+ modelName: string;
1262
+ currency: string;
1263
+ tokenRanges: {
1264
+ minTokens: number;
1265
+ prices: {
1266
+ base: {
1267
+ inputPricePerMillion: number;
1268
+ outputPricePerMillion: number;
1269
+ };
1270
+ };
1271
+ maxTokens?: number | null | undefined;
1272
+ }[];
1273
+ };
1160
1274
  maxReasoningTokens?: number | undefined;
1161
1275
  };
1162
1276
  declare const Claude3Opus20240229Options: z.ZodObject<{
@@ -1226,6 +1340,20 @@ declare const Claude3Sonnet20240229Schema: {
1226
1340
  }>;
1227
1341
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1228
1342
  };
1343
+ price: {
1344
+ modelName: string;
1345
+ currency: string;
1346
+ tokenRanges: {
1347
+ minTokens: number;
1348
+ prices: {
1349
+ base: {
1350
+ inputPricePerMillion: number;
1351
+ outputPricePerMillion: number;
1352
+ };
1353
+ };
1354
+ maxTokens?: number | null | undefined;
1355
+ }[];
1356
+ };
1229
1357
  maxReasoningTokens?: number | undefined;
1230
1358
  };
1231
1359
  declare const Claude3Sonnet20240229Options: z.ZodObject<{
@@ -3528,4 +3656,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
3528
3656
  embeddingModel(options: E): EmbeddingModelV1;
3529
3657
  }
3530
3658
 
3531
- export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, 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, AnthropicStreamChatContentBlockStartResponse, AnthropicStreamChatMessageDeltaResponse, AnthropicStreamChatMessageStartResponse, AnthropicThinkingChatModelModalities, AnthropicThinkingChatModelModalitiesEnum, BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelExtendedThinkingConfigDef, ChatModelExtendedThinkingConfigSchema, 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_5HaikuLatest, Claude3_5HaikuLatestLiteral, Claude3_5HaikuLatestOptions, type Claude3_5HaikuLatestOptionsType, Claude3_5HaikuLatestSchema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_5SonnetLatest, Claude3_5SonnetLatestLiteral, Claude3_5SonnetLatestOptions, type Claude3_5SonnetLatestOptionsType, Claude3_5SonnetLatestSchema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, 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, stop, temperature, toolChoice, topK, topP, truncation };
3659
+ export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, 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, 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_5HaikuLatest, Claude3_5HaikuLatestLiteral, Claude3_5HaikuLatestOptions, type Claude3_5HaikuLatestOptionsType, Claude3_5HaikuLatestSchema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_5SonnetLatest, Claude3_5SonnetLatestLiteral, Claude3_5SonnetLatestOptions, type Claude3_5SonnetLatestOptionsType, Claude3_5SonnetLatestSchema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, 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, stop, temperature, toolChoice, topK, topP, truncation };