Optional
detailImage analysis detail level.
Image content data.
Either base64-encoded image data or a URL reference.
Type discriminator for identifying the specific content modality.
Provides type-safe discrimination between different content types such as "text", "audio", "image", and "file". This discriminator enables proper type narrowing and ensures that each content type is processed according to its specific characteristics and requirements.
The type field is essential for the multimodal content processing pipeline, allowing the system to route different content types to appropriate handlers while maintaining type safety throughout the conversation flow.
User message content for image uploads.
Handles image attachments in user messages, supporting both base64-encoded images and URL references. Used for sharing UI mockups, diagrams, screenshots, and other visual materials.
Author
Samchon