Documentation
¶
Index ¶
- type PgvectorStore
- func (s *PgvectorStore) DeleteByConversationGroupID(ctx context.Context, conversationGroupID uuid.UUID) error
- func (s *PgvectorStore) IsEnabled() bool
- func (s *PgvectorStore) Name() string
- func (s *PgvectorStore) Search(ctx context.Context, embedding []float32, conversationGroupIDs []uuid.UUID, ...) ([]registryvector.VectorSearchResult, error)
- func (s *PgvectorStore) Upsert(ctx context.Context, entries []registryvector.UpsertRequest) error
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 (*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
Click to show internal directories.
Click to hide internal directories.