Skip to main content

Python class

ImageContentPart

ImageContentPartโ€‹

class max.interfaces.ImageContentPart(*, type='image')

source

Bases: MessageContentPart

An image content part of a message.

Parameters:

type (Literal['image'])

model_configโ€‹

model_config: ClassVar[ConfigDict] = {'frozen': True}

source

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

typeโ€‹

type: Literal['image']

source