chatgpt-api/docs/interfaces/openai.CreateChatCompletion...

1.5 KiB

chatgpt / Exports / openai / CreateChatCompletionDeltaResponse

Interface: CreateChatCompletionDeltaResponse

openai.CreateChatCompletionDeltaResponse

Table of contents

Properties

Properties

choices

choices: [{ delta: { content?: string ; role: Role } ; finish_reason: string ; index: number }]

Defined in

src/types.ts:182


created

created: number

Defined in

src/types.ts:180


id

id: string

Defined in

src/types.ts:178


model

model: string

Defined in

src/types.ts:181


object

object: "chat.completion.chunk"

Defined in

src/types.ts:179