"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from mistralai_gcp.types import BaseModel
import pydantic
from typing import Final, Literal, Optional, TypedDict
from typing_extensions import Annotated


Type = Literal["text"]


class TextChunkTypedDict(TypedDict):
    text: str


class TextChunk(BaseModel):
    text: str

    # fmt: off
    TYPE: Annotated[Final[Optional[Type]], pydantic.Field(alias="type")] = "text" # type: ignore
    # fmt: on
