Changes for version 0.35 - 2023-04-03

  • Implement add_message() and send_message() chat methods.

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