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