# This file was auto-generated by Fern from our API Definition.

import typing_extensions
import typing
from .choice import ChoiceParams
import typing_extensions
from .completion_usage import CompletionUsageParams


class CreateChatCompletionResponseParams(typing_extensions.TypedDict):
    id: str
    """
    A unique identifier for the chat completion.
    """

    choices: typing.Sequence[ChoiceParams]
    """
    A list of chat completion choices. Can be more than one if `n` is greater than 1.
    """

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

    model: str
    """
    The model used for the chat completion.
    """

    object: typing.Literal["chat.completion"]
    """
    The object type, which is always `chat.completion`.
    """

    usage: typing_extensions.NotRequired[CompletionUsageParams]
