pgvector

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL