Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>OpenAI#retrieveModel

OpenAI API wrapper for deno.
Latest
method OpenAI.prototype.retrieveModel
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

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

Parameters

modelID: string

The ID of the model to use for this request

Returns

Promise<Model>

A model.