import { OpenAI } from "https://deno.land/x/openai_mini@0.3.0/lib/openai.ts";
Methods
createCompletion(request: CompletionRequest): Promise<CompletionResponse>
createEdit(request: EditRequest): Promise<EditResponse>
createFineTune(fileId: string, model: AvailableModels): Promise<FineTuneResponse>
createImage(request: ImageRequest): Promise<ImageResponse>
createModeration(request: ModerationRequest): Promise<ModerationResponse>
getFineTune(fineTuneId): Promise<FineTuneResponse>
getFineTunes(): Promise<FineTunes>
uploadFile(fileData: Uint8Array, fileName: string): Promise<FileResponse>