Skip to main content

lance

superduper.vector_search.lance

Source code

LanceVectorSearcher​

LanceVectorSearcher(self,
identifier: str,
dimensions: int,
h: Optional[numpy.ndarray] = None,
index: Optional[List[str]] = None,
measure: Optional[str] = None)
ParameterDescription
identifierUnique string identifier of index
dimensionsDimension of the vector embeddings in the Lance dataset
hSeed vectors numpy.ndarray
indexlist of IDs
measuremeasure to assess similarity

Implementation of a vector index using the lance library.