File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ export const AzureOpenAIChatCompleteConfig: ProviderConfig = {
102
102
seed : {
103
103
param : 'seed' ,
104
104
} ,
105
+ prediction : {
106
+ param : 'prediction' ,
107
+ } ,
105
108
} ;
106
109
107
110
interface AzureOpenAIChatCompleteResponse extends ChatCompletionResponse { }
Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ export const OpenAIChatCompleteConfig: ProviderConfig = {
111
111
audio : {
112
112
param : 'audio' ,
113
113
} ,
114
+ prediction : {
115
+ param : 'prediction' ,
116
+ } ,
114
117
} ;
115
118
116
119
export interface OpenAIChatCompleteResponse extends ChatCompletionResponse {
Original file line number Diff line number Diff line change @@ -336,6 +336,15 @@ export interface Params {
336
336
format : string ;
337
337
} ;
338
338
service_tier ?: string ;
339
+ prediction ?: {
340
+ type : string ;
341
+ content :
342
+ | {
343
+ type : string ;
344
+ text : string ;
345
+ } [ ]
346
+ | string ;
347
+ } ;
339
348
// Google Vertex AI specific
340
349
safety_settings ?: any ;
341
350
// Anthropic specific
You can’t perform that action at this time.
0 commit comments