docarray.array.storage.annlite.backend module#

class docarray.array.storage.annlite.backend.AnnliteConfig(n_dim, metric='cosine', serialize_config=<factory>, data_path=None, ef_construction=None, ef_search=None, max_connection=None, columns=None)[source]#

Bases: object

n_dim: int#
metric: str = 'cosine'#
serialize_config: Dict#
data_path: Optional[str] = None#
ef_construction: Optional[int] = None#
max_connection: Optional[int] = None#
columns: Optional[List[Tuple[str, str]]] = None#
class docarray.array.storage.annlite.backend.BackendMixin[source]#

Bases: docarray.array.storage.base.backend.BaseBackendMixin

Provide necessary functions to enable this storage backend.

TYPE_MAP: Dict = {'float': 'float', 'int': 'integer', 'str': 'TEXT'}#