Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

OpenAI::API::Request::Model::Retrieve - retrieve model details

SYNOPSIS

my $request = OpenAI::API::Request::Model::Retrieve->new(
model => 'text-davinci-003',
);
my $res = $request->send();
my $id = $res->{id};

DESCRIPTION

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

METHODS

new()

model

send()

Sends the request and returns a data structured similar to the one documented in the API reference.

SEE ALSO

OpenAI API Reference: Models