@adaline/openai 1.9.1 → 1.11.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
@@ -586,11 +586,11 @@ declare const OpenAIChatModelConfigs: {
586
586
  logProbs?: boolean | null | undefined;
587
587
  topLogProbs?: number | undefined;
588
588
  toolChoice?: string | null | undefined;
589
- reasoningEffort?: string | null | undefined;
590
589
  responseFormat?: string | null | undefined;
591
590
  responseSchema?: {
592
591
  [x: string]: any;
593
592
  } | undefined;
593
+ reasoningEffort?: string | null | undefined;
594
594
  }, {
595
595
  temperature?: number | undefined;
596
596
  seed?: number | undefined;
@@ -602,11 +602,11 @@ declare const OpenAIChatModelConfigs: {
602
602
  logProbs?: boolean | null | undefined;
603
603
  topLogProbs?: number | undefined;
604
604
  toolChoice?: string | null | undefined;
605
- reasoningEffort?: string | null | undefined;
606
605
  responseFormat?: string | null | undefined;
607
606
  responseSchema?: {
608
607
  [x: string]: any;
609
608
  } | undefined;
609
+ reasoningEffort?: string | null | undefined;
610
610
  }>;
611
611
  };
612
612
  readonly gpt5: (maxOutputTokens: number, maxSequences: number) => {
@@ -627,6 +627,21 @@ declare const OpenAIChatModelConfigs: {
627
627
  default: string;
628
628
  choices: string[];
629
629
  };
630
+ responseFormat: {
631
+ type: "select-string";
632
+ param: string;
633
+ title: string;
634
+ description: string;
635
+ default: string;
636
+ choices: string[];
637
+ };
638
+ responseSchema: {
639
+ type: "object-schema";
640
+ param: string;
641
+ title: string;
642
+ description: string;
643
+ objectSchema?: any;
644
+ };
630
645
  temperature: {
631
646
  type: "range";
632
647
  param: string;
@@ -734,6 +749,12 @@ declare const OpenAIChatModelConfigs: {
734
749
  }, {
735
750
  reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
736
751
  verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
752
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
753
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
754
+ [x: string]: any;
755
+ }, {
756
+ [x: string]: any;
757
+ }>>;
737
758
  }>, "strip", zod.ZodTypeAny, {
738
759
  temperature?: number | undefined;
739
760
  seed?: number | undefined;
@@ -746,6 +767,10 @@ declare const OpenAIChatModelConfigs: {
746
767
  logProbs?: boolean | null | undefined;
747
768
  topLogProbs?: number | undefined;
748
769
  toolChoice?: string | null | undefined;
770
+ responseFormat?: string | null | undefined;
771
+ responseSchema?: {
772
+ [x: string]: any;
773
+ } | undefined;
749
774
  reasoningEffort?: string | null | undefined;
750
775
  }, {
751
776
  temperature?: number | undefined;
@@ -759,6 +784,10 @@ declare const OpenAIChatModelConfigs: {
759
784
  logProbs?: boolean | null | undefined;
760
785
  topLogProbs?: number | undefined;
761
786
  toolChoice?: string | null | undefined;
787
+ responseFormat?: string | null | undefined;
788
+ responseSchema?: {
789
+ [x: string]: any;
790
+ } | undefined;
762
791
  reasoningEffort?: string | null | undefined;
763
792
  }>;
764
793
  };
@@ -1109,6 +1138,21 @@ declare const ChatModelGPT5ConfigDef: (maxOutputTokens: number, maxSequences: nu
1109
1138
  default: string;
1110
1139
  choices: string[];
1111
1140
  };
1141
+ responseFormat: {
1142
+ type: "select-string";
1143
+ param: string;
1144
+ title: string;
1145
+ description: string;
1146
+ default: string;
1147
+ choices: string[];
1148
+ };
1149
+ responseSchema: {
1150
+ type: "object-schema";
1151
+ param: string;
1152
+ title: string;
1153
+ description: string;
1154
+ objectSchema?: any;
1155
+ };
1112
1156
  temperature: {
1113
1157
  type: "range";
1114
1158
  param: string;
@@ -1216,6 +1260,12 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1216
1260
  }, {
1217
1261
  reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1218
1262
  verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1263
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1264
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
1265
+ [x: string]: any;
1266
+ }, {
1267
+ [x: string]: any;
1268
+ }>>;
1219
1269
  }>, "strip", zod.ZodTypeAny, {
1220
1270
  temperature?: number | undefined;
1221
1271
  seed?: number | undefined;
@@ -1228,6 +1278,10 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1228
1278
  logProbs?: boolean | null | undefined;
1229
1279
  topLogProbs?: number | undefined;
1230
1280
  toolChoice?: string | null | undefined;
1281
+ responseFormat?: string | null | undefined;
1282
+ responseSchema?: {
1283
+ [x: string]: any;
1284
+ } | undefined;
1231
1285
  reasoningEffort?: string | null | undefined;
1232
1286
  }, {
1233
1287
  temperature?: number | undefined;
@@ -1241,6 +1295,10 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1241
1295
  logProbs?: boolean | null | undefined;
1242
1296
  topLogProbs?: number | undefined;
1243
1297
  toolChoice?: string | null | undefined;
1298
+ responseFormat?: string | null | undefined;
1299
+ responseSchema?: {
1300
+ [x: string]: any;
1301
+ } | undefined;
1244
1302
  reasoningEffort?: string | null | undefined;
1245
1303
  }>;
1246
1304
 
@@ -1393,11 +1451,11 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1393
1451
  logProbs?: boolean | null | undefined;
1394
1452
  topLogProbs?: number | undefined;
1395
1453
  toolChoice?: string | null | undefined;
1396
- reasoningEffort?: string | null | undefined;
1397
1454
  responseFormat?: string | null | undefined;
1398
1455
  responseSchema?: {
1399
1456
  [x: string]: any;
1400
1457
  } | undefined;
1458
+ reasoningEffort?: string | null | undefined;
1401
1459
  }, {
1402
1460
  temperature?: number | undefined;
1403
1461
  seed?: number | undefined;
@@ -1409,11 +1467,11 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1409
1467
  logProbs?: boolean | null | undefined;
1410
1468
  topLogProbs?: number | undefined;
1411
1469
  toolChoice?: string | null | undefined;
1412
- reasoningEffort?: string | null | undefined;
1413
1470
  responseFormat?: string | null | undefined;
1414
1471
  responseSchema?: {
1415
1472
  [x: string]: any;
1416
1473
  } | undefined;
1474
+ reasoningEffort?: string | null | undefined;
1417
1475
  }>;
