docarray.dataclasses.enums module#

class docarray.dataclasses.enums.DocumentMetadata(value)[source]#

Bases: str, Enum

An enumeration.

MULTI_MODAL_SCHEMA = 'multi_modal_schema'#
IMAGE_TYPE = 'image_type'#
IMAGE_URI = 'image_uri'#
AUDIO_TYPE = 'audio_type'#
VIDEO_TYPE = 'video_type'#
MESH_TYPE = 'mesh_type'#
JSON_TYPE = 'json_type'#
BLOB_TYPE = 'blob_type'#
class docarray.dataclasses.enums.AttributeType(value)[source]#

Bases: str, Enum

An enumeration.

DOCUMENT = 'document'#
PRIMITIVE = 'primitive'#
ITERABLE_PRIMITIVE = 'iterable_primitive'#
ITERABLE_DOCUMENT = 'iterable_document'#
NESTED = 'nested'#
ITERABLE_NESTED = 'iterable_nested'#
class docarray.dataclasses.enums.ImageType(value)[source]#

Bases: str, Enum

An enumeration.

PIL = 'PIL'#
URI = 'uri'#
NDARRAY = 'ndarray'#