import { type Completion } from "https://deno.land/x/openai@v4.52.2/resources/completions.ts";
Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
Properties
choices: Array<CompletionChoice>
The list of completion choices the model generated for the input prompt.