@adaline/openai 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +268 -1
- package/dist/index.d.ts +268 -1
- package/dist/index.js +165 -153
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -3827,6 +3827,273 @@ declare class GPT_4_1106_Preview extends BaseChatModel {
|
|
|
3827
3827
|
constructor(options: GPT_4_1106_PreviewOptionsType);
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
+
declare const GPT_4_1Literal = "gpt-4.1";
|
|
3831
|
+
declare const GPT_4_1Schema: {
|
|
3832
|
+
description: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3835
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3836
|
+
maxInputTokens: number;
|
|
3837
|
+
maxOutputTokens: number;
|
|
3838
|
+
config: {
|
|
3839
|
+
def: Record<string, {
|
|
3840
|
+
type: "multi-string";
|
|
3841
|
+
param: string;
|
|
3842
|
+
title: string;
|
|
3843
|
+
description: string;
|
|
3844
|
+
max: number;
|
|
3845
|
+
} | {
|
|
3846
|
+
type: "object-schema";
|
|
3847
|
+
param: string;
|
|
3848
|
+
title: string;
|
|
3849
|
+
description: string;
|
|
3850
|
+
objectSchema?: any;
|
|
3851
|
+
} | {
|
|
3852
|
+
type: "range";
|
|
3853
|
+
param: string;
|
|
3854
|
+
title: string;
|
|
3855
|
+
description: string;
|
|
3856
|
+
max: number;
|
|
3857
|
+
default: number;
|
|
3858
|
+
min: number;
|
|
3859
|
+
step: number;
|
|
3860
|
+
} | {
|
|
3861
|
+
type: "select-boolean";
|
|
3862
|
+
param: string;
|
|
3863
|
+
title: string;
|
|
3864
|
+
description: string;
|
|
3865
|
+
default: boolean | null;
|
|
3866
|
+
} | {
|
|
3867
|
+
type: "select-string";
|
|
3868
|
+
param: string;
|
|
3869
|
+
title: string;
|
|
3870
|
+
description: string;
|
|
3871
|
+
default: string;
|
|
3872
|
+
choices: string[];
|
|
3873
|
+
}>;
|
|
3874
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3875
|
+
};
|
|
3876
|
+
price: {
|
|
3877
|
+
modelName: string;
|
|
3878
|
+
currency: string;
|
|
3879
|
+
tokenRanges: {
|
|
3880
|
+
minTokens: number;
|
|
3881
|
+
prices: {
|
|
3882
|
+
base: {
|
|
3883
|
+
inputPricePerMillion: number;
|
|
3884
|
+
outputPricePerMillion: number;
|
|
3885
|
+
};
|
|
3886
|
+
};
|
|
3887
|
+
maxTokens?: number | null | undefined;
|
|
3888
|
+
}[];
|
|
3889
|
+
};
|
|
3890
|
+
maxReasoningTokens?: number | undefined;
|
|
3891
|
+
};
|
|
3892
|
+
declare const GPT_4_1Options: z.ZodObject<{
|
|
3893
|
+
modelName: z.ZodString;
|
|
3894
|
+
apiKey: z.ZodString;
|
|
3895
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3896
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3897
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3898
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
3899
|
+
}, "strip", z.ZodTypeAny, {
|
|
3900
|
+
modelName: string;
|
|
3901
|
+
apiKey: string;
|
|
3902
|
+
baseUrl?: string | undefined;
|
|
3903
|
+
completeChatUrl?: string | undefined;
|
|
3904
|
+
streamChatUrl?: string | undefined;
|
|
3905
|
+
organization?: string | undefined;
|
|
3906
|
+
}, {
|
|
3907
|
+
modelName: string;
|
|
3908
|
+
apiKey: string;
|
|
3909
|
+
baseUrl?: string | undefined;
|
|
3910
|
+
completeChatUrl?: string | undefined;
|
|
3911
|
+
streamChatUrl?: string | undefined;
|
|
3912
|
+
organization?: string | undefined;
|
|
3913
|
+
}>;
|
|
3914
|
+
type GPT_4_1OptionsType = z.infer<typeof GPT_4_1Options>;
|
|
3915
|
+
declare class GPT_4_1 extends BaseChatModel {
|
|
3916
|
+
constructor(options: GPT_4_1OptionsType);
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
declare const GPT_4_1_MiniLiteral = "gpt-4.1-mini";
|
|
3920
|
+
declare const GPT_4_1_MiniSchema: {
|
|
3921
|
+
description: string;
|
|
3922
|
+
name: string;
|
|
3923
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3924
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3925
|
+
maxInputTokens: number;
|
|
3926
|
+
maxOutputTokens: number;
|
|
3927
|
+
config: {
|
|
3928
|
+
def: Record<string, {
|
|
3929
|
+
type: "multi-string";
|
|
3930
|
+
param: string;
|
|
3931
|
+
title: string;
|
|
3932
|
+
description: string;
|
|
3933
|
+
max: number;
|
|
3934
|
+
} | {
|
|
3935
|
+
type: "object-schema";
|
|
3936
|
+
param: string;
|
|
3937
|
+
title: string;
|
|
3938
|
+
description: string;
|
|
3939
|
+
objectSchema?: any;
|
|
3940
|
+
} | {
|
|
3941
|
+
type: "range";
|
|
3942
|
+
param: string;
|
|
3943
|
+
title: string;
|
|
3944
|
+
description: string;
|
|
3945
|
+
max: number;
|
|
3946
|
+
default: number;
|
|
3947
|
+
min: number;
|
|
3948
|
+
step: number;
|
|
3949
|
+
} | {
|
|
3950
|
+
type: "select-boolean";
|
|
3951
|
+
param: string;
|
|
3952
|
+
title: string;
|
|
3953
|
+
description: string;
|
|
3954
|
+
default: boolean | null;
|
|
3955
|
+
} | {
|
|
3956
|
+
type: "select-string";
|
|
3957
|
+
param: string;
|
|
3958
|
+
title: string;
|
|
3959
|
+
description: string;
|
|
3960
|
+
default: string;
|
|
3961
|
+
choices: string[];
|
|
3962
|
+
}>;
|
|
3963
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3964
|
+
};
|
|
3965
|
+
price: {
|
|
3966
|
+
modelName: string;
|
|
3967
|
+
currency: string;
|
|
3968
|
+
tokenRanges: {
|
|
3969
|
+
minTokens: number;
|
|
3970
|
+
prices: {
|
|
3971
|
+
base: {
|
|
3972
|
+
inputPricePerMillion: number;
|
|
3973
|
+
outputPricePerMillion: number;
|
|
3974
|
+
};
|
|
3975
|
+
};
|
|
3976
|
+
maxTokens?: number | null | undefined;
|
|
3977
|
+
}[];
|
|
3978
|
+
};
|
|
3979
|
+
maxReasoningTokens?: number | undefined;
|
|
3980
|
+
};
|
|
3981
|
+
declare const GPT_4_1_MiniOptions: z.ZodObject<{
|
|
3982
|
+
modelName: z.ZodString;
|
|
3983
|
+
apiKey: z.ZodString;
|
|
3984
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3985
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3986
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
}, "strip", z.ZodTypeAny, {
|
|
3989
|
+
modelName: string;
|
|
3990
|
+
apiKey: string;
|
|
3991
|
+
baseUrl?: string | undefined;
|
|
3992
|
+
completeChatUrl?: string | undefined;
|
|
3993
|
+
streamChatUrl?: string | undefined;
|
|
3994
|
+
organization?: string | undefined;
|
|
3995
|
+
}, {
|
|
3996
|
+
modelName: string;
|
|
3997
|
+
apiKey: string;
|
|
3998
|
+
baseUrl?: string | undefined;
|
|
3999
|
+
completeChatUrl?: string | undefined;
|
|
4000
|
+
streamChatUrl?: string | undefined;
|
|
4001
|
+
organization?: string | undefined;
|
|
4002
|
+
}>;
|
|
4003
|
+
type GPT_4_1_MiniOptionsType = z.infer<typeof GPT_4_1_MiniOptions>;
|
|
4004
|
+
declare class GPT_4_1_Mini extends BaseChatModel {
|
|
4005
|
+
constructor(options: GPT_4_1_MiniOptionsType);
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
declare const GPT_4_1_NanoLiteral = "gpt-4.1-nano";
|
|
4009
|
+
declare const GPT_4_1_NanoSchema: {
|
|
4010
|
+
description: string;
|
|
4011
|
+
name: string;
|
|
4012
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4013
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
4014
|
+
maxInputTokens: number;
|
|
4015
|
+
maxOutputTokens: number;
|
|
4016
|
+
config: {
|
|
4017
|
+
def: Record<string, {
|
|
4018
|
+
type: "multi-string";
|
|
4019
|
+
param: string;
|
|
4020
|
+
title: string;
|
|
4021
|
+
description: string;
|
|
4022
|
+
max: number;
|
|
4023
|
+
} | {
|
|
4024
|
+
type: "object-schema";
|
|
4025
|
+
param: string;
|
|
4026
|
+
title: string;
|
|
4027
|
+
description: string;
|
|
4028
|
+
objectSchema?: any;
|
|
4029
|
+
} | {
|
|
4030
|
+
type: "range";
|
|
4031
|
+
param: string;
|
|
4032
|
+
title: string;
|
|
4033
|
+
description: string;
|
|
4034
|
+
max: number;
|
|
4035
|
+
default: number;
|
|
4036
|
+
min: number;
|
|
4037
|
+
step: number;
|
|
4038
|
+
} | {
|
|
4039
|
+
type: "select-boolean";
|
|
4040
|
+
param: string;
|
|
4041
|
+
title: string;
|
|
4042
|
+
description: string;
|
|
4043
|
+
default: boolean | null;
|
|
4044
|
+
} | {
|
|
4045
|
+
type: "select-string";
|
|
4046
|
+
param: string;
|
|
4047
|
+
title: string;
|
|
4048
|
+
description: string;
|
|
4049
|
+
default: string;
|
|
4050
|
+
choices: string[];
|
|
4051
|
+
}>;
|
|
4052
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4053
|
+
};
|
|
4054
|
+
price: {
|
|
4055
|
+
modelName: string;
|
|
4056
|
+
currency: string;
|
|
4057
|
+
tokenRanges: {
|
|
4058
|
+
minTokens: number;
|
|
4059
|
+
prices: {
|
|
4060
|
+
base: {
|
|
4061
|
+
inputPricePerMillion: number;
|
|
4062
|
+
outputPricePerMillion: number;
|
|
4063
|
+
};
|
|
4064
|
+
};
|
|
4065
|
+
maxTokens?: number | null | undefined;
|
|
4066
|
+
}[];
|
|
4067
|
+
};
|
|
4068
|
+
maxReasoningTokens?: number | undefined;
|
|
4069
|
+
};
|
|
4070
|
+
declare const GPT_4_1_NanoOptions: z.ZodObject<{
|
|
4071
|
+
modelName: z.ZodString;
|
|
4072
|
+
apiKey: z.ZodString;
|
|
4073
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4074
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4075
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
4077
|
+
}, "strip", z.ZodTypeAny, {
|
|
4078
|
+
modelName: string;
|
|
4079
|
+
apiKey: string;
|
|
4080
|
+
baseUrl?: string | undefined;
|
|
4081
|
+
completeChatUrl?: string | undefined;
|
|
4082
|
+
streamChatUrl?: string | undefined;
|
|
4083
|
+
organization?: string | undefined;
|
|
4084
|
+
}, {
|
|
4085
|
+
modelName: string;
|
|
4086
|
+
apiKey: string;
|
|
4087
|
+
baseUrl?: string | undefined;
|
|
4088
|
+
completeChatUrl?: string | undefined;
|
|
4089
|
+
streamChatUrl?: string | undefined;
|
|
4090
|
+
organization?: string | undefined;
|
|
4091
|
+
}>;
|
|
4092
|
+
type GPT_4_1_NanoOptionsType = z.infer<typeof GPT_4_1_NanoOptions>;
|
|
4093
|
+
declare class GPT_4_1_Nano extends BaseChatModel {
|
|
4094
|
+
constructor(options: GPT_4_1_NanoOptionsType);
|
|
4095
|
+
}
|
|
4096
|
+
|
|
3830
4097
|
declare const GPT_4_Turbo_2024_04_09Literal = "gpt-4-turbo-2024-04-09";
|
|
3831
4098
|
declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
3832
4099
|
description: string;
|
|
@@ -5677,4 +5944,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5677
5944
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5678
5945
|
}
|
|
5679
5946
|
|
|
5680
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, 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_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, 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, 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, seed, stop, temperature, toolChoice, topLogProbs, topP };
|
|
5947
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, 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, 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, seed, stop, temperature, toolChoice, topLogProbs, topP };
|
package/dist/index.d.ts
CHANGED
|
@@ -3827,6 +3827,273 @@ declare class GPT_4_1106_Preview extends BaseChatModel {
|
|
|
3827
3827
|
constructor(options: GPT_4_1106_PreviewOptionsType);
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
+
declare const GPT_4_1Literal = "gpt-4.1";
|
|
3831
|
+
declare const GPT_4_1Schema: {
|
|
3832
|
+
description: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3835
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3836
|
+
maxInputTokens: number;
|
|
3837
|
+
maxOutputTokens: number;
|
|
3838
|
+
config: {
|
|
3839
|
+
def: Record<string, {
|
|
3840
|
+
type: "multi-string";
|
|
3841
|
+
param: string;
|
|
3842
|
+
title: string;
|
|
3843
|
+
description: string;
|
|
3844
|
+
max: number;
|
|
3845
|
+
} | {
|
|
3846
|
+
type: "object-schema";
|
|
3847
|
+
param: string;
|
|
3848
|
+
title: string;
|
|
3849
|
+
description: string;
|
|
3850
|
+
objectSchema?: any;
|
|
3851
|
+
} | {
|
|
3852
|
+
type: "range";
|
|
3853
|
+
param: string;
|
|
3854
|
+
title: string;
|
|
3855
|
+
description: string;
|
|
3856
|
+
max: number;
|
|
3857
|
+
default: number;
|
|
3858
|
+
min: number;
|
|
3859
|
+
step: number;
|
|
3860
|
+
} | {
|
|
3861
|
+
type: "select-boolean";
|
|
3862
|
+
param: string;
|
|
3863
|
+
title: string;
|
|
3864
|
+
description: string;
|
|
3865
|
+
default: boolean | null;
|
|
3866
|
+
} | {
|
|
3867
|
+
type: "select-string";
|
|
3868
|
+
param: string;
|
|
3869
|
+
title: string;
|
|
3870
|
+
description: string;
|
|
3871
|
+
default: string;
|
|
3872
|
+
choices: string[];
|
|
3873
|
+
}>;
|
|
3874
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3875
|
+
};
|
|
3876
|
+
price: {
|
|
3877
|
+
modelName: string;
|
|
3878
|
+
currency: string;
|
|
3879
|
+
tokenRanges: {
|
|
3880
|
+
minTokens: number;
|
|
3881
|
+
prices: {
|
|
3882
|
+
base: {
|
|
3883
|
+
inputPricePerMillion: number;
|
|
3884
|
+
outputPricePerMillion: number;
|
|
3885
|
+
};
|
|
3886
|
+
};
|
|
3887
|
+
maxTokens?: number | null | undefined;
|
|
3888
|
+
}[];
|
|
3889
|
+
};
|
|
3890
|
+
maxReasoningTokens?: number | undefined;
|
|
3891
|
+
};
|
|
3892
|
+
declare const GPT_4_1Options: z.ZodObject<{
|
|
3893
|
+
modelName: z.ZodString;
|
|
3894
|
+
apiKey: z.ZodString;
|
|
3895
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3896
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3897
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3898
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
3899
|
+
}, "strip", z.ZodTypeAny, {
|
|
3900
|
+
modelName: string;
|
|
3901
|
+
apiKey: string;
|
|
3902
|
+
baseUrl?: string | undefined;
|
|
3903
|
+
completeChatUrl?: string | undefined;
|
|
3904
|
+
streamChatUrl?: string | undefined;
|
|
3905
|
+
organization?: string | undefined;
|
|
3906
|
+
}, {
|
|
3907
|
+
modelName: string;
|
|
3908
|
+
apiKey: string;
|
|
3909
|
+
baseUrl?: string | undefined;
|
|
3910
|
+
completeChatUrl?: string | undefined;
|
|
3911
|
+
streamChatUrl?: string | undefined;
|
|
3912
|
+
organization?: string | undefined;
|
|
3913
|
+
}>;
|
|
3914
|
+
type GPT_4_1OptionsType = z.infer<typeof GPT_4_1Options>;
|
|
3915
|
+
declare class GPT_4_1 extends BaseChatModel {
|
|
3916
|
+
constructor(options: GPT_4_1OptionsType);
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
declare const GPT_4_1_MiniLiteral = "gpt-4.1-mini";
|
|
3920
|
+
declare const GPT_4_1_MiniSchema: {
|
|
3921
|
+
description: string;
|
|
3922
|
+
name: string;
|
|
3923
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3924
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3925
|
+
maxInputTokens: number;
|
|
3926
|
+
maxOutputTokens: number;
|
|
3927
|
+
config: {
|
|
3928
|
+
def: Record<string, {
|
|
3929
|
+
type: "multi-string";
|
|
3930
|
+
param: string;
|
|
3931
|
+
title: string;
|
|
3932
|
+
description: string;
|
|
3933
|
+
max: number;
|
|
3934
|
+
} | {
|
|
3935
|
+
type: "object-schema";
|
|
3936
|
+
param: string;
|
|
3937
|
+
title: string;
|
|
3938
|
+
description: string;
|
|
3939
|
+
objectSchema?: any;
|
|
3940
|
+
} | {
|
|
3941
|
+
type: "range";
|
|
3942
|
+
param: string;
|
|
3943
|
+
title: string;
|
|
3944
|
+
description: string;
|
|
3945
|
+
max: number;
|
|
3946
|
+
default: number;
|
|
3947
|
+
min: number;
|
|
3948
|
+
step: number;
|
|
3949
|
+
} | {
|
|
3950
|
+
type: "select-boolean";
|
|
3951
|
+
param: string;
|
|
3952
|
+
title: string;
|
|
3953
|
+
description: string;
|
|
3954
|
+
default: boolean | null;
|
|
3955
|
+
} | {
|
|
3956
|
+
type: "select-string";
|
|
3957
|
+
param: string;
|
|
3958
|
+
title: string;
|
|
3959
|
+
description: string;
|
|
3960
|
+
default: string;
|
|
3961
|
+
choices: string[];
|
|
3962
|
+
}>;
|
|
3963
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3964
|
+
};
|
|
3965
|
+
price: {
|
|
3966
|
+
modelName: string;
|
|
3967
|
+
currency: string;
|
|
3968
|
+
tokenRanges: {
|
|
3969
|
+
minTokens: number;
|
|
3970
|
+
prices: {
|
|
3971
|
+
base: {
|
|
3972
|
+
inputPricePerMillion: number;
|
|
3973
|
+
outputPricePerMillion: number;
|
|
3974
|
+
};
|
|
3975
|
+
};
|
|
3976
|
+
maxTokens?: number | null | undefined;
|
|
3977
|
+
}[];
|
|
3978
|
+
};
|
|
3979
|
+
maxReasoningTokens?: number | undefined;
|
|
3980
|
+
};
|
|
3981
|
+
declare const GPT_4_1_MiniOptions: z.ZodObject<{
|
|
3982
|
+
modelName: z.ZodString;
|
|
3983
|
+
apiKey: z.ZodString;
|
|
3984
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3985
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3986
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
}, "strip", z.ZodTypeAny, {
|
|
3989
|
+
modelName: string;
|
|
3990
|
+
apiKey: string;
|
|
3991
|
+
baseUrl?: string | undefined;
|
|
3992
|
+
completeChatUrl?: string | undefined;
|
|
3993
|
+
streamChatUrl?: string | undefined;
|
|
3994
|
+
organization?: string | undefined;
|
|
3995
|
+
}, {
|
|
3996
|
+
modelName: string;
|
|
3997
|
+
apiKey: string;
|
|
3998
|
+
baseUrl?: string | undefined;
|
|
3999
|
+
completeChatUrl?: string | undefined;
|
|
4000
|
+
streamChatUrl?: string | undefined;
|
|
4001
|
+
organization?: string | undefined;
|
|
4002
|
+
}>;
|
|
4003
|
+
type GPT_4_1_MiniOptionsType = z.infer<typeof GPT_4_1_MiniOptions>;
|
|
4004
|
+
declare class GPT_4_1_Mini extends BaseChatModel {
|
|
4005
|
+
constructor(options: GPT_4_1_MiniOptionsType);
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
declare const GPT_4_1_NanoLiteral = "gpt-4.1-nano";
|
|
4009
|
+
declare const GPT_4_1_NanoSchema: {
|
|
4010
|
+
description: string;
|
|
4011
|
+
name: string;
|
|
4012
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4013
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
4014
|
+
maxInputTokens: number;
|
|
4015
|
+
maxOutputTokens: number;
|
|
4016
|
+
config: {
|
|
4017
|
+
def: Record<string, {
|
|
4018
|
+
type: "multi-string";
|
|
4019
|
+
param: string;
|
|
4020
|
+
title: string;
|
|
4021
|
+
description: string;
|
|
4022
|
+
max: number;
|
|
4023
|
+
} | {
|
|
4024
|
+
type: "object-schema";
|
|
4025
|
+
param: string;
|
|
4026
|
+
title: string;
|
|
4027
|
+
description: string;
|
|
4028
|
+
objectSchema?: any;
|
|
4029
|
+
} | {
|
|
4030
|
+
type: "range";
|
|
4031
|
+
param: string;
|
|
4032
|
+
title: string;
|
|
4033
|
+
description: string;
|
|
4034
|
+
max: number;
|
|
4035
|
+
default: number;
|
|
4036
|
+
min: number;
|
|
4037
|
+
step: number;
|
|
4038
|
+
} | {
|
|
4039
|
+
type: "select-boolean";
|
|
4040
|
+
param: string;
|
|
4041
|
+
title: string;
|
|
4042
|
+
description: string;
|
|
4043
|
+
default: boolean | null;
|
|
4044
|
+
} | {
|
|
4045
|
+
type: "select-string";
|
|
4046
|
+
param: string;
|
|
4047
|
+
title: string;
|
|
4048
|
+
description: string;
|
|
4049
|
+
default: string;
|
|
4050
|
+
choices: string[];
|
|
4051
|
+
}>;
|
|
4052
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4053
|
+
};
|
|
4054
|
+
price: {
|
|
4055
|
+
modelName: string;
|
|
4056
|
+
currency: string;
|
|
4057
|
+
tokenRanges: {
|
|
4058
|
+
minTokens: number;
|
|
4059
|
+
prices: {
|
|
4060
|
+
base: {
|
|
4061
|
+
inputPricePerMillion: number;
|
|
4062
|
+
outputPricePerMillion: number;
|
|
4063
|
+
};
|
|
4064
|
+
};
|
|
4065
|
+
maxTokens?: number | null | undefined;
|
|
4066
|
+
}[];
|
|
4067
|
+
};
|
|
4068
|
+
maxReasoningTokens?: number | undefined;
|
|
4069
|
+
};
|
|
4070
|
+
declare const GPT_4_1_NanoOptions: z.ZodObject<{
|
|
4071
|
+
modelName: z.ZodString;
|
|
4072
|
+
apiKey: z.ZodString;
|
|
4073
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4074
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4075
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
4077
|
+
}, "strip", z.ZodTypeAny, {
|
|
4078
|
+
modelName: string;
|
|
4079
|
+
apiKey: string;
|
|
4080
|
+
baseUrl?: string | undefined;
|
|
4081
|
+
completeChatUrl?: string | undefined;
|
|
4082
|
+
streamChatUrl?: string | undefined;
|
|
4083
|
+
organization?: string | undefined;
|
|
4084
|
+
}, {
|
|
4085
|
+
modelName: string;
|
|
4086
|
+
apiKey: string;
|
|
4087
|
+
baseUrl?: string | undefined;
|
|
4088
|
+
completeChatUrl?: string | undefined;
|
|
4089
|
+
streamChatUrl?: string | undefined;
|
|
4090
|
+
organization?: string | undefined;
|
|
4091
|
+
}>;
|
|
4092
|
+
type GPT_4_1_NanoOptionsType = z.infer<typeof GPT_4_1_NanoOptions>;
|
|
4093
|
+
declare class GPT_4_1_Nano extends BaseChatModel {
|
|
4094
|
+
constructor(options: GPT_4_1_NanoOptionsType);
|
|
4095
|
+
}
|
|
4096
|
+
|
|
3830
4097
|
declare const GPT_4_Turbo_2024_04_09Literal = "gpt-4-turbo-2024-04-09";
|
|
3831
4098
|
declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
3832
4099
|
description: string;
|
|
@@ -5677,4 +5944,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5677
5944
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5678
5945
|
}
|
|
5679
5946
|
|
|
5680
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, 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_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, 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, 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, seed, stop, temperature, toolChoice, topLogProbs, topP };
|
|
5947
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, 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, 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, seed, stop, temperature, toolChoice, topLogProbs, topP };
|