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

x/openai/resources/chat/completions.ts>ChatCompletionContentPartInputAudio.InputAudio

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface ChatCompletionContentPartInputAudio.InputAudio
import { type ChatCompletionContentPartInputAudio } from "https://deno.land/x/openai@v4.69.0/resources/chat/completions.ts";
const { InputAudio } = ChatCompletionContentPartInputAudio;

Properties

data: string

Base64 encoded audio data.

format: "wav" | "mp3"

The format of the encoded audio data. Currently supports "wav" and "mp3".