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

from __future__ import annotations
from .audiocontent import AudioContent, AudioContentTypedDict
from .imagecontent import ImageContent, ImageContentTypedDict
from .textcontent import TextContent, TextContentTypedDict
from .videocontent import VideoContent, VideoContentTypedDict
from pydantic import Field
from typing import Union
from typing_extensions import Annotated, TypeAliasType

UserMessageContentMultiModalTypedDict = TypeAliasType(
    "UserMessageContentMultiModalTypedDict",
    Union[
        TextContentTypedDict,
        AudioContentTypedDict,
        ImageContentTypedDict,
        VideoContentTypedDict,
    ],
)
UserMessageContentMultiModal = Annotated[
    Union[AudioContent, ImageContent, TextContent, VideoContent],
    Field(discriminator="TYPE"),
]
