@adaline/openai 1.12.0 → 1.15.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 +401 -1
- package/dist/index.d.ts +401 -1
- package/dist/index.js +228 -212
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3684,6 +3684,71 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
|
|
|
3684
3684
|
getModelPricing(): ChatModelPriceType;
|
|
3685
3685
|
}
|
|
3686
3686
|
|
|
3687
|
+
declare const BaseChatModelResponsesApiOptions: z.ZodObject<{
|
|
3688
|
+
modelName: z.ZodString;
|
|
3689
|
+
apiKey: z.ZodString;
|
|
3690
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
3692
|
+
}, "strip", z.ZodTypeAny, {
|
|
3693
|
+
modelName: string;
|
|
3694
|
+
apiKey: string;
|
|
3695
|
+
baseUrl?: string | undefined;
|
|
3696
|
+
organization?: string | undefined;
|
|
3697
|
+
}, {
|
|
3698
|
+
modelName: string;
|
|
3699
|
+
apiKey: string;
|
|
3700
|
+
baseUrl?: string | undefined;
|
|
3701
|
+
organization?: string | undefined;
|
|
3702
|
+
}>;
|
|
3703
|
+
type BaseChatModelResponsesApiOptionsType = z.infer<typeof BaseChatModelResponsesApiOptions>;
|
|
3704
|
+
declare class BaseChatModelResponsesApi implements ChatModelV1<ChatModelSchemaType> {
|
|
3705
|
+
readonly version: "v1";
|
|
3706
|
+
modelSchema: ChatModelSchemaType;
|
|
3707
|
+
modelName: string;
|
|
3708
|
+
private readonly apiKey;
|
|
3709
|
+
private readonly baseUrl;
|
|
3710
|
+
private readonly responsesUrl;
|
|
3711
|
+
private readonly organization;
|
|
3712
|
+
constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelResponsesApiOptionsType);
|
|
3713
|
+
getDefaultBaseUrl(): UrlType;
|
|
3714
|
+
getDefaultHeaders(): HeadersType;
|
|
3715
|
+
getDefaultParams(): ParamsType;
|
|
3716
|
+
getRetryDelay(responseHeaders: HeadersType): {
|
|
3717
|
+
shouldRetry: boolean;
|
|
3718
|
+
delayMs: number;
|
|
3719
|
+
};
|
|
3720
|
+
getTokenCount(messages: MessageType[]): number;
|
|
3721
|
+
transformModelRequest(request: any): {
|
|
3722
|
+
modelName: string | undefined;
|
|
3723
|
+
config: ConfigType;
|
|
3724
|
+
messages: MessageType[];
|
|
3725
|
+
tools: ToolType[] | undefined;
|
|
3726
|
+
};
|
|
3727
|
+
transformConfig(config: ConfigType, messages?: MessageType[], tools?: ToolType[]): ParamsType;
|
|
3728
|
+
transformMessages(messages: MessageType[]): ParamsType;
|
|
3729
|
+
transformTools(tools: ToolType[]): ParamsType;
|
|
3730
|
+
getCompleteChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<UrlType>;
|
|
3731
|
+
getCompleteChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<HeadersType>;
|
|
3732
|
+
getCompleteChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise<ParamsType>;
|
|
3733
|
+
transformCompleteChatResponse(response: any): ChatResponseType;
|
|
3734
|
+
getStreamChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<UrlType>;
|
|
3735
|
+
getStreamChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<HeadersType>;
|
|
3736
|
+
getStreamChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise<ParamsType>;
|
|
3737
|
+
transformStreamChatResponseChunk(chunk: string, buffer: string): AsyncGenerator<{
|
|
3738
|
+
partialResponse: PartialChatResponseType;
|
|
3739
|
+
buffer: string;
|
|
3740
|
+
}>;
|
|
3741
|
+
transformProxyStreamChatResponseChunk(chunk: string, buffer: string, data?: any, headers?: Record<string, string>, query?: Record<string, string>): AsyncGenerator<{
|
|
3742
|
+
partialResponse: PartialChatResponseType;
|
|
3743
|
+
buffer: string;
|
|
3744
|
+
}>;
|
|
3745
|
+
getProxyStreamChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
3746
|
+
getProxyCompleteChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
3747
|
+
getProxyCompleteChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
3748
|
+
getProxyStreamChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
3749
|
+
getModelPricing(): ChatModelPriceType;
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3687
3752
|
declare const GPT_3_5_Turbo_0125Literal = "gpt-3.5-turbo-0125";
|
|
3688
3753
|
declare const GPT_3_5_Turbo_0125Schema: {
|
|
3689
3754
|
description: string;
|
|
@@ -4804,6 +4869,341 @@ declare class GPT_5_1 extends BaseChatModel {
|
|
|
4804
4869
|
constructor(options: GPT_5_1OptionsType);
|
|
4805
4870
|
}
|
|
4806
4871
|
|
|
4872
|
+
declare const GPT_5_2Literal = "gpt-5.2";
|
|
4873
|
+
declare const GPT_5_2Schema: {
|
|
4874
|
+
description: string;
|
|
4875
|
+
name: string;
|
|
4876
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4877
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
4878
|
+
maxInputTokens: number;
|
|
4879
|
+
maxOutputTokens: number;
|
|
4880
|
+
config: {
|
|
4881
|
+
def: Record<string, {
|
|
4882
|
+
type: "multi-string";
|
|
4883
|
+
param: string;
|
|
4884
|
+
title: string;
|
|
4885
|
+
description: string;
|
|
4886
|
+
max: number;
|
|
4887
|
+
} | {
|
|
4888
|
+
type: "object-schema";
|
|
4889
|
+
param: string;
|
|
4890
|
+
title: string;
|
|
4891
|
+
description: string;
|
|
4892
|
+
objectSchema?: any;
|
|
4893
|
+
} | {
|
|
4894
|
+
type: "paired-select";
|
|
4895
|
+
param: string;
|
|
4896
|
+
title: string;
|
|
4897
|
+
description: string;
|
|
4898
|
+
fields: [{
|
|
4899
|
+
label: string;
|
|
4900
|
+
key: string;
|
|
4901
|
+
choices: {
|
|
4902
|
+
value: string;
|
|
4903
|
+
label: string;
|
|
4904
|
+
}[];
|
|
4905
|
+
description?: string | undefined;
|
|
4906
|
+
}, {
|
|
4907
|
+
label: string;
|
|
4908
|
+
key: string;
|
|
4909
|
+
choices: {
|
|
4910
|
+
value: string;
|
|
4911
|
+
label: string;
|
|
4912
|
+
}[];
|
|
4913
|
+
description?: string | undefined;
|
|
4914
|
+
}];
|
|
4915
|
+
uniqueByField?: string | undefined;
|
|
4916
|
+
} | {
|
|
4917
|
+
type: "range";
|
|
4918
|
+
param: string;
|
|
4919
|
+
title: string;
|
|
4920
|
+
description: string;
|
|
4921
|
+
max: number;
|
|
4922
|
+
default: number;
|
|
4923
|
+
min: number;
|
|
4924
|
+
step: number;
|
|
4925
|
+
} | {
|
|
4926
|
+
type: "select-boolean";
|
|
4927
|
+
param: string;
|
|
4928
|
+
title: string;
|
|
4929
|
+
description: string;
|
|
4930
|
+
default: boolean | null;
|
|
4931
|
+
} | {
|
|
4932
|
+
type: "select-string";
|
|
4933
|
+
param: string;
|
|
4934
|
+
title: string;
|
|
4935
|
+
description: string;
|
|
4936
|
+
default: string;
|
|
4937
|
+
choices: string[];
|
|
4938
|
+
}>;
|
|
4939
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4940
|
+
};
|
|
4941
|
+
price: {
|
|
4942
|
+
modelName: string;
|
|
4943
|
+
currency: string;
|
|
4944
|
+
tokenRanges: {
|
|
4945
|
+
minTokens: number;
|
|
4946
|
+
prices: {
|
|
4947
|
+
base: {
|
|
4948
|
+
inputPricePerMillion: number;
|
|
4949
|
+
outputPricePerMillion: number;
|
|
4950
|
+
};
|
|
4951
|
+
};
|
|
4952
|
+
maxTokens?: number | null | undefined;
|
|
4953
|
+
}[];
|
|
4954
|
+
};
|
|
4955
|
+
maxReasoningTokens?: number | undefined;
|
|
4956
|
+
};
|
|
4957
|
+
declare const GPT_5_2Options: z.ZodObject<{
|
|
4958
|
+
modelName: z.ZodString;
|
|
4959
|
+
apiKey: z.ZodString;
|
|
4960
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4961
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4962
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4963
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
4964
|
+
}, "strip", z.ZodTypeAny, {
|
|
4965
|
+
modelName: string;
|
|
4966
|
+
apiKey: string;
|
|
4967
|
+
baseUrl?: string | undefined;
|
|
4968
|
+
completeChatUrl?: string | undefined;
|
|
4969
|
+
streamChatUrl?: string | undefined;
|
|
4970
|
+
organization?: string | undefined;
|
|
4971
|
+
}, {
|
|
4972
|
+
modelName: string;
|
|
4973
|
+
apiKey: string;
|
|
4974
|
+
baseUrl?: string | undefined;
|
|
4975
|
+
completeChatUrl?: string | undefined;
|
|
4976
|
+
streamChatUrl?: string | undefined;
|
|
4977
|
+
organization?: string | undefined;
|
|
4978
|
+
}>;
|
|
4979
|
+
type GPT_5_2OptionsType = z.infer<typeof GPT_5_2Options>;
|
|
4980
|
+
declare class GPT_5_2 extends BaseChatModel {
|
|
4981
|
+
constructor(options: GPT_5_2OptionsType);
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
declare const GPT_5_2_ChatLatestLiteral = "gpt-5.2-chat-latest";
|
|
4985
|
+
declare const GPT_5_2_ChatLatestSchema: {
|
|
4986
|
+
description: string;
|
|
4987
|
+
name: string;
|
|
4988
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4989
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
4990
|
+
maxInputTokens: number;
|
|
4991
|
+
maxOutputTokens: number;
|
|
4992
|
+
config: {
|
|
4993
|
+
def: Record<string, {
|
|
4994
|
+
type: "multi-string";
|
|
4995
|
+
param: string;
|
|
4996
|
+
title: string;
|
|
4997
|
+
description: string;
|
|
4998
|
+
max: number;
|
|
4999
|
+
} | {
|
|
5000
|
+
type: "object-schema";
|
|
5001
|
+
param: string;
|
|
5002
|
+
title: string;
|
|
5003
|
+
description: string;
|
|
5004
|
+
objectSchema?: any;
|
|
5005
|
+
} | {
|
|
5006
|
+
type: "paired-select";
|
|
5007
|
+
param: string;
|
|
5008
|
+
title: string;
|
|
5009
|
+
description: string;
|
|
5010
|
+
fields: [{
|
|
5011
|
+
label: string;
|
|
5012
|
+
key: string;
|
|
5013
|
+
choices: {
|
|
5014
|
+
value: string;
|
|
5015
|
+
label: string;
|
|
5016
|
+
}[];
|
|
5017
|
+
description?: string | undefined;
|
|
5018
|
+
}, {
|
|
5019
|
+
label: string;
|
|
5020
|
+
key: string;
|
|
5021
|
+
choices: {
|
|
5022
|
+
value: string;
|
|
5023
|
+
label: string;
|
|
5024
|
+
}[];
|
|
5025
|
+
description?: string | undefined;
|
|
5026
|
+
}];
|
|
5027
|
+
uniqueByField?: string | undefined;
|
|
5028
|
+
} | {
|
|
5029
|
+
type: "range";
|
|
5030
|
+
param: string;
|
|
5031
|
+
title: string;
|
|
5032
|
+
description: string;
|
|
5033
|
+
max: number;
|
|
5034
|
+
default: number;
|
|
5035
|
+
min: number;
|
|
5036
|
+
step: number;
|
|
5037
|
+
} | {
|
|
5038
|
+
type: "select-boolean";
|
|
5039
|
+
param: string;
|
|
5040
|
+
title: string;
|
|
5041
|
+
description: string;
|
|
5042
|
+
default: boolean | null;
|
|
5043
|
+
} | {
|
|
5044
|
+
type: "select-string";
|
|
5045
|
+
param: string;
|
|
5046
|
+
title: string;
|
|
5047
|
+
description: string;
|
|
5048
|
+
default: string;
|
|
5049
|
+
choices: string[];
|
|
5050
|
+
}>;
|
|
5051
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5052
|
+
};
|
|
5053
|
+
price: {
|
|
5054
|
+
modelName: string;
|
|
5055
|
+
currency: string;
|
|
5056
|
+
tokenRanges: {
|
|
5057
|
+
minTokens: number;
|
|
5058
|
+
prices: {
|
|
5059
|
+
base: {
|
|
5060
|
+
inputPricePerMillion: number;
|
|
5061
|
+
outputPricePerMillion: number;
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
5064
|
+
maxTokens?: number | null | undefined;
|
|
5065
|
+
}[];
|
|
5066
|
+
};
|
|
5067
|
+
maxReasoningTokens?: number | undefined;
|
|
5068
|
+
};
|
|
5069
|
+
declare const GPT_5_2_ChatLatestOptions: z.ZodObject<{
|
|
5070
|
+
modelName: z.ZodString;
|
|
5071
|
+
apiKey: z.ZodString;
|
|
5072
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5073
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
5074
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
5075
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
5076
|
+
}, "strip", z.ZodTypeAny, {
|
|
5077
|
+
modelName: string;
|
|
5078
|
+
apiKey: string;
|
|
5079
|
+
baseUrl?: string | undefined;
|
|
5080
|
+
completeChatUrl?: string | undefined;
|
|
5081
|
+
streamChatUrl?: string | undefined;
|
|
5082
|
+
organization?: string | undefined;
|
|
5083
|
+
}, {
|
|
5084
|
+
modelName: string;
|
|
5085
|
+
apiKey: string;
|
|
5086
|
+
baseUrl?: string | undefined;
|
|
5087
|
+
completeChatUrl?: string | undefined;
|
|
5088
|
+
streamChatUrl?: string | undefined;
|
|
5089
|
+
organization?: string | undefined;
|
|
5090
|
+
}>;
|
|
5091
|
+
type GPT_5_2_ChatLatestOptionsType = z.infer<typeof GPT_5_2_ChatLatestOptions>;
|
|
5092
|
+
declare class GPT_5_2_ChatLatest extends BaseChatModel {
|
|
5093
|
+
constructor(options: GPT_5_2_ChatLatestOptionsType);
|
|
5094
|
+
}
|
|
5095
|
+
|
|
5096
|
+
declare const GPT_5_2_ProLiteral = "gpt-5.2-pro";
|
|
5097
|
+
declare const GPT_5_2_ProSchema: {
|
|
5098
|
+
description: string;
|
|
5099
|
+
name: string;
|
|
5100
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
5101
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
5102
|
+
maxInputTokens: number;
|
|
5103
|
+
maxOutputTokens: number;
|
|
5104
|
+
config: {
|
|
5105
|
+
def: Record<string, {
|
|
5106
|
+
type: "multi-string";
|
|
5107
|
+
param: string;
|
|
5108
|
+
title: string;
|
|
5109
|
+
description: string;
|
|
5110
|
+
max: number;
|
|
5111
|
+
} | {
|
|
5112
|
+
type: "object-schema";
|
|
5113
|
+
param: string;
|
|
5114
|
+
title: string;
|
|
5115
|
+
description: string;
|
|
5116
|
+
objectSchema?: any;
|
|
5117
|
+
} | {
|
|
5118
|
+
type: "paired-select";
|
|
5119
|
+
param: string;
|
|
5120
|
+
title: string;
|
|
5121
|
+
description: string;
|
|
5122
|
+
fields: [{
|
|
5123
|
+
label: string;
|
|
5124
|
+
key: string;
|
|
5125
|
+
choices: {
|
|
5126
|
+
value: string;
|
|
5127
|
+
label: string;
|
|
5128
|
+
}[];
|
|
5129
|
+
description?: string | undefined;
|
|
5130
|
+
}, {
|
|
5131
|
+
label: string;
|
|
5132
|
+
key: string;
|
|
5133
|
+
choices: {
|
|
5134
|
+
value: string;
|
|
5135
|
+
label: string;
|
|
5136
|
+
}[];
|
|
5137
|
+
description?: string | undefined;
|
|
5138
|
+
}];
|
|
5139
|
+
uniqueByField?: string | undefined;
|
|
5140
|
+
} | {
|
|
5141
|
+
type: "range";
|
|
5142
|
+
param: string;
|
|
5143
|
+
title: string;
|
|
5144
|
+
description: string;
|
|
5145
|
+
max: number;
|
|
5146
|
+
default: number;
|
|
5147
|
+
min: number;
|
|
5148
|
+
step: number;
|
|
5149
|
+
} | {
|
|
5150
|
+
type: "select-boolean";
|
|
5151
|
+
param: string;
|
|
5152
|
+
title: string;
|
|
5153
|
+
description: string;
|
|
5154
|
+
default: boolean | null;
|
|
5155
|
+
} | {
|
|
5156
|
+
type: "select-string";
|
|
5157
|
+
param: string;
|
|
5158
|
+
title: string;
|
|
5159
|
+
description: string;
|
|
5160
|
+
default: string;
|
|
5161
|
+
choices: string[];
|
|
5162
|
+
}>;
|
|
5163
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5164
|
+
};
|
|
5165
|
+
price: {
|
|
5166
|
+
modelName: string;
|
|
5167
|
+
currency: string;
|
|
5168
|
+
tokenRanges: {
|
|
5169
|
+
minTokens: number;
|
|
5170
|
+
prices: {
|
|
5171
|
+
base: {
|
|
5172
|
+
inputPricePerMillion: number;
|
|
5173
|
+
outputPricePerMillion: number;
|
|
5174
|
+
};
|
|
5175
|
+
};
|
|
5176
|
+
maxTokens?: number | null | undefined;
|
|
5177
|
+
}[];
|
|
5178
|
+
};
|
|
5179
|
+
maxReasoningTokens?: number | undefined;
|
|
5180
|
+
};
|
|
5181
|
+
declare const GPT_5_2_ProOptions: z.ZodObject<{
|
|
5182
|
+
modelName: z.ZodString;
|
|
5183
|
+
apiKey: z.ZodString;
|
|
5184
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5185
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
5186
|
+
}, "strip", z.ZodTypeAny, {
|
|
5187
|
+
modelName: string;
|
|
5188
|
+
apiKey: string;
|
|
5189
|
+
baseUrl?: string | undefined;
|
|
5190
|
+
organization?: string | undefined;
|
|
5191
|
+
}, {
|
|
5192
|
+
modelName: string;
|
|
5193
|
+
apiKey: string;
|
|
5194
|
+
baseUrl?: string | undefined;
|
|
5195
|
+
organization?: string | undefined;
|
|
5196
|
+
}>;
|
|
5197
|
+
type GPT_5_2_ProOptionsType = z.infer<typeof GPT_5_2_ProOptions>;
|
|
5198
|
+
/**
|
|
5199
|
+
* GPT-5.2 Pro Model
|
|
5200
|
+
*
|
|
5201
|
+
* This model uses the OpenAI Responses API (/v1/responses)
|
|
5202
|
+
*/
|
|
5203
|
+
declare class GPT_5_2_Pro extends BaseChatModelResponsesApi {
|
|
5204
|
+
constructor(options: GPT_5_2_ProOptionsType);
|
|
5205
|
+
}
|
|
5206
|
+
|
|
4807
5207
|
declare const GPT_5Literal = "gpt-5";
|
|
4808
5208
|
declare const GPT_5Schema: {
|
|
4809
5209
|
description: string;
|
|
@@ -7562,4 +7962,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
7562
7962
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
7563
7963
|
}
|
|
7564
7964
|
|
|
7565
|
-
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 };
|
|
7965
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelResponsesApi, BaseChatModelResponsesApiOptions, type BaseChatModelResponsesApiOptionsType, 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_2, GPT_5_2Literal, GPT_5_2Options, type GPT_5_2OptionsType, GPT_5_2Schema, GPT_5_2_ChatLatest, GPT_5_2_ChatLatestLiteral, GPT_5_2_ChatLatestOptions, type GPT_5_2_ChatLatestOptionsType, GPT_5_2_ChatLatestSchema, GPT_5_2_Pro, GPT_5_2_ProLiteral, GPT_5_2_ProOptions, type GPT_5_2_ProOptionsType, GPT_5_2_ProSchema, 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 };
|