import { Models } from "https://deno.land/x/openai@v4.21.0/resources/models.ts";
class Models
extends APIResource
import { Models } from "https://deno.land/x/openai@v4.21.0/resources/models.ts";
Methods
del(model: string, options?: Core.RequestOptions): Core.APIPromise<ModelDeleted>
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
list(options?: Core.RequestOptions): Core.PagePromise<ModelsPage, Model>
Lists the currently available models, and provides basic information about each one such as the owner and availability.