---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_chat_completions/types/interfaces/ChatCompletionsResponseChoice.md
description: A choice returned in non-streaming chat completions.
---

# Interface: ChatCompletionsResponseChoice

Defined in: [src/batteries/llm/openai\_chat\_completions/types.ts:327](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L327)

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](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L339) |
|  `index?`                 | `number`                                                              | Index of the choice in the list.          | [src/batteries/llm/openai\_chat\_completions/types.ts:331](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L331) |
|  `message?`             | [`ChatCompletionsResponseMessage`](ChatCompletionsResponseMessage.md) | Message response payload.                 | [src/batteries/llm/openai\_chat\_completions/types.ts:335](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L335) |
