Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface CreateTranscriptionParams
Re-export
import { type CreateTranscriptionParams } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Properties

optional
prompt: string

An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.

optional
temperature: number

The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.

optional
language: string

The language of the input audio. Supplying the input language in ISO-639-1 format will improve accuracy and latency.