The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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()

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

SEE ALSO

OpenAI API Reference: Models