Changes for version 0.34 - 2023-04-02

  • Add OpenAI::API::Response modules. Fix tests. "/edits" endpoint is working again.

Modules

Perl interface to OpenAI API
Configuration options for OpenAI::API
throwable error objects
Base module for making requests to the OpenAI API
completions endpoint
embeddings endpoint
retrieve file details
generates images from a prompt
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