import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Creates a new edit for the provided input, instruction, and parameters
Parameters
ID of the model to use. You can use the text-davinci-edit-001
or code-davinci-edit-001
model with this endpoint.
optional
params: CreateEditParamsOptional parameters for the API.
Returns
Promise<CreateEditResponse>
Edited texts.