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