![]() |
![]()
| ![]() |
![]()
NAMEOpenAI::API::Request::Model::List - models endpoint SYNOPSISuse OpenAI::API::Request::Model::List; my $request = OpenAI::API::Request::Model::List->new(); my $res = $request->send(); my @models = @{ $res->{data} }; DESCRIPTIONLists the currently available models, and provides basic information about each one such as the owner and availability. METHODSnew()send()Sends the request and returns a data structured similar to the one documented in the API reference. SEE ALSOOpenAI API Reference: Models <https://platform.openai.com/docs/api-reference/models>
|