Documentation
¶
Index ¶
- type Option
- type Store
- func (s *Store) Add(ctx context.Context, chunks []core.Chunk, embeddings [][]float32) error
- func (s *Store) Close() error
- func (s *Store) Delete(ctx context.Context, ids []string) error
- func (s *Store) Search(ctx context.Context, query []float32, opts vectorstore.SearchOptions) ([]core.Result, error)
- func (s *Store) SearchByMetadata(ctx context.Context, metadata map[string]string) ([]core.Chunk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Store)
func WithDimension ¶
func WithEnvironment ¶
func WithNamespace ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.