Skip to content

@ralphschuler.ai function caller.index.<internal>.ChatCompletionSnapshot

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: ChatCompletionSnapshot

index.<internal>.ChatCompletionSnapshot

Represents a streamed chunk of a chat completion response returned by model, based on the provided input.

Table of contents

Properties

Properties

choices

choices: Choice[]

A list of chat completion choices. Can be more than one if n is greater than 1.

Defined in

node_modules/openai/lib/ChatCompletionStream.d.ts:42


created

created: number

The Unix timestamp (in seconds) of when the chat completion was created.

Defined in

node_modules/openai/lib/ChatCompletionStream.d.ts:46


id

id: string

A unique identifier for the chat completion.

Defined in

node_modules/openai/lib/ChatCompletionStream.d.ts:37


model

model: string

The model to generate the completion.

Defined in

node_modules/openai/lib/ChatCompletionStream.d.ts:50

Typescript Libraries

Modules

Namespaces

Clone this wiki locally