kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
2.6 KiB
2.6 KiB
chatgpt / Exports / CreateChatCompletionStreamResponse
Interface: CreateChatCompletionStreamResponse
Hierarchy
-
CreateChatCompletionDeltaResponse
↳
CreateChatCompletionStreamResponse
Table of contents
Properties
Properties
choices
• choices: [{ delta
: { content?
: string
; role
: Role
} ; finish_reason
: string
; index
: number
}]
Inherited from
CreateChatCompletionDeltaResponse.choices
Defined in
created
• created: number
Inherited from
CreateChatCompletionDeltaResponse.created
Defined in
id
• id: string
Inherited from
CreateChatCompletionDeltaResponse.id
Defined in
model
• model: string
Inherited from
CreateChatCompletionDeltaResponse.model
Defined in
object
• object: "chat.completion.chunk"
Inherited from
CreateChatCompletionDeltaResponse.object
Defined in
usage
• usage: CreateCompletionStreamResponseUsage