GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenAI::API::Response::Completion(3) User Contributed Perl Documentation OpenAI::API::Response::Completion(3)

OpenAI::API::Response::Completion - encapsulate the response from the OpenAI Completion API.

This module should not be used directly. It will be used by OpenAI::API::Request::Completion to encapsulate the response.

OpenAI::API::Response::Completion extends the OpenAI::API::Response superclass and is used to encapsulate the response from the OpenAI Completion API.

The unique identifier of the completion.

The type of the object, which is "text_completion" for this module.

The timestamp when the completion was created.

The name of the model used for the completion.

An arrayref containing the completion choices.

A hashref containing the tokens usage information.

This module uses overload to provide string representation for the response object. When the object is used as a string, it will automatically return the text of the first choice in the "choices" arrayref.

OpenAI::API::Request::Completion, OpenAI::API::Response

2023-04-02 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.