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

x/openai/resources/mod.ts>Edit

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
namespace Edit
import { Edit } from "https://deno.land/x/openai@v4.19.1/resources/mod.ts";
interface Edit
import { type Edit } from "https://deno.land/x/openai@v4.19.1/resources/mod.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.