Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/mod.ts>ChatCompletionAudio

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface ChatCompletionAudio
import { type ChatCompletionAudio } from "https://deno.land/x/openai@v4.68.0/resources/mod.ts";

If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.

Properties

id: string

Unique identifier for this audio response.

data: string

Base64 encoded audio bytes generated by the model, in the format specified in the request.

expires_at: number

The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.

transcript: string

Transcript of the audio generated by the model.