Versions in this module Expand all Collapse all v0 v0.1.0 Jun 1, 2026 Changes in this version + const DefaultExtractionTopK + const DefaultPromptVersion + func PromptVersions() []string + type Fact = types.Fact + type Memory interface + Add func(ctx context.Context, msgs []Message, scope Scope) ([]Fact, error) + Close func() error + Delete func(ctx context.Context, id string) error + Get func(ctx context.Context, id string) (Fact, error) + Search func(ctx context.Context, query string, scope Scope, k int) ([]Fact, error) + func New(opts ...Option) (Memory, error) + type Message = types.Message + type Option func(*memory) + func WithEmbedder(e provider.Embedder) Option + func WithExtractionTopK(n int) Option + func WithLLM(l provider.LLM) Option + func WithPromptVersion(v string) Option + func WithStore(s store.Store) Option + type Scope = types.Scope