File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,21 @@ export const AzureOpenAIChatCompleteConfig: ProviderConfig = {
87
87
response_format : {
88
88
param : 'response_format' ,
89
89
} ,
90
+ store : {
91
+ param : 'store' ,
92
+ } ,
93
+ metadata : {
94
+ param : 'metadata' ,
95
+ } ,
96
+ modalities : {
97
+ param : 'modalities' ,
98
+ } ,
99
+ audio : {
100
+ param : 'audio' ,
101
+ } ,
102
+ seed : {
103
+ param : 'seed' ,
104
+ } ,
90
105
} ;
91
106
92
107
interface AzureOpenAIChatCompleteResponse extends ChatCompletionResponse { }
Original file line number Diff line number Diff line change @@ -99,6 +99,18 @@ export const OpenAIChatCompleteConfig: ProviderConfig = {
99
99
max_completion_tokens : {
100
100
param : 'max_completion_tokens' ,
101
101
} ,
102
+ store : {
103
+ param : 'store' ,
104
+ } ,
105
+ metadata : {
106
+ param : 'metadata' ,
107
+ } ,
108
+ modalities : {
109
+ param : 'modalities' ,
110
+ } ,
111
+ audio : {
112
+ param : 'audio' ,
113
+ } ,
102
114
} ;
103
115
104
116
export interface OpenAIChatCompleteResponse extends ChatCompletionResponse {
Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ export interface Params {
310
310
n ?: number ;
311
311
stream ?: boolean ;
312
312
logprobs ?: number ;
313
+ top_logprobs ?: boolean ;
313
314
echo ?: boolean ;
314
315
stop ?: string | string [ ] ;
315
316
presence_penalty ?: number ;
@@ -326,6 +327,15 @@ export interface Params {
326
327
type : 'json_object' | 'text' | 'json_schema' ;
327
328
json_schema ?: any ;
328
329
} ;
330
+ seed ?: number ;
331
+ store ?: boolean ;
332
+ metadata ?: object ;
333
+ modalities ?: string [ ] ;
334
+ audio ?: {
335
+ voice : string ;
336
+ format : string ;
337
+ } ;
338
+ service_tier ?: string ;
329
339
// Google Vertex AI specific
330
340
safety_settings ?: any ;
331
341
// Anthropic specific
You can’t perform that action at this time.
0 commit comments