The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

    use OpenAI::API::Request::Model::Retrieve;

    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