Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Completions.CompletionChoice

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

Interface: CompletionChoice

OpenAI.Completions.CompletionChoice

Table of contents

Properties

Properties

finish_reason

finish_reason: "length" | "stop" | "content_filter"

The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached, or content_filter if content was omitted due to a flag from our content filters.

Defined in

node_modules/openai/resources/completions.d.ts:58


index

index: number

Defined in

node_modules/openai/resources/completions.d.ts:59


logprobs

logprobs: null | Logprobs

Defined in

node_modules/openai/resources/completions.d.ts:60


text

text: string

Defined in

node_modules/openai/resources/completions.d.ts:61

Typescript Libraries

Modules

Namespaces

Clone this wiki locally