Documentation
¶
Overview ¶
Package memory defines orb's durable memory SDK seam. It is a orb-original addition with no upstream mirror and is importable standalone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemanticSearcher ¶
SemanticSearcher returns highest-scoring items first and honors positive limit values.
type Store ¶
type Store interface {
Append(context.Context, Item) (string, error)
Get(context.Context, string) (Item, error)
Query(context.Context, Filter) ([]Item, error)
Delete(context.Context, string) error
}
Store is a tenant-scoped durable memory backend. Implementations must accept concurrent calls. Query returns newest items first, treats Tags as an AND filter, matches Contains case-insensitively, and honors positive Limit values.
Click to show internal directories.
Click to hide internal directories.