![]() |
![]()
| ![]() |
![]()
NAMEOpenAI::API::Response::Edit - encapsulate the response from the OpenAI Edit API. SYNOPSISThis module should not be used directly. It will be used by OpenAI::API::Request::Edit to parse and encapsulate the response. DESCRIPTIONOpenAI::API::Response::Edit extends the OpenAI::API::Response superclass and is used to encapsulate the response from the OpenAI Edit API. ATTRIBUTESobjectThe type of the object, which is "edit" for this module. createdThe timestamp when the edit completion was created. choicesAn arrayref containing the edit completion choices. usageA hashref containing the tokens usage information. STRING OVERLOADThis module uses overload to provide string representation for the response object. When the object is used as a string, it will automatically return the content of the message in the first choice of the "choices" arrayref. SEE ALSOOpenAI::API::Request::Edit, OpenAI::API::Response
|