Object Fields
A unique identifier for the chat completion.
A list of chat completion choices.Each choice object contains:
index(integer): The index of the choicemessage(object): The message generated by the modelrole(string): The role (assistant)content(string): The content of the message
finish_reason(string): The reason the model stopped (stop,length)
The Unix timestamp (in seconds) of when the completion was created.
The model used for the chat completion.
The object type, which is always
chat.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
