# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from r_typing_extensions import Literal

from ..._models import BaseModel

__all__ = ["ChatCompletionContentPartText"]


class ChatCompletionContentPartText(BaseModel):
    """
    Learn about [text inputs](https://platform.openai.com/docs/guides/text-generation).
    """

    text: str
    """The text content."""

    type: Literal["text"]
    """The type of the content part."""
