VectorStoreModule
Defined in: vector-store.module.ts:67
Provides the VectorStore implementation under
VECTOR_STORE_TOKEN. pgvector is the only backend: vectors live in
the runtime-managed embedding_vec column on memories, so the vector
index needs no service beyond Postgres itself.
The store infers embedding dimensionality from the first upserted vector;
VECTOR_DIMENSIONS acts as an optional strict pin. HNSW tuning via
PGVECTOR_HNSW_M / PGVECTOR_HNSW_EF_CONSTRUCTION / PGVECTOR_HNSW_EF_SEARCH.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new VectorStoreModule():
VectorStoreModule
Returns
Section titled “Returns”VectorStoreModule