Documentation
¶
Index ¶
- type Store
- func (s *Store) Add(ctx context.Context, req *memory.AddRequest) (*memory.Memory, error)
- func (s *Store) BatchAdd(ctx context.Context, reqs []*memory.AddRequest) ([]*memory.Memory, error)
- func (s *Store) ClearAgentMemory(ctx context.Context, agentID string) error
- func (s *Store) Close() error
- func (s *Store) Delete(ctx context.Context, id string) error
- func (s *Store) Get(ctx context.Context, id string) (*memory.Memory, error)
- func (s *Store) Health() error
- func (s *Store) Initialize(ctx context.Context, config *memory.BackendConfig) error
- func (s *Store) ListByAgent(ctx context.Context, agentID string, opts *memory.ListOptions) ([]*memory.Memory, error)
- func (s *Store) Search(ctx context.Context, query string, opts *memory.SearchOptions) ([]*memory.Memory, error)
- func (s *Store) SearchSimilar(ctx context.Context, embedding []float64, opts *memory.SearchOptions) ([]*memory.Memory, error)
- func (s *Store) Update(ctx context.Context, id string, req *memory.UpdateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the SQLite + sqlite-vec memory backend.
func (*Store) ClearAgentMemory ¶
func (*Store) Initialize ¶
func (*Store) ListByAgent ¶
func (*Store) SearchSimilar ¶
Click to show internal directories.
Click to hide internal directories.