Retrieves basic information about the model.
retrieveModel(model)
model
A model identifier.
An object containing response from OpenAI API.
await openai.retrieveModel("text-davinci-003")
{
id: text-davinci-003,
object: model,
created: 1669599635,
owned_by: openai-internal,
permission: [{
id: modelperm-loLaKHUdKtFOPD6zujUCDHno,
object: model_permission,
created: 1677093237,
allow_create_engine: false,
allow_sampling: true,
allow_logprobs: true,
allow_search_indices: false,
allow_view: true,
allow_fine_tuning: false,
organization: *,
group: null,
is_blocking: false
}],
root: text-davinci-003,
parent: null
}