File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
/**
6
6
* @typedef {Object } AudioTranscriptionType
7
- * @property {"whisper-1" } model
7
+ * @property {"whisper-1"|"gpt-4o-transcribe"|"gpt-4o-mini-transcribe" } [ model]
8
8
* @property {string } [language]
9
9
* @property {string } [prompt]
10
10
*/
@@ -317,7 +317,7 @@ export class RealtimeClient extends RealtimeEventHandler {
317
317
*/
318
318
export type AudioFormatType = "pcm16" | "g711_ulaw" | "g711_alaw" ;
319
319
export type AudioTranscriptionType = {
320
- model : "whisper-1" ;
320
+ model ? : "whisper-1" | "gpt-4o-transcribe" | "gpt-4o-mini-transcribe ";
321
321
language ?: string ;
322
322
prompt ?: string ;
323
323
} ;
Original file line number Diff line number Diff line change
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { RealtimeUtils } from './utils.js';
10
10
11
11
/**
12
12
* @typedef {Object } AudioTranscriptionType
13
- * @property {"whisper-1" } model
13
+ * @property {"whisper-1"|"gpt-4o-transcribe"|"gpt-4o-mini-transcribe" } [ model]
14
14
* @property {string } [language]
15
15
* @property {string } [prompt]
16
16
*/
You can’t perform that action at this time.
0 commit comments