1418
1476
 
1419
1477
  declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSequences: number) => {
@@ -4427,6 +4485,95 @@ declare class GPT_4_1_Nano extends BaseChatModel {
4427
4485
  constructor(options: GPT_4_1_NanoOptionsType);
4428
4486
  }
4429
4487
 
4488
+ declare const GPT_5_1Literal = "gpt-5.1";
4489
+ declare const GPT_5_1Schema: {
4490
+ description: string;
4491
+ name: string;
4492
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
4493
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
4494
+ maxInputTokens: number;
4495
+ maxOutputTokens: number;
4496
+ config: {
4497
+ def: Record<string, {
4498
+ type: "multi-string";
4499
+ param: string;
4500
+ title: string;
4501
+ description: string;
4502
+ max: number;
4503
+ } | {
4504
+ type: "object-schema";
4505
+ param: string;
4506
+ title: string;
4507
+ description: string;
4508
+ objectSchema?: any;
4509
+ } | {
4510
+ type: "range";
4511
+ param: string;
4512
+ title: string;
4513
+ description: string;
4514
+ max: number;
4515
+ default: number;
4516
+ min: number;
4517
+ step: number;
4518
+ } | {
4519
+ type: "select-boolean";
4520
+ param: string;
4521
+ title: string;
4522
+ description: string;
4523
+ default: boolean | null;
4524
+ } | {
4525
+ type: "select-string";
4526
+ param: string;
4527
+ title: string;
4528
+ description: string;
4529
+ default: string;
4530
+ choices: string[];
4531
+ }>;
4532
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4533
+ };
4534
+ price: {
4535
+ modelName: string;
4536
+ currency: string;
4537
+ tokenRanges: {
4538
+ minTokens: number;
4539
+ prices: {
4540
+ base: {
4541
+ inputPricePerMillion: number;
4542
+ outputPricePerMillion: number;
4543
+ };
4544
+ };
4545
+ maxTokens?: number | null | undefined;
4546
+ }[];
4547
+ };
4548
+ maxReasoningTokens?: number | undefined;
4549
+ };
4550
+ declare const GPT_5_1Options: z.ZodObject<{
4551
+ modelName: z.ZodString;
4552
+ apiKey: z.ZodString;
4553
+ baseUrl: z.ZodOptional<z.ZodString>;
4554
+ completeChatUrl: z.ZodOptional<z.ZodString>;
4555
+ streamChatUrl: z.ZodOptional<z.ZodString>;
4556
+ organization: z.ZodOptional<z.ZodString>;
4557
+ }, "strip", z.ZodTypeAny, {
4558
+ modelName: string;
4559
+ apiKey: string;
4560
+ baseUrl?: string | undefined;
4561
+ completeChatUrl?: string | undefined;
4562
+ streamChatUrl?: string | undefined;
4563
+ organization?: string | undefined;
4564
+ }, {
4565
+ modelName: string;
4566
+ apiKey: string;
4567
+ baseUrl?: string | undefined;
4568
+ completeChatUrl?: string | undefined;
4569
+ streamChatUrl?: string | undefined;
4570
+ organization?: string | undefined;
4571
+ }>;
4572
+ type GPT_5_1OptionsType = z.infer<typeof GPT_5_1Options>;
4573
+ declare class GPT_5_1 extends BaseChatModel {
4574
+ constructor(options: GPT_5_1OptionsType);
4575
+ }
4576
+
4430
4577
  declare const GPT_5Literal = "gpt-5";
4431
4578
  declare const GPT_5Schema: {
4432
4579
  description: string;
@@ -6633,4 +6780,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
6633
6780
  embeddingModel(options: E): EmbeddingModelV1;
6634
6781
  }
6635
6782
 
6636
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity };
6783
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_1, GPT_5_1Literal, GPT_5_1Options, type GPT_5_1OptionsType, GPT_5_1Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity };
package/dist/index.d.ts CHANGED
@@ -586,11 +586,11 @@ declare const OpenAIChatModelConfigs: {
586
586
  logProbs?: boolean | null | undefined;
587
587
  topLogProbs?: number | undefined;
588
588
  toolChoice?: string | null | undefined;
589
- reasoningEffort?: string | null | undefined;
590
589
  responseFormat?: string | null | undefined;
591
590
  responseSchema?: {
592
591
  [x: string]: any;
593
592
  } | undefined;
593
+ reasoningEffort?: string | null | undefined;
594
594
  }, {
595
595
  temperature?: number | undefined;
596
596
  seed?: number | undefined;
@@ -602,11 +602,11 @@ declare const OpenAIChatModelConfigs: {
602
602
  logProbs?: boolean | null | undefined;
603
603
  topLogProbs?: number | undefined;
604
604
  toolChoice?: string | null | undefined;
605
- reasoningEffort?: string | null | undefined;
606
605
  responseFormat?: string | null | undefined;
607
606
  responseSchema?: {
608
607
  [x: string]: any;
609
608
  } | undefined;
609
+ reasoningEffort?: string | null | undefined;
610
610
  }>;
611
611
  };
