transcriptions.d.ts 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. import { APIResource } from "../../core/resource.js";
  2. import * as TranscriptionsAPI from "./transcriptions.js";
  3. import * as AudioAPI from "./audio.js";
  4. import { APIPromise } from "../../core/api-promise.js";
  5. import { Stream } from "../../core/streaming.js";
  6. import { type Uploadable } from "../../core/uploads.js";
  7. import { RequestOptions } from "../../internal/request-options.js";
  8. export declare class Transcriptions extends APIResource {
  9. /**
  10. * Transcribes audio into the input language.
  11. *
  12. * @example
  13. * ```ts
  14. * const transcription =
  15. * await client.audio.transcriptions.create({
  16. * file: fs.createReadStream('speech.mp3'),
  17. * model: 'gpt-4o-transcribe',
  18. * });
  19. * ```
  20. */
  21. create(body: TranscriptionCreateParamsNonStreaming<'json' | undefined>, options?: RequestOptions): APIPromise<Transcription>;
  22. create(body: TranscriptionCreateParamsNonStreaming<'verbose_json'>, options?: RequestOptions): APIPromise<TranscriptionVerbose>;
  23. create(body: TranscriptionCreateParamsNonStreaming<'srt' | 'vtt' | 'text'>, options?: RequestOptions): APIPromise<string>;
  24. create(body: TranscriptionCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Transcription>;
  25. create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<TranscriptionStreamEvent>>;
  26. create(body: TranscriptionCreateParamsStreaming, options?: RequestOptions): APIPromise<TranscriptionCreateResponse | string | Stream<TranscriptionStreamEvent>>;
  27. }
  28. /**
  29. * Represents a transcription response returned by model, based on the provided
  30. * input.
  31. */
  32. export interface Transcription {
  33. /**
  34. * The transcribed text.
  35. */
  36. text: string;
  37. /**
  38. * The log probabilities of the tokens in the transcription. Only returned with the
  39. * models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added
  40. * to the `include` array.
  41. */
  42. logprobs?: Array<Transcription.Logprob>;
  43. /**
  44. * Token usage statistics for the request.
  45. */
  46. usage?: Transcription.Tokens | Transcription.Duration;
  47. }
  48. export declare namespace Transcription {
  49. interface Logprob {
  50. /**
  51. * The token in the transcription.
  52. */
  53. token?: string;
  54. /**
  55. * The bytes of the token.
  56. */
  57. bytes?: Array<number>;
  58. /**
  59. * The log probability of the token.
  60. */
  61. logprob?: number;
  62. }
  63. /**
  64. * Usage statistics for models billed by token usage.
  65. */
  66. interface Tokens {
  67. /**
  68. * Number of input tokens billed for this request.
  69. */
  70. input_tokens: number;
  71. /**
  72. * Number of output tokens generated.
  73. */
  74. output_tokens: number;
  75. /**
  76. * Total number of tokens used (input + output).
  77. */
  78. total_tokens: number;
  79. /**
  80. * The type of the usage object. Always `tokens` for this variant.
  81. */
  82. type: 'tokens';
  83. /**
  84. * Details about the input tokens billed for this request.
  85. */
  86. input_token_details?: Tokens.InputTokenDetails;
  87. }
  88. namespace Tokens {
  89. /**
  90. * Details about the input tokens billed for this request.
  91. */
  92. interface InputTokenDetails {
  93. /**
  94. * Number of audio tokens billed for this request.
  95. */
  96. audio_tokens?: number;
  97. /**
  98. * Number of text tokens billed for this request.
  99. */
  100. text_tokens?: number;
  101. }
  102. }
  103. /**
  104. * Usage statistics for models billed by audio input duration.
  105. */
  106. interface Duration {
  107. /**
  108. * Duration of the input audio in seconds.
  109. */
  110. seconds: number;
  111. /**
  112. * The type of the usage object. Always `duration` for this variant.
  113. */
  114. type: 'duration';
  115. }
  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. }
  229. export type TranscriptionInclude = 'logprobs';
  230. export interface TranscriptionSegment {
  231. /**
  232. * Unique identifier of the segment.
  233. */
  234. id: number;
  235. /**
  236. * Average logprob of the segment. If the value is lower than -1, consider the
  237. * logprobs failed.
  238. */
  239. avg_logprob: number;
  240. /**
  241. * Compression ratio of the segment. If the value is greater than 2.4, consider the
  242. * compression failed.
  243. */
  244. compression_ratio: number;
  245. /**
  246. * End time of the segment in seconds.
  247. */
  248. end: number;
  249. /**
  250. * Probability of no speech in the segment. If the value is higher than 1.0 and the
  251. * `avg_logprob` is below -1, consider this segment silent.
  252. */
  253. no_speech_prob: number;
  254. /**
  255. * Seek offset of the segment.
  256. */
  257. seek: number;
  258. /**
  259. * Start time of the segment in seconds.
  260. */
  261. start: number;
  262. /**
  263. * Temperature parameter used for generating the segment.
  264. */
  265. temperature: number;
  266. /**
  267. * Text content of the segment.
  268. */
  269. text: string;
  270. /**
  271. * Array of token IDs for the text content.
  272. */
  273. tokens: Array<number>;
  274. }
  275. /**
  276. * Emitted when a diarized transcription returns a completed segment with speaker
  277. * information. Only emitted when you
  278. * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
  279. * with `stream` set to `true` and `response_format` set to `diarized_json`.
  280. */
  281. export type TranscriptionStreamEvent = TranscriptionTextSegmentEvent | TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent;
  282. /**
  283. * Emitted when there is an additional text delta. This is also the first event
  284. * emitted when the transcription starts. Only emitted when you
  285. * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
  286. * with the `Stream` parameter set to `true`.
  287. */
  288. export interface TranscriptionTextDeltaEvent {
  289. /**
  290. * The text delta that was additionally transcribed.
  291. */
  292. delta: string;
  293. /**
  294. * The type of the event. Always `transcript.text.delta`.
  295. */
  296. type: 'transcript.text.delta';
  297. /**
  298. * The log probabilities of the delta. Only included if you
  299. * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
  300. * with the `include[]` parameter set to `logprobs`.
  301. */
  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;
  308. }
  309. export declare namespace TranscriptionTextDeltaEvent {
  310. interface Logprob {
  311. /**
  312. * The token that was used to generate the log probability.
  313. */
  314. token?: string;
  315. /**
  316. * The bytes that were used to generate the log probability.
  317. */
  318. bytes?: Array<number>;
  319. /**
  320. * The log probability of the token.
  321. */
  322. logprob?: number;
  323. }
  324. }
  325. /**
  326. * Emitted when the transcription is complete. Contains the complete transcription
  327. * text. Only emitted when you
  328. * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
  329. * with the `Stream` parameter set to `true`.
  330. */
  331. export interface TranscriptionTextDoneEvent {
  332. /**
  333. * The text that was transcribed.
  334. */
  335. text: string;
  336. /**
  337. * The type of the event. Always `transcript.text.done`.
  338. */
  339. type: 'transcript.text.done';
  340. /**
  341. * The log probabilities of the individual tokens in the transcription. Only
  342. * included if you
  343. * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
  344. * with the `include[]` parameter set to `logprobs`.
  345. */
  346. logprobs?: Array<TranscriptionTextDoneEvent.Logprob>;
  347. /**
  348. * Usage statistics for models billed by token usage.
  349. */
  350. usage?: TranscriptionTextDoneEvent.Usage;
  351. }
  352. export declare namespace TranscriptionTextDoneEvent {
  353. interface Logprob {
  354. /**
  355. * The token that was used to generate the log probability.
  356. */
  357. token?: string;
  358. /**
  359. * The bytes that were used to generate the log probability.
  360. */
  361. bytes?: Array<number>;
  362. /**
  363. * The log probability of the token.
  364. */
  365. logprob?: number;
  366. }
  367. /**
  368. * Usage statistics for models billed by token usage.
  369. */
  370. interface Usage {
  371. /**
  372. * Number of input tokens billed for this request.
  373. */
  374. input_tokens: number;
  375. /**
  376. * Number of output tokens generated.
  377. */
  378. output_tokens: number;
  379. /**
  380. * Total number of tokens used (input + output).
  381. */
  382. total_tokens: number;
  383. /**
  384. * The type of the usage object. Always `tokens` for this variant.
  385. */
  386. type: 'tokens';
  387. /**
  388. * Details about the input tokens billed for this request.
  389. */
  390. input_token_details?: Usage.InputTokenDetails;
  391. }
  392. namespace Usage {
  393. /**
  394. * Details about the input tokens billed for this request.
  395. */
  396. interface InputTokenDetails {
  397. /**
  398. * Number of audio tokens billed for this request.
  399. */
  400. audio_tokens?: number;
  401. /**
  402. * Number of text tokens billed for this request.
  403. */
  404. text_tokens?: number;
  405. }
  406. }
  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. }
  440. /**
  441. * Represents a verbose json transcription response returned by model, based on the
  442. * provided input.
  443. */
  444. export interface TranscriptionVerbose {
  445. /**
  446. * The duration of the input audio.
  447. */
  448. duration: number;
  449. /**
  450. * The language of the input audio.
  451. */
  452. language: string;
  453. /**
  454. * The transcribed text.
  455. */
  456. text: string;
  457. /**
  458. * Segments of the transcribed text and their corresponding details.
  459. */
  460. segments?: Array<TranscriptionSegment>;
  461. /**
  462. * Usage statistics for models billed by audio input duration.
  463. */
  464. usage?: TranscriptionVerbose.Usage;
  465. /**
  466. * Extracted words and their corresponding timestamps.
  467. */
  468. words?: Array<TranscriptionWord>;
  469. }
  470. export declare namespace TranscriptionVerbose {
  471. /**
  472. * Usage statistics for models billed by audio input duration.
  473. */
  474. interface Usage {
  475. /**
  476. * Duration of the input audio in seconds.
  477. */
  478. seconds: number;
  479. /**
  480. * The type of the usage object. Always `duration` for this variant.
  481. */
  482. type: 'duration';
  483. }
  484. }
  485. export interface TranscriptionWord {
  486. /**
  487. * End time of the word in seconds.
  488. */
  489. end: number;
  490. /**
  491. * Start time of the word in seconds.
  492. */
  493. start: number;
  494. /**
  495. * The text content of the word.
  496. */
  497. word: string;
  498. }
  499. /**
  500. * Represents a transcription response returned by model, based on the provided
  501. * input.
  502. */
  503. export type TranscriptionCreateResponse = Transcription | TranscriptionDiarized | TranscriptionVerbose;
  504. export type TranscriptionCreateParams<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> = TranscriptionCreateParamsNonStreaming<ResponseFormat> | TranscriptionCreateParamsStreaming;
  505. export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> {
  506. /**
  507. * The audio file object (not file name) to transcribe, in one of these formats:
  508. * flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
  509. */
  510. file: Uploadable;
  511. /**
  512. * ID of the model to use. The options are `gpt-4o-transcribe`,
  513. * `gpt-4o-mini-transcribe`, `gpt-4o-mini-transcribe-2025-12-15`, `whisper-1`
  514. * (which is powered by our open source Whisper V2 model), and
  515. * `gpt-4o-transcribe-diarize`.
  516. */
  517. model: (string & {}) | AudioAPI.AudioModel;
  518. /**
  519. * Controls how the audio is cut into chunks. When set to `"auto"`, the server
  520. * first normalizes loudness and then uses voice activity detection (VAD) to choose
  521. * boundaries. `server_vad` object can be provided to tweak VAD detection
  522. * parameters manually. If unset, the audio is transcribed as a single block.
  523. * Required when using `gpt-4o-transcribe-diarize` for inputs longer than 30
  524. * seconds.
  525. */
  526. chunking_strategy?: 'auto' | TranscriptionCreateParams.VadConfig | null;
  527. /**
  528. * Additional information to include in the transcription response. `logprobs` will
  529. * return the log probabilities of the tokens in the response to understand the
  530. * model's confidence in the transcription. `logprobs` only works with
  531. * response_format set to `json` and only with the models `gpt-4o-transcribe`,
  532. * `gpt-4o-mini-transcribe`, and `gpt-4o-mini-transcribe-2025-12-15`. This field is
  533. * not supported when using `gpt-4o-transcribe-diarize`.
  534. */
  535. include?: Array<TranscriptionInclude>;
  536. /**
  537. * Optional list of speaker names that correspond to the audio samples provided in
  538. * `known_speaker_references[]`. Each entry should be a short identifier (for
  539. * example `customer` or `agent`). Up to 4 speakers are supported.
  540. */
  541. known_speaker_names?: Array<string>;
  542. /**
  543. * Optional list of audio samples (as
  544. * [data URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs))
  545. * that contain known speaker references matching `known_speaker_names[]`. Each
  546. * sample must be between 2 and 10 seconds, and can use any of the same input audio
  547. * formats supported by `file`.
  548. */
  549. known_speaker_references?: Array<string>;
  550. /**
  551. * The language of the input audio. Supplying the input language in
  552. * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`)
  553. * format will improve accuracy and latency.
  554. */
  555. language?: string;
  556. /**
  557. * An optional text to guide the model's style or continue a previous audio
  558. * segment. The
  559. * [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting)
  560. * should match the audio language. This field is not supported when using
  561. * `gpt-4o-transcribe-diarize`.
  562. */
  563. prompt?: string;
  564. /**
  565. * The format of the output, in one of these options: `json`, `text`, `srt`,
  566. * `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and
  567. * `gpt-4o-mini-transcribe`, the only supported format is `json`. For
  568. * `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and
  569. * `diarized_json`, with `diarized_json` required to receive speaker annotations.
  570. */
  571. response_format?: ResponseFormat;
  572. /**
  573. * If set to true, the model response data will be streamed to the client as it is
  574. * generated using
  575. * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
  576. * See the
  577. * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
  578. * for more information.
  579. *
  580. * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
  581. */
  582. stream?: boolean | null;
  583. /**
  584. * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the
  585. * output more random, while lower values like 0.2 will make it more focused and
  586. * deterministic. If set to 0, the model will use
  587. * [log probability](https://en.wikipedia.org/wiki/Log_probability) to
  588. * automatically increase the temperature until certain thresholds are hit.
  589. */
  590. temperature?: number;
  591. /**
  592. * The timestamp granularities to populate for this transcription.
  593. * `response_format` must be set `verbose_json` to use timestamp granularities.
  594. * Either or both of these options are supported: `word`, or `segment`. Note: There
  595. * is no additional latency for segment timestamps, but generating word timestamps
  596. * incurs additional latency. This option is not available for
  597. * `gpt-4o-transcribe-diarize`.
  598. */
  599. timestamp_granularities?: Array<'word' | 'segment'>;
  600. }
  601. export declare namespace TranscriptionCreateParams {
  602. interface VadConfig {
  603. /**
  604. * Must be set to `server_vad` to enable manual chunking using server side VAD.
  605. */
  606. type: 'server_vad';
  607. /**
  608. * Amount of audio to include before the VAD detected speech (in milliseconds).
  609. */
  610. prefix_padding_ms?: number;
  611. /**
  612. * Duration of silence to detect speech stop (in milliseconds). With shorter values
  613. * the model will respond more quickly, but may jump in on short pauses from the
  614. * user.
  615. */
  616. silence_duration_ms?: number;
  617. /**
  618. * Sensitivity threshold (0.0 to 1.0) for voice activity detection. A higher
  619. * threshold will require louder audio to activate the model, and thus might
  620. * perform better in noisy environments.
  621. */
  622. threshold?: number;
  623. }
  624. type TranscriptionCreateParamsNonStreaming = TranscriptionsAPI.TranscriptionCreateParamsNonStreaming;
  625. type TranscriptionCreateParamsStreaming = TranscriptionsAPI.TranscriptionCreateParamsStreaming;
  626. }
  627. export interface TranscriptionCreateParamsNonStreaming<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> extends TranscriptionCreateParamsBase<ResponseFormat> {
  628. /**
  629. * If set to true, the model response data will be streamed to the client as it is
  630. * generated using
  631. * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
  632. * See the
  633. * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
  634. * for more information.
  635. *
  636. * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
  637. */
  638. stream?: false | null;
  639. }
  640. export interface TranscriptionCreateParamsStreaming extends TranscriptionCreateParamsBase {
  641. /**
  642. * If set to true, the model response data will be streamed to the client as it is
  643. * generated using
  644. * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
  645. * See the
  646. * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
  647. * for more information.
  648. *
  649. * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
  650. */
  651. stream: true;
  652. }
  653. export declare namespace Transcriptions {
  654. 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, };
  655. }
  656. //# sourceMappingURL=transcriptions.d.ts.map