Skip to main content

Crate tinyquant_pgvector

Crate tinyquant_pgvector 

Source
Expand description

pgvector-backed search backend for TinyQuant.

Provides PgvectorAdapter, an implementation of SearchBackend that stores and queries vectors in a PostgreSQL database with the pgvector extension installed.

§Integration tests

Tests that require a live PostgreSQL server are gated behind the test-containers feature flag. They are not run by the default cargo test invocation.

Structs§

PgvectorAdapter
A search backend that stores and queries vectors via pgvector.
SearchResult
A single item returned by SearchBackend::search.

Enums§

BackendError
Errors produced by the search-backend layer.

Traits§

SearchBackend
The public contract every search backend must satisfy.