Name | Type | Description | Notes |
---|---|---|---|
id | String | A unique identifier for the chat completion. Each chunk has the same ID. | |
choices | Array<CreateChatCompletionStreamResponseChoicesInner> | A list of chat completion choices. Can be more than one if `n` is greater than 1. | |
created | Integer | The Unix timestamp (in seconds) of when the chat completion was created. Each chunk has the same timestamp. | |
model | String | The model to generate the completion. | |
object | String | The object type, which is always `chat.completion.chunk`. |
require 'openapi_client'
instance = OpenapiClient::CreateChatCompletionStreamResponse.new(
id: null,
choices: null,
created: null,
model: null,
object: null
)