Skip to main content

OpenAIChatCompletionObject

A non-streaming OpenAI chat.completion object: id, object: "chat.completion", created, model, choices[], usage.

idstring
objectstring

Possible values: [chat.completion]

createdinteger
modelstring
choicesobject[]
usage object
property name*any
property name*any

A non-streaming OpenAI chat.completion object: id, object: "chat.completion", created, model, choices[], usage.

OpenAIChatCompletionObject
{
"id": "string",
"object": "chat.completion",
"created": 0,
"model": "string",
"choices": [
{}
],
"usage": {}
}