Interface: ChatCompletionsResponseChoice
Defined in: src/batteries/llm/openai_chat_completions/types.ts:327
A choice returned in non-streaming chat completions.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
finish_reason? | string | null | Reason why the model finished generating. | src/batteries/llm/openai_chat_completions/types.ts:339 |
index? | number | Index of the choice in the list. | src/batteries/llm/openai_chat_completions/types.ts:331 |
message? | ChatCompletionsResponseMessage | Message response payload. | src/batteries/llm/openai_chat_completions/types.ts:335 |