DictationLiveOptions: {
    signal?: AbortSignal;
    timeout?: number;
}

Client-side options for a dictation request. These are not sent to the server.

Type declaration

  • Optionalsignal?: AbortSignal

    An AbortSignal that drops the request when aborted. openLive() sessions manage their own; pass one here to cancel a transcribeLive() call from outside.

  • Optionaltimeout?: number

    The total request deadline in milliseconds, measured from the start of the request: it spans the upload, the transcription and the LLM pass. Defaults to 300 000, matching the service's total request budget. The audio itself is capped at 120 seconds.