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

x/openai/resources/edits.ts>Edit

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace Edit
import { Edit } from "https://deno.land/x/openai@v4.24.3/resources/edits.ts";
interface Edit
import { type Edit } from "https://deno.land/x/openai@v4.24.3/resources/edits.ts";

Properties

choices: Array<Edit.Choice>

A list of edit choices. Can be more than one if n is greater than 1.

created: number

The Unix timestamp (in seconds) of when the edit was created.

object: "edit"

The object type, which is always edit.

usage: CompletionsAPI.CompletionUsage

Usage statistics for the completion request.