docarray.document.mixins.multimodal module#

class docarray.document.mixins.multimodal.MultiModalMixin[source]#

Bases: object

property is_multimodal: bool#

Return true if this Document can be represented by a class wrapped by docarray.dataclasses.types.dataclass().

Return type:

bool

get_multi_modal_attribute(attribute)[source]#
Return type:

DocumentArray

set_multi_modal_attribute(attribute, value)[source]#