MCPcopy Create free account
hub / github.com/MinishLab/vicinity / load

Method load

vicinity/backends/basic.py:69–72  ·  view source on GitHub ↗

Load the vectors from a path.

(cls, path: Path)

Source from the content-addressed store, hash-verified

67
68 @classmethod
69 def load(cls, path: Path) -> BasicVectorStore:
70 """Load the vectors from a path."""
71 vectors = cls._load_vectors(path)
72 return cls(vectors=vectors)
73
74 @property
75 def dim(self) -> int:

Callers

nothing calls this directly

Calls 1

_load_vectorsMethod · 0.80

Tested by

no test coverage detected