Object Fields
A unique identifier for the completion.
The list of completion choices the model generated for the input prompt.Each choice object contains:
index(integer): The index of the choice in the listtext(string): The generated textfinish_reason(string): The reason the model stopped generating (stop,length)
The Unix timestamp (in seconds) of when the completion was created.
The model used for the completion.
This fingerprint represents the backend configuration that the model runs with.
The object type, which is always
text_completion.Usage statistics for the completion request.
completion_tokens(integer): Number of tokens in the generated completionprompt_tokens(integer): Number of tokens in the prompttotal_tokens(integer): Total number of tokens used in the request (prompt + completion)
