InputImage¶
Structure Class¶
InputImage
dataclass
¶
Contains the image data for multimodal knowledge base queries, including format and content.
This data type is used in the following API operations:
- Retrieve
request
-- in the
imagefield
Attributes¶
format
instance-attribute
¶
format: InputImageFormat
The format of the input image. Supported formats include png, gif, jpeg, and webp.
inline_content
class-attribute
instance-attribute
¶
inline_content: bytes = field(repr=False)
The base64-encoded image data for inline image content. Maximum size is 5MB.