Versions in this module Expand all Collapse all v0 v0.2.0 Apr 17, 2026 Changes in this version + type PgvectorStore struct + func NewPgvector(ctx context.Context, dsn, table string, dims int) (*PgvectorStore, error) + func (s *PgvectorStore) Close() error + func (s *PgvectorStore) Delete(ctx context.Context, id string) error + func (s *PgvectorStore) Get(ctx context.Context, id string) (*memory.Memory, error) + func (s *PgvectorStore) GetByHash(ctx context.Context, contentHash string, filter *memory.SearchFilter) (*memory.Memory, error) + func (s *PgvectorStore) Insert(ctx context.Context, mem *memory.Memory) error + func (s *PgvectorStore) List(ctx context.Context, filter *memory.SearchFilter, limit, offset int) ([]*memory.Memory, int, error) + func (s *PgvectorStore) Search(ctx context.Context, vector []float32, k int, filter *memory.SearchFilter) ([]memory.SearchResult, error) + func (s *PgvectorStore) Stats(ctx context.Context, filter *memory.SearchFilter) (*memory.Stats, error) + func (s *PgvectorStore) Update(ctx context.Context, mem *memory.Memory) error