Skip to main content
Go to Latest
method OpenAI.prototype.getModel
import { OpenAI } from "https://deno.land/x/commit_genius@v0.4.0/deps.ts";

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

https://platform.openai.com/docs/api-reference/models/retrieve

Parameters

model: string

Returns

Promise<Model>