ai.vector
ai.vector
LanceDB-backed embedded vector indexes.
Classes
| Name | Description |
|---|---|
| VectorIndex | A persistent LanceDB vector index with point-in-time filtering. |
VectorIndex
ai.vector.VectorIndex(name, *, path, embedding)A persistent LanceDB vector index with point-in-time filtering.
Functions
| Name | Description |
|---|---|
| attach_to_duckdb | Install/load DuckDB’s Lance extension and attach a LanceDB directory. |
| open | Open a persistent vector index. |
attach_to_duckdb
ai.vector.attach_to_duckdb(connection, path, *, alias='qrt_vectors')Install/load DuckDB’s Lance extension and attach a LanceDB directory.
open
ai.vector.open(name, *, path='.qrt/ai/vectors', embedding, backend='lancedb')Open a persistent vector index.