Changes for version 0.36 - 2023-04-09
- Replace AnyEvent with IO::Async::Loop Replace Promises with IO::Async::Future
Modules
Perl interface to OpenAI API
Configuration options for OpenAI::API
throwable error objects
Base module for making requests to the OpenAI API
chat endpoint
completions endpoint
edits endpoint
embeddings endpoint
files endpoint
retrieve file details
generates images from a prompt
models endpoint
retrieve model details
moderations endpoint
base class for OpenAI API responses.
encapsulate the response from the OpenAI Chat API.
encapsulate the response from the OpenAI Completion API.
encapsulate the response from the OpenAI Edit API.
Provides
in lib/OpenAI/API/Response/Embedding.pm
in lib/OpenAI/API/Response/File/List.pm
in lib/OpenAI/API/Response/File/Retrieve.pm
in lib/OpenAI/API/Response/Image/Generation.pm
in lib/OpenAI/API/Response/Model/List.pm
in lib/OpenAI/API/Response/Model/Retrieve.pm
in lib/OpenAI/API/Response/Moderation.pm