GuardrailConverseImageBlock¶
Structure Class¶
GuardrailConverseImageBlock
dataclass
¶
An image block that contains images that you want to assess with a guardrail.
Attributes¶
format
instance-attribute
¶
format: GuardrailConverseImageFormat
The format details for the image type of the guardrail converse image block.
source
class-attribute
instance-attribute
¶
source: GuardrailConverseImageSource = field(repr=False)
The image source (image bytes) of the guardrail converse image block.