v2#

Classes

v2.async_vectorstore.AsyncPGVectorStore(key, ...)

Postgres Vector Store class

v2.engine.Column(name, data_type[, nullable])

v2.engine.ColumnDict

v2.engine.PGEngine(key, pool, loop, thread)

A class for managing connections to a Postgres database.

v2.indexes.BaseIndex(name, index_type, ...)

Abstract base class for defining vector indexes.

v2.indexes.DistanceStrategy(value)

Enumerator of the Distance strategies.

v2.indexes.ExactNearestNeighbor(name, ...)

v2.indexes.HNSWIndex(name, index_type, ...)

v2.indexes.HNSWQueryOptions([ef_search])

v2.indexes.IVFFlatIndex(name, index_type, ...)

v2.indexes.IVFFlatQueryOptions([probes])

v2.indexes.QueryOptions()

v2.indexes.StrategyMixin(operator, ...)

v2.vectorstores.PGVectorStore(key, engine, vs)

Postgres Vector Store class

Functions