docarray.array.document module#

class docarray.array.document.DocumentArray(_docs: Optional[DocumentArraySourceType] = None, copy: bool = False)[source]#
class docarray.array.document.DocumentArray(_docs: Optional[DocumentArraySourceType] = None, storage: str = 'sqlite', config: Optional[Union[SqliteConfig, Dict]] = None)
class docarray.array.document.DocumentArray(_docs: Optional[DocumentArraySourceType] = None, storage: str = 'weaviate', config: Optional[Union[WeaviateConfig, Dict]] = None)
class docarray.array.document.DocumentArray(_docs: Optional[DocumentArraySourceType] = None, storage: str = 'annlite', config: Optional[Union[AnnliteConfig, Dict]] = None)
class docarray.array.document.DocumentArray(_docs: Optional[DocumentArraySourceType] = None, storage: str = 'elasticsearch', config: Optional[Union[ElasticConfig, Dict]] = None)

Bases: docarray.array.mixins.AllMixins, docarray.array.base.BaseDocumentArray