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

NAME

OpenAI::API::Request::Model::List - models endpoint

SYNOPSIS

    use OpenAI::API::Request::Model::List;

    my $request = OpenAI::API::Request::Model::List->new();

    my $res = $request->send();

    my @models = $res->{data}->@*;

DESCRIPTION

Lists the currently available models, and provides basic information about each one such as the owner and availability.

METHODS

new()

send()

send($openai_config)

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

SEE ALSO

OpenAI API Reference: Models