pgvector

package
v0.0.0-...-5bc5eca Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgvectorStore

type PgvectorStore struct {
	// contains filtered or unexported fields
}

PgvectorStore implements VectorStore using pgvector extension.

func (*PgvectorStore) DeleteByConversationGroupID

func (s *PgvectorStore) DeleteByConversationGroupID(ctx context.Context, conversationGroupID uuid.UUID) error

func (*PgvectorStore) IsEnabled

func (s *PgvectorStore) IsEnabled() bool

func (*PgvectorStore) Name

func (s *PgvectorStore) Name() string

func (*PgvectorStore) Search

func (s *PgvectorStore) Search(ctx context.Context, embedding []float32, conversationGroupIDs []uuid.UUID, limit int) ([]registryvector.VectorSearchResult, error)

func (*PgvectorStore) Upsert

func (s *PgvectorStore) Upsert(ctx context.Context, entries []registryvector.UpsertRequest) error

Jump to

Keyboard shortcuts

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