Documentation
¶
Overview ¶
Package pgvector implements store.Store on PostgreSQL with the pgvector extension: tsvector full-text search for keyword retrieval, a pgvector (HNSW) index for dense retrieval, and Reciprocal Rank Fusion in Go. It is the second storage provider, alongside sqlite.
The driver is pgx (pure Go): CGO_ENABLED=0 still holds and the binary stays static. Embeddings bind and scan through pgvector-go's Vector type, which implements driver.Valuer and sql.Scanner.
Click to show internal directories.
Click to hide internal directories.