612
612
  readonly gpt5: (maxOutputTokens: number, maxSequences: number) => {
@@ -627,6 +627,21 @@ declare const OpenAIChatModelConfigs: {
627
627
  default: string;
628
628
  choices: string[];
629
629
  };
630
+ responseFormat: {
631
+ type: "select-string";
632
+ param: string;
633
+ title: string;
634
+ description: string;
635
+ default: string;
636
+ choices: string[];
637
+ };
638
+ responseSchema: {
639
+ type: "object-schema";
640
+ param: string;
641
+ title: string;
642
+ description: string;
643
+ objectSchema?: any;
644
+ };
630
645
  temperature: {
631
646
  type: "range";
632
647
  param: string;
@@ -734,6 +749,12 @@ declare const OpenAIChatModelConfigs: {
734
749
  }, {
735
750
  reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
736
751
  verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
752
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
753
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
754
+ [x: string]: any;
755
+ }, {
756
+ [x: string]: any;
757
+ }>>;
737
758
  }>, "strip", zod.ZodTypeAny, {
738
759
  temperature?: number | undefined;
739
760
  seed?: number | undefined;
@@ -746,6 +767,10 @@ declare const OpenAIChatModelConfigs: {
746
767
  logProbs?: boolean | null | undefined;
747
768
  topLogProbs?: number | undefined;
748
769
  toolChoice?: string | null | undefined;
770
+ responseFormat?: string | null | undefined;
771
+ responseSchema?: {
772
+ [x: string]: any;
773
+ } | undefined;
749
774
  reasoningEffort?: string | null | undefined;
750
775
  }, {
751
776
  temperature?: number | undefined;
@@ -759,6 +784,10 @@ declare const OpenAIChatModelConfigs: {
759
784
  logProbs?: boolean | null | undefined;
760
785
  topLogProbs?: number | undefined;
761
786
  toolChoice?: string | null | undefined;
787
+ responseFormat?: string | null | undefined;
788
+ responseSchema?: {
789
+ [x: string]: any;
790
+ } | undefined;
762
791
  reasoningEffort?: string | null | undefined;
763
792
  }>;
764
793
  };
@@ -1109,6 +1138,21 @@ declare const ChatModelGPT5ConfigDef: (maxOutputTokens: number, maxSequences: nu
1109
1138
  default: string;
1110
1139
  choices: string[];
1111
1140
  };
1141
+ responseFormat: {
1142
+ type: "select-string";
1143
+ param: string;
1144
+ title: string;
1145
+ description: string;
1146
+ default: string;
1147
+ choices: string[];
1148
+ };
1149
+ responseSchema: {
1150
+ type: "object-schema";
1151
+ param: string;
1152
+ title: string;
1153
+ description: string;
1154
+ objectSchema?: any;
1155
+ };
1112
1156
  temperature: {
1113
1157
  type: "range";
1114
1158
  param: string;
@@ -1216,6 +1260,12 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1216
1260
  }, {
1217
1261
  reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1218
1262
  verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1263
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1264
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
1265
+ [x: string]: any;
1266
+ }, {
1267
+ [x: string]: any;
1268
+ }>>;
1219
1269
  }>, "strip", zod.ZodTypeAny, {
1220
1270
  temperature?: number | undefined;
1221
1271
  seed?: number | undefined;
@@ -1228,6 +1278,10 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1228
1278
  logProbs?: boolean | null | undefined;
1229
1279
  topLogProbs?: number | undefined;
1230
1280
  toolChoice?: string | null | undefined;
1281
+ responseFormat?: string | null | undefined;
1282
+ responseSchema?: {
1283
+ [x: string]: any;
1284
+ } | undefined;
1231
1285
  reasoningEffort?: string | null | undefined;
1232
1286
  }, {
1233
1287
  temperature?: number | undefined;
@@ -1241,6 +1295,10 @@ declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences:
1241
1295
  logProbs?: boolean | null | undefined;
1242
1296
  topLogProbs?: number | undefined;
1243
1297
  toolChoice?: string | null | undefined;
1298
+ responseFormat?: string | null | undefined;
1299
+ responseSchema?: {
1300
+ [x: string]: any;
1301
+ } | undefined;
1244
1302
  reasoningEffort?: string | null | undefined;
1245
1303
  }>;
1246
1304
 
@@ -1393,11 +1451,11 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1393
1451
  logProbs?: boolean | null | undefined;
1394
1452
  topLogProbs?: number | undefined;
1395
1453
  toolChoice?: string | null | undefined;
1396
- reasoningEffort?: string | null | undefined;
1397
1454
  responseFormat?: string | null | undefined;
1398
1455
  responseSchema?: {
1399
1456
  [x: string]: any;
1400
1457
  } | undefined;
1458
+ reasoningEffort?: string | null | undefined;
1401
1459
  }, {
1402
1460
  temperature?: number | undefined;
1403
1461
  seed?: number | undefined;
@@ -1409,11 +1467,11 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1409
1467
  logProbs?: boolean | null | undefined;
1410
1468
  topLogProbs?: number | undefined;
1411
1469
  toolChoice?: string | null | undefined;
1412
- reasoningEffort?: string | null | undefined;
1413
1470
  responseFormat?: string | null | undefined;
1414
1471
  responseSchema?: {
1415
1472
  [x: string]: any;
1416
1473
  } | undefined;
1474
+ reasoningEffort?: string | null | undefined;
1417
1475
  }>;
1418
1476
 
1419
1477
  declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSequences: number) => {
@@ -4427,6 +4485,95 @@ declare class GPT_4_1_Nano extends BaseChatModel {
4427
4485
  constructor(options: GPT_4_1_NanoOptionsType);
4428
4486
  }
4429
4487
 
4488
+ declare const GPT_5_1Literal = "gpt-5.1";
4489
+ declare const GPT_5_1Schema: {
4490
+ description: string;
4491
+ name: string;
4492
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
4493
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
4494
+ maxInputTokens: number;
4495
+ maxOutputTokens: number;
4496
+ config: {
4497
+ def: Record<string, {
4498
+ type: "multi-string";
4499
+ param: string;
4500
+ title: string;
4501
+ description: string;
4502
+ max: number;
4503
+ } | {
4504
+ type: "object-schema";
4505
+ param: string;
4506
+ title: string;
4507
+ description: string;
4508
+ objectSchema?: any;
4509
+ } | {
4510
+ type: "range";
4511
+ param: string;
4512
+ title: string;
4513
+ description: string;
4514
+ max: number;
4515
+ default: number;
4516
+ min: number;
4517
+ step: number;
4518
+ } | {
4519
+ type: "select-boolean";
4520
+ param: string;
4521
+ title: string;
4522
+ description: string;
4523
+ default: boolean | null;
4524
+ } | {
4525
+ type: "select-string";
4526
+ param: string;
4527
+ title: string;
4528
+ description: string;
4529
+ default: string;
4530
+ choices: string[];
4531
+ }>;
4532
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4533
+ };
4534
+ price: {
4535
+ modelName: string;
4536
+ currency: string;
4537
+ tokenRanges: {
4538
+ minTokens: number;
4539
+ prices: {
4540
+ base: {
4541
+ inputPricePerMillion: number;
4542
+ outputPricePerMillion: number;
4543
+ };
4544
+ };
4545
+ maxTokens?: number | null | undefined;
4546
+ }[];
4547
+ };
4548
+ maxReasoningTokens?: number | undefined;
4549
+ };
4550
+ declare const GPT_5_1Options: z.ZodObject<{
4551
+ modelName: z.ZodString;
4552
+ apiKey: z.ZodString;
4553
+ baseUrl: z.ZodOptional<z.ZodString>;
4554
+ completeChatUrl: z.ZodOptional<z.ZodString>;
4555
+ streamChatUrl: z.ZodOptional<z.ZodString>;
4556
+ organization: z.ZodOptional<z.ZodString>;
4557
+ }, "strip", z.ZodTypeAny, {
4558
+ modelName: string;
4559
+ apiKey: string;
4560
+ baseUrl?: string | undefined;
4561
+ completeChatUrl?: string | undefined;
4562
+ streamChatUrl?: string | undefined;
4563
+ organization?: string | undefined;
4564
+ }, {
4565
+ modelName: string;
4566
+ apiKey: string;
4567
+ baseUrl?: string | undefined;
4568
+ completeChatUrl?: string | undefined;
4569
+ streamChatUrl?: string | undefined;
4570
+ organization?: string | undefined;
4571
+ }>;
4572
+ type GPT_5_1OptionsType = z.infer<typeof GPT_5_1Options>;
4573
+ declare class GPT_5_1 extends BaseChatModel {
4574
+ constructor(options: GPT_5_1OptionsType);
4575
+ }
4576
+
4430
4577
  declare const GPT_5Literal = "gpt-5";
4431
4578
  declare const GPT_5Schema: {
4432
4579
  description: string;
@@ -6633,4 +6780,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
6633
6780
  embeddingModel(options: E): EmbeddingModelV1;
6634
6781
  }
6635
6782
 
6636
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity };
6783
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_1, GPT_5_1Literal, GPT_5_1Options, type GPT_5_1OptionsType, GPT_5_1Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity };