openai 6.2.0 → 6.4.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/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/resources/audio/audio.d.mts +8 -6
- package/resources/audio/audio.d.mts.map +1 -1
- package/resources/audio/audio.d.ts +8 -6
- package/resources/audio/audio.d.ts.map +1 -1
- package/resources/audio/audio.js.map +1 -1
- package/resources/audio/audio.mjs.map +1 -1
- package/resources/audio/index.d.mts +1 -1
- package/resources/audio/index.d.mts.map +1 -1
- package/resources/audio/index.d.ts +1 -1
- package/resources/audio/index.d.ts.map +1 -1
- package/resources/audio/index.js.map +1 -1
- package/resources/audio/index.mjs.map +1 -1
- package/resources/audio/transcriptions.d.mts +183 -13
- package/resources/audio/transcriptions.d.mts.map +1 -1
- package/resources/audio/transcriptions.d.ts +183 -13
- package/resources/audio/transcriptions.d.ts.map +1 -1
- package/resources/beta/assistants.d.mts +6 -0
- package/resources/beta/assistants.d.mts.map +1 -1
- package/resources/beta/assistants.d.ts +6 -0
- package/resources/beta/assistants.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.d.mts +3 -0
- package/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/resources/beta/threads/runs/runs.d.ts +3 -0
- package/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +3 -0
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +3 -0
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/evals/runs/runs.d.mts +33 -0
- package/resources/evals/runs/runs.d.mts.map +1 -1
- package/resources/evals/runs/runs.d.ts +33 -0
- package/resources/evals/runs/runs.d.ts.map +1 -1
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs.map +1 -1
- package/resources/files.d.mts +1 -1
- package/resources/files.d.ts +1 -1
- package/resources/files.js +1 -1
- package/resources/files.mjs +1 -1
- package/resources/graders/grader-models.d.mts +3 -0
- package/resources/graders/grader-models.d.mts.map +1 -1
- package/resources/graders/grader-models.d.ts +3 -0
- package/resources/graders/grader-models.d.ts.map +1 -1
- package/resources/realtime/realtime.d.mts +5 -4
- package/resources/realtime/realtime.d.mts.map +1 -1
- package/resources/realtime/realtime.d.ts +5 -4
- package/resources/realtime/realtime.d.ts.map +1 -1
- package/resources/realtime/realtime.js.map +1 -1
- package/resources/realtime/realtime.mjs.map +1 -1
- package/resources/shared.d.mts +11 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/vector-stores/files.d.mts +1 -1
- package/resources/vector-stores/files.d.ts +1 -1
- package/resources/vector-stores/vector-stores.d.mts +5 -0
- package/resources/vector-stores/vector-stores.d.mts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts +5 -0
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/src/resources/audio/audio.ts +16 -4
- package/src/resources/audio/index.ts +3 -0
- package/src/resources/audio/transcriptions.ts +217 -12
- package/src/resources/beta/assistants.ts +6 -0
- package/src/resources/beta/threads/runs/runs.ts +3 -0
- package/src/resources/chat/completions/completions.ts +3 -0
- package/src/resources/evals/runs/runs.ts +33 -0
- package/src/resources/files.ts +1 -1
- package/src/resources/graders/grader-models.ts +3 -0
- package/src/resources/realtime/realtime.ts +5 -4
- package/src/resources/shared.ts +11 -2
- package/src/resources/vector-stores/files.ts +1 -1
- package/src/resources/vector-stores/vector-stores.ts +6 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.4.0 (2025-10-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v6.3.0...v6.4.0](https://github.com/openai/openai-node/compare/v6.3.0...v6.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint ([2d27392](https://github.com/openai/openai-node/commit/2d27392ac1cd082f7defb730326d11d8e733353f))
|
|
10
|
+
|
|
11
|
+
## 6.3.0 (2025-10-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v6.2.0...v6.3.0](https://github.com/openai/openai-node/compare/v6.2.0...v6.3.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** comparison filter in/not in ([1a733c6](https://github.com/openai/openai-node/commit/1a733c69ffff094568707b3f615d110c7e2edd6e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **internal:** use npm pack for build uploads ([a532410](https://github.com/openai/openai-node/commit/a53241032e1177a390337986399da57e39be25ec))
|
|
23
|
+
|
|
3
24
|
## 6.2.0 (2025-10-06)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v6.1.0...v6.2.0](https://github.com/openai/openai-node/compare/v6.1.0...v6.2.0)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
2
2
|
import * as SpeechAPI from "./speech.mjs";
|
|
3
3
|
import { Speech, SpeechCreateParams, SpeechModel } from "./speech.mjs";
|
|
4
4
|
import * as TranscriptionsAPI from "./transcriptions.mjs";
|
|
5
|
-
import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.mjs";
|
|
5
|
+
import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionDiarized, TranscriptionDiarizedSegment, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionTextSegmentEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.mjs";
|
|
6
6
|
import * as TranslationsAPI from "./translations.mjs";
|
|
7
7
|
import { Translation, TranslationCreateParams, TranslationCreateResponse, TranslationVerbose, Translations } from "./translations.mjs";
|
|
8
8
|
export declare class Audio extends APIResource {
|
|
@@ -10,16 +10,18 @@ export declare class Audio extends APIResource {
|
|
|
10
10
|
translations: TranslationsAPI.Translations;
|
|
11
11
|
speech: SpeechAPI.Speech;
|
|
12
12
|
}
|
|
13
|
-
export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe';
|
|
13
|
+
export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'gpt-4o-transcribe-diarize';
|
|
14
14
|
/**
|
|
15
15
|
* The format of the output, in one of these options: `json`, `text`, `srt`,
|
|
16
|
-
* `verbose_json`, or `
|
|
17
|
-
* the only supported format is `json`.
|
|
16
|
+
* `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and
|
|
17
|
+
* `gpt-4o-mini-transcribe`, the only supported format is `json`. For
|
|
18
|
+
* `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and
|
|
19
|
+
* `diarized_json`, with `diarized_json` required to receive speaker annotations.
|
|
18
20
|
*/
|
|
19
|
-
export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt';
|
|
21
|
+
export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt' | 'diarized_json';
|
|
20
22
|
export declare namespace Audio {
|
|
21
23
|
export { type AudioModel as AudioModel, type AudioResponseFormat as AudioResponseFormat };
|
|
22
|
-
export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
24
|
+
export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionDiarized as TranscriptionDiarized, type TranscriptionDiarizedSegment as TranscriptionDiarizedSegment, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionTextSegmentEvent as TranscriptionTextSegmentEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
23
25
|
export { Translations as Translations, type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, };
|
|
24
26
|
export { Speech as Speech, type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams };
|
|
25
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.mts","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE;OAC3C,KAAK,iBAAiB;OACtB,EACL,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACf;OACM,KAAK,eAAe;OACpB,EACL,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACb;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAsD;IACtG,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAED,MAAM,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"audio.d.mts","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE;OAC3C,KAAK,iBAAiB;OACtB,EACL,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,kCAAkC,EAClC,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,EAC7B,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACf;OACM,KAAK,eAAe;OACpB,EACL,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,YAA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AC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.js";
|
|
|
2
2
|
import * as SpeechAPI from "./speech.js";
|
|
3
3
|
import { Speech, SpeechCreateParams, SpeechModel } from "./speech.js";
|
|
4
4
|
import * as TranscriptionsAPI from "./transcriptions.js";
|
|
5
|
-
import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.js";
|
|
5
|
+
import { Transcription, TranscriptionCreateParams, TranscriptionCreateParamsNonStreaming, TranscriptionCreateParamsStreaming, TranscriptionCreateResponse, TranscriptionDiarized, TranscriptionDiarizedSegment, TranscriptionInclude, TranscriptionSegment, TranscriptionStreamEvent, TranscriptionTextDeltaEvent, TranscriptionTextDoneEvent, TranscriptionTextSegmentEvent, TranscriptionVerbose, TranscriptionWord, Transcriptions } from "./transcriptions.js";
|
|
6
6
|
import * as TranslationsAPI from "./translations.js";
|
|
7
7
|
import { Translation, TranslationCreateParams, TranslationCreateResponse, TranslationVerbose, Translations } from "./translations.js";
|
|
8
8
|
export declare class Audio extends APIResource {
|
|
@@ -10,16 +10,18 @@ export declare class Audio extends APIResource {
|
|
|
10
10
|
translations: TranslationsAPI.Translations;
|
|
11
11
|
speech: SpeechAPI.Speech;
|
|
12
12
|
}
|
|
13
|
-
export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe';
|
|
13
|
+
export type AudioModel = 'whisper-1' | 'gpt-4o-transcribe' | 'gpt-4o-mini-transcribe' | 'gpt-4o-transcribe-diarize';
|
|
14
14
|
/**
|
|
15
15
|
* The format of the output, in one of these options: `json`, `text`, `srt`,
|
|
16
|
-
* `verbose_json`, or `
|
|
17
|
-
* the only supported format is `json`.
|
|
16
|
+
* `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and
|
|
17
|
+
* `gpt-4o-mini-transcribe`, the only supported format is `json`. For
|
|
18
|
+
* `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and
|
|
19
|
+
* `diarized_json`, with `diarized_json` required to receive speaker annotations.
|
|
18
20
|
*/
|
|
19
|
-
export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt';
|
|
21
|
+
export type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt' | 'diarized_json';
|
|
20
22
|
export declare namespace Audio {
|
|
21
23
|
export { type AudioModel as AudioModel, type AudioResponseFormat as AudioResponseFormat };
|
|
22
|
-
export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
24
|
+
export { Transcriptions as Transcriptions, type Transcription as Transcription, type TranscriptionDiarized as TranscriptionDiarized, type TranscriptionDiarizedSegment as TranscriptionDiarizedSegment, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionTextSegmentEvent as TranscriptionTextSegmentEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
23
25
|
export { Translations as Translations, type Translation as Translation, type TranslationVerbose as TranslationVerbose, type TranslationCreateResponse as TranslationCreateResponse, type TranslationCreateParams as TranslationCreateParams, };
|
|
24
26
|
export { Speech as Speech, type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams };
|
|
25
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE;OAC3C,KAAK,iBAAiB;OACtB,EACL,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACf;OACM,KAAK,eAAe;OACpB,EACL,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACb;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAsD;IACtG,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAED,MAAM,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/resources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AK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAmE;AACnE,+EAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAmE;AACnE,+EAAsD;AACtD,wDAiB0B;AAC1B,2EAAkD;AAClD,oDAMwB;AAExB,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtG,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAJD,sBAIC;AAiBD,KAAK,CAAC,cAAc,GAAG,+BAAc,CAAC;AACtC,KAAK,CAAC,YAAY,GAAG,2BAAY,CAAC;AAClC,KAAK,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.mjs","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAmC;OAC3C,KAAK,iBAAiB;OACtB,
|
|
1
|
+
{"version":3,"file":"audio.mjs","sourceRoot":"","sources":["../../src/resources/audio/audio.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAmC;OAC3C,KAAK,iBAAiB;OACtB,EAgBL,cAAc,GACf;OACM,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtG,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAiBD,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;AACtC,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;AAClC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Audio, type AudioModel, type AudioResponseFormat } from "./audio.mjs";
|
|
2
2
|
export { Speech, type SpeechModel, type SpeechCreateParams } from "./speech.mjs";
|
|
3
|
-
export { Transcriptions, type Transcription, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.mjs";
|
|
3
|
+
export { Transcriptions, type Transcription, type TranscriptionDiarized, type TranscriptionDiarizedSegment, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionTextSegmentEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.mjs";
|
|
4
4
|
export { Translations, type Translation, type TranslationVerbose, type TranslationCreateResponse, type TranslationCreateParams, } from "./translations.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Audio, type AudioModel, type AudioResponseFormat } from "./audio.js";
|
|
2
2
|
export { Speech, type SpeechModel, type SpeechCreateParams } from "./speech.js";
|
|
3
|
-
export { Transcriptions, type Transcription, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.js";
|
|
3
|
+
export { Transcriptions, type Transcription, type TranscriptionDiarized, type TranscriptionDiarizedSegment, type TranscriptionInclude, type TranscriptionSegment, type TranscriptionStreamEvent, type TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent, type TranscriptionTextSegmentEvent, type TranscriptionVerbose, type TranscriptionWord, type TranscriptionCreateResponse, type TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming, } from "./transcriptions.js";
|
|
4
4
|
export { Translations, type Translation, type TranslationVerbose, type TranslationCreateResponse, type TranslationCreateParams, } from "./translations.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACpD,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE;OACrD,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,GACxC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAA2E;AAAlE,8FAAA,KAAK,OAAA;AACd,sCAA6E;AAApE,gGAAA,MAAM,OAAA;AACf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAA2E;AAAlE,8FAAA,KAAK,OAAA;AACd,sCAA6E;AAApE,gGAAA,MAAM,OAAA;AACf,sDAiB0B;AAhBxB,gHAAA,cAAc,OAAA;AAiBhB,kDAMwB;AALtB,4GAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA6C;OACpD,EAAE,MAAM,EAA6C;OACrD,EACL,cAAc,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/audio/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA6C;OACpD,EAAE,MAAM,EAA6C;OACrD,EACL,cAAc,GAgBf;OACM,EACL,YAAY,GAKb"}
|
|
@@ -114,6 +114,118 @@ export declare namespace Transcription {
|
|
|
114
114
|
type: 'duration';
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Represents a diarized transcription response returned by the model, including
|
|
119
|
+
* the combined transcript and speaker-segment annotations.
|
|
120
|
+
*/
|
|
121
|
+
export interface TranscriptionDiarized {
|
|
122
|
+
/**
|
|
123
|
+
* Duration of the input audio in seconds.
|
|
124
|
+
*/
|
|
125
|
+
duration: number;
|
|
126
|
+
/**
|
|
127
|
+
* Segments of the transcript annotated with timestamps and speaker labels.
|
|
128
|
+
*/
|
|
129
|
+
segments: Array<TranscriptionDiarizedSegment>;
|
|
130
|
+
/**
|
|
131
|
+
* The type of task that was run. Always `transcribe`.
|
|
132
|
+
*/
|
|
133
|
+
task: 'transcribe';
|
|
134
|
+
/**
|
|
135
|
+
* The concatenated transcript text for the entire audio input.
|
|
136
|
+
*/
|
|
137
|
+
text: string;
|
|
138
|
+
/**
|
|
139
|
+
* Token or duration usage statistics for the request.
|
|
140
|
+
*/
|
|
141
|
+
usage?: TranscriptionDiarized.Tokens | TranscriptionDiarized.Duration;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace TranscriptionDiarized {
|
|
144
|
+
/**
|
|
145
|
+
* Usage statistics for models billed by token usage.
|
|
146
|
+
*/
|
|
147
|
+
interface Tokens {
|
|
148
|
+
/**
|
|
149
|
+
* Number of input tokens billed for this request.
|
|
150
|
+
*/
|
|
151
|
+
input_tokens: number;
|
|
152
|
+
/**
|
|
153
|
+
* Number of output tokens generated.
|
|
154
|
+
*/
|
|
155
|
+
output_tokens: number;
|
|
156
|
+
/**
|
|
157
|
+
* Total number of tokens used (input + output).
|
|
158
|
+
*/
|
|
159
|
+
total_tokens: number;
|
|
160
|
+
/**
|
|
161
|
+
* The type of the usage object. Always `tokens` for this variant.
|
|
162
|
+
*/
|
|
163
|
+
type: 'tokens';
|
|
164
|
+
/**
|
|
165
|
+
* Details about the input tokens billed for this request.
|
|
166
|
+
*/
|
|
167
|
+
input_token_details?: Tokens.InputTokenDetails;
|
|
168
|
+
}
|
|
169
|
+
namespace Tokens {
|
|
170
|
+
/**
|
|
171
|
+
* Details about the input tokens billed for this request.
|
|
172
|
+
*/
|
|
173
|
+
interface InputTokenDetails {
|
|
174
|
+
/**
|
|
175
|
+
* Number of audio tokens billed for this request.
|
|
176
|
+
*/
|
|
177
|
+
audio_tokens?: number;
|
|
178
|
+
/**
|
|
179
|
+
* Number of text tokens billed for this request.
|
|
180
|
+
*/
|
|
181
|
+
text_tokens?: number;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Usage statistics for models billed by audio input duration.
|
|
186
|
+
*/
|
|
187
|
+
interface Duration {
|
|
188
|
+
/**
|
|
189
|
+
* Duration of the input audio in seconds.
|
|
190
|
+
*/
|
|
191
|
+
seconds: number;
|
|
192
|
+
/**
|
|
193
|
+
* The type of the usage object. Always `duration` for this variant.
|
|
194
|
+
*/
|
|
195
|
+
type: 'duration';
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A segment of diarized transcript text with speaker metadata.
|
|
200
|
+
*/
|
|
201
|
+
export interface TranscriptionDiarizedSegment {
|
|
202
|
+
/**
|
|
203
|
+
* Unique identifier for the segment.
|
|
204
|
+
*/
|
|
205
|
+
id: string;
|
|
206
|
+
/**
|
|
207
|
+
* End timestamp of the segment in seconds.
|
|
208
|
+
*/
|
|
209
|
+
end: number;
|
|
210
|
+
/**
|
|
211
|
+
* Speaker label for this segment. When known speakers are provided, the label
|
|
212
|
+
* matches `known_speaker_names[]`. Otherwise speakers are labeled sequentially
|
|
213
|
+
* using capital letters (`A`, `B`, ...).
|
|
214
|
+
*/
|
|
215
|
+
speaker: string;
|
|
216
|
+
/**
|
|
217
|
+
* Start timestamp of the segment in seconds.
|
|
218
|
+
*/
|
|
219
|
+
start: number;
|
|
220
|
+
/**
|
|
221
|
+
* Transcript text for this segment.
|
|
222
|
+
*/
|
|
223
|
+
text: string;
|
|
224
|
+
/**
|
|
225
|
+
* The type of the segment. Always `transcript.text.segment`.
|
|
226
|
+
*/
|
|
227
|
+
type: 'transcript.text.segment';
|
|
228
|
+
}
|
|
117
229
|
export type TranscriptionInclude = 'logprobs';
|
|
118
230
|
export interface TranscriptionSegment {
|
|
119
231
|
/**
|
|
@@ -161,12 +273,12 @@ export interface TranscriptionSegment {
|
|
|
161
273
|
tokens: Array<number>;
|
|
162
274
|
}
|
|
163
275
|
/**
|
|
164
|
-
* Emitted when
|
|
165
|
-
*
|
|
276
|
+
* Emitted when a diarized transcription returns a completed segment with speaker
|
|
277
|
+
* information. Only emitted when you
|
|
166
278
|
* [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
|
|
167
|
-
* with
|
|
279
|
+
* with `stream` set to `true` and `response_format` set to `diarized_json`.
|
|
168
280
|
*/
|
|
169
|
-
export type TranscriptionStreamEvent = TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent;
|
|
281
|
+
export type TranscriptionStreamEvent = TranscriptionTextSegmentEvent | TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent;
|
|
170
282
|
/**
|
|
171
283
|
* Emitted when there is an additional text delta. This is also the first event
|
|
172
284
|
* emitted when the transcription starts. Only emitted when you
|
|
@@ -188,6 +300,11 @@ export interface TranscriptionTextDeltaEvent {
|
|
|
188
300
|
* with the `include[]` parameter set to `logprobs`.
|
|
189
301
|
*/
|
|
190
302
|
logprobs?: Array<TranscriptionTextDeltaEvent.Logprob>;
|
|
303
|
+
/**
|
|
304
|
+
* Identifier of the diarized segment that this delta belongs to. Only present when
|
|
305
|
+
* using `gpt-4o-transcribe-diarize`.
|
|
306
|
+
*/
|
|
307
|
+
segment_id?: string;
|
|
191
308
|
}
|
|
192
309
|
export declare namespace TranscriptionTextDeltaEvent {
|
|
193
310
|
interface Logprob {
|
|
@@ -288,6 +405,38 @@ export declare namespace TranscriptionTextDoneEvent {
|
|
|
288
405
|
}
|
|
289
406
|
}
|
|
290
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Emitted when a diarized transcription returns a completed segment with speaker
|
|
410
|
+
* information. Only emitted when you
|
|
411
|
+
* [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
|
|
412
|
+
* with `stream` set to `true` and `response_format` set to `diarized_json`.
|
|
413
|
+
*/
|
|
414
|
+
export interface TranscriptionTextSegmentEvent {
|
|
415
|
+
/**
|
|
416
|
+
* Unique identifier for the segment.
|
|
417
|
+
*/
|
|
418
|
+
id: string;
|
|
419
|
+
/**
|
|
420
|
+
* End timestamp of the segment in seconds.
|
|
421
|
+
*/
|
|
422
|
+
end: number;
|
|
423
|
+
/**
|
|
424
|
+
* Speaker label for this segment.
|
|
425
|
+
*/
|
|
426
|
+
speaker: string;
|
|
427
|
+
/**
|
|
428
|
+
* Start timestamp of the segment in seconds.
|
|
429
|
+
*/
|
|
430
|
+
start: number;
|
|
431
|
+
/**
|
|
432
|
+
* Transcript text for this segment.
|
|
433
|
+
*/
|
|
434
|
+
text: string;
|
|
435
|
+
/**
|
|
436
|
+
* The type of the event. Always `transcript.text.segment`.
|
|
437
|
+
*/
|
|
438
|
+
type: 'transcript.text.segment';
|
|
439
|
+
}
|
|
291
440
|
/**
|
|
292
441
|
* Represents a verbose json transcription response returned by model, based on the
|
|
293
442
|
* provided input.
|
|
@@ -351,7 +500,7 @@ export interface TranscriptionWord {
|
|
|
351
500
|
* Represents a transcription response returned by model, based on the provided
|
|
352
501
|
* input.
|
|
353
502
|
*/
|
|
354
|
-
export type TranscriptionCreateResponse = Transcription | TranscriptionVerbose;
|
|
503
|
+
export type TranscriptionCreateResponse = Transcription | TranscriptionDiarized | TranscriptionVerbose;
|
|
355
504
|
export type TranscriptionCreateParams<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> = TranscriptionCreateParamsNonStreaming<ResponseFormat> | TranscriptionCreateParamsStreaming;
|
|
356
505
|
export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> {
|
|
357
506
|
/**
|
|
@@ -361,8 +510,8 @@ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.A
|
|
|
361
510
|
file: Uploadable;
|
|
362
511
|
/**
|
|
363
512
|
* ID of the model to use. The options are `gpt-4o-transcribe`,
|
|
364
|
-
* `gpt-4o-mini-transcribe`,
|
|
365
|
-
* Whisper V2 model)
|
|
513
|
+
* `gpt-4o-mini-transcribe`, `whisper-1` (which is powered by our open source
|
|
514
|
+
* Whisper V2 model), and `gpt-4o-transcribe-diarize`.
|
|
366
515
|
*/
|
|
367
516
|
model: (string & {}) | AudioAPI.AudioModel;
|
|
368
517
|
/**
|
|
@@ -370,6 +519,8 @@ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.A
|
|
|
370
519
|
* first normalizes loudness and then uses voice activity detection (VAD) to choose
|
|
371
520
|
* boundaries. `server_vad` object can be provided to tweak VAD detection
|
|
372
521
|
* parameters manually. If unset, the audio is transcribed as a single block.
|
|
522
|
+
* Required when using `gpt-4o-transcribe-diarize` for inputs longer than 30
|
|
523
|
+
* seconds.
|
|
373
524
|
*/
|
|
374
525
|
chunking_strategy?: 'auto' | TranscriptionCreateParams.VadConfig | null;
|
|
375
526
|
/**
|
|
@@ -377,9 +528,24 @@ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.A
|
|
|
377
528
|
* return the log probabilities of the tokens in the response to understand the
|
|
378
529
|
* model's confidence in the transcription. `logprobs` only works with
|
|
379
530
|
* response_format set to `json` and only with the models `gpt-4o-transcribe` and
|
|
380
|
-
* `gpt-4o-mini-transcribe`.
|
|
531
|
+
* `gpt-4o-mini-transcribe`. This field is not supported when using
|
|
532
|
+
* `gpt-4o-transcribe-diarize`.
|
|
381
533
|
*/
|
|
382
534
|
include?: Array<TranscriptionInclude>;
|
|
535
|
+
/**
|
|
536
|
+
* Optional list of speaker names that correspond to the audio samples provided in
|
|
537
|
+
* `known_speaker_references[]`. Each entry should be a short identifier (for
|
|
538
|
+
* example `customer` or `agent`). Up to 4 speakers are supported.
|
|
539
|
+
*/
|
|
540
|
+
known_speaker_names?: Array<string>;
|
|
541
|
+
/**
|
|
542
|
+
* Optional list of audio samples (as
|
|
543
|
+
* [data URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs))
|
|
544
|
+
* that contain known speaker references matching `known_speaker_names[]`. Each
|
|
545
|
+
* sample must be between 2 and 10 seconds, and can use any of the same input audio
|
|
546
|
+
* formats supported by `file`.
|
|
547
|
+
*/
|
|
548
|
+
known_speaker_references?: Array<string>;
|
|
383
549
|
/**
|
|
384
550
|
* The language of the input audio. Supplying the input language in
|
|
385
551
|
* [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`)
|
|
@@ -390,13 +556,16 @@ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.A
|
|
|
390
556
|
* An optional text to guide the model's style or continue a previous audio
|
|
391
557
|
* segment. The
|
|
392
558
|
* [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting)
|
|
393
|
-
* should match the audio language.
|
|
559
|
+
* should match the audio language. This field is not supported when using
|
|
560
|
+
* `gpt-4o-transcribe-diarize`.
|
|
394
561
|
*/
|
|
395
562
|
prompt?: string;
|
|
396
563
|
/**
|
|
397
564
|
* The format of the output, in one of these options: `json`, `text`, `srt`,
|
|
398
|
-
* `verbose_json`, or `
|
|
399
|
-
* the only supported format is `json`.
|
|
565
|
+
* `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and
|
|
566
|
+
* `gpt-4o-mini-transcribe`, the only supported format is `json`. For
|
|
567
|
+
* `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and
|
|
568
|
+
* `diarized_json`, with `diarized_json` required to receive speaker annotations.
|
|
400
569
|
*/
|
|
401
570
|
response_format?: ResponseFormat;
|
|
402
571
|
/**
|
|
@@ -423,7 +592,8 @@ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.A
|
|
|
423
592
|
* `response_format` must be set `verbose_json` to use timestamp granularities.
|
|
424
593
|
* Either or both of these options are supported: `word`, or `segment`. Note: There
|
|
425
594
|
* is no additional latency for segment timestamps, but generating word timestamps
|
|
426
|
-
* incurs additional latency.
|
|
595
|
+
* incurs additional latency. This option is not available for
|
|
596
|
+
* `gpt-4o-transcribe-diarize`.
|
|
427
597
|
*/
|
|
428
598
|
timestamp_granularities?: Array<'word' | 'segment'>;
|
|
429
599
|
}
|
|
@@ -480,6 +650,6 @@ export interface TranscriptionCreateParamsStreaming extends TranscriptionCreateP
|
|
|
480
650
|
stream: true;
|
|
481
651
|
}
|
|
482
652
|
export declare namespace Transcriptions {
|
|
483
|
-
export { type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
653
|
+
export { type Transcription as Transcription, type TranscriptionDiarized as TranscriptionDiarized, type TranscriptionDiarizedSegment as TranscriptionDiarizedSegment, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionTextSegmentEvent as TranscriptionTextSegmentEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
|
|
484
654
|
}
|
|
485
655
|
//# sourceMappingURL=transcriptions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcriptions.d.mts","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,iBAAiB;OACtB,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,qCAAqC,CAAC,MAAM,GAAG,SAAS,CAAC,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC;IAC5B,MAAM,CACJ,IAAI,EAAE,qCAAqC,CAAC,cAAc,CAAC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IACnC,MAAM,CACJ,IAAI,EAAE,qCAAqC,CAAC,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC,EACnE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC;IACrB,MAAM,CAAC,IAAI,EAAE,qCAAqC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IACxG,MAAM,CACJ,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;IAC/C,MAAM,CACJ,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,GAAG,MAAM,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;CAkBvF;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,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