Versions in this module Expand all Collapse all v1 v1.1.0 Oct 12, 2026 v1.0.0 Sep 19, 2026 Changes in this version + const RoleOrg + const RoleUser + type Actor struct + Agent string + Principal string + Role string + type CompactResponse struct + Hint string + Results []compactResult + func ToCompact(resp search.RecallResponse) CompactResponse + type EmbedInput struct + All bool + ID string + Status bool + type ForgetInput struct + ID string + type GCInput struct + KeepID string + Limit int + Threshold float64 + type ImportInput struct + Draft []byte + DryRun bool + NoDiff bool + type ImportResult struct + Action string + Content string + Error string + ID string + Index int + type LinkInput struct + MetaJSON string + SourceID string + TargetID string + Type string + Weight float64 + type LogInput struct + Limit int + type Options struct + EmbedModel string + EnforceACL bool + MaxInsights int + StoreName string + type RecallInput struct + Basic bool + Category string + Intent string + Limit int + Query string + Source string + Verbose bool + type ReceiptDocument struct + Count int + Events []map[string]any + GeneratedAt string + Limit int + Privacy map[string]any + Schema string + Store string + func BuildReceipt(storeName string, limit int, entries []store.OplogEntry, generatedAt time.Time) ReceiptDocument + type ReceiptInput struct + Limit int + type RelatedInput struct + Depth int + EdgeType string + ID string + type RelatedResult struct + Category string + Content string + Depth int + EdgeType string + ID string + Importance int + Layer string + OwnerPrincipal string + type RememberInput struct + Category string + Content string + Entities string + EntityMode string + Importance int + NoDiff bool + Source string + Tags string + type Result struct + JSON []byte + Text string + Warnings []string + type SearchInput struct + Limit int + Query string + type Service struct + func New(db *store.DB, opts Options) *Service + func (s *Service) DB() *store.DB + func (s *Service) Embed(actor Actor, req EmbedInput) (Result, error) + func (s *Service) Forget(actor Actor, req ForgetInput) (Result, error) + func (s *Service) GC(actor Actor, req GCInput) (Result, error) + func (s *Service) Import(actor Actor, req ImportInput) (Result, error) + func (s *Service) Link(actor Actor, req LinkInput) (Result, error) + func (s *Service) Log(actor Actor, req LogInput) (Result, error) + func (s *Service) Recall(actor Actor, req RecallInput) (Result, error) + func (s *Service) Receipt(actor Actor, req ReceiptInput) (Result, error) + func (s *Service) Related(actor Actor, req RelatedInput) (Result, error) + func (s *Service) Remember(actor Actor, req RememberInput) (Result, error) + func (s *Service) Search(actor Actor, req SearchInput) (Result, error) + func (s *Service) Status(actor Actor) (Result, error) + func (s *Service) Viz(actor Actor, req VizInput) (Result, error) + type VizInput struct + Format string