@@ -472,7 +472,7 @@ export interface Response {
472
472
* Learn more about
473
473
* [built-in tools](https://platform.openai.com/docs/guides/tools).
474
474
* - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
475
- * predefined connectors such as Google Drive and Notion . Learn more about
475
+ * predefined connectors such as Google Drive and SharePoint . Learn more about
476
476
* [MCP Tools](https://platform.openai.com/docs/guides/tools-connectors-mcp).
477
477
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
478
478
* the model to call your own code with strongly typed arguments and outputs.
@@ -1280,6 +1280,7 @@ export type ResponseContent =
1280
1280
| ResponseInputText
1281
1281
| ResponseInputImage
1282
1282
| ResponseInputFile
1283
+ | ResponseInputAudio
1283
1284
| ResponseOutputText
1284
1285
| ResponseOutputRefusal ;
1285
1286
@@ -2205,26 +2206,36 @@ export type ResponseInput = Array<ResponseInputItem>;
2205
2206
* An audio input to the model.
2206
2207
*/
2207
2208
export interface ResponseInputAudio {
2208
- /**
2209
- * Base64-encoded audio data.
2210
- */
2211
- data : string ;
2212
-
2213
- /**
2214
- * The format of the audio data. Currently supported formats are `mp3` and `wav`.
2215
- */
2216
- format : 'mp3' | 'wav' ;
2209
+ input_audio : ResponseInputAudio . InputAudio ;
2217
2210
2218
2211
/**
2219
2212
* The type of the input item. Always `input_audio`.
2220
2213
*/
2221
2214
type : 'input_audio' ;
2222
2215
}
2223
2216
2217
+ export namespace ResponseInputAudio {
2218
+ export interface InputAudio {
2219
+ /**
2220
+ * Base64-encoded audio data.
2221
+ */
2222
+ data : string ;
2223
+
2224
+ /**
2225
+ * The format of the audio data. Currently supported formats are `mp3` and `wav`.
2226
+ */
2227
+ format : 'mp3' | 'wav' ;
2228
+ }
2229
+ }
2230
+
2224
2231
/**
2225
2232
* A text input to the model.
2226
2233
*/
2227
- export type ResponseInputContent = ResponseInputText | ResponseInputImage | ResponseInputFile ;
2234
+ export type ResponseInputContent =
2235
+ | ResponseInputText
2236
+ | ResponseInputImage
2237
+ | ResponseInputFile
2238
+ | ResponseInputAudio ;
2228
2239
2229
2240
/**
2230
2241
* A file input to the model.
@@ -5422,7 +5433,7 @@ export interface ResponseCreateParamsBase {
5422
5433
* Learn more about
5423
5434
* [built-in tools](https://platform.openai.com/docs/guides/tools).
5424
5435
* - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
5425
- * predefined connectors such as Google Drive and Notion . Learn more about
5436
+ * predefined connectors such as Google Drive and SharePoint . Learn more about
5426
5437
* [MCP Tools](https://platform.openai.com/docs/guides/tools-connectors-mcp).
5427
5438
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
5428
5439
* the model to call your own code with strongly typed arguments and outputs.
0 commit comments