Documentation
¶
Overview ¶
Package ingest implements dual-stream memory ingestion. Based on MAGMA (arxiv:2601.03236) and GAM (arxiv:2604.12285).
Yaad is a memory layer — it does NOT call LLM APIs directly. The coding agent (Hawk, Claude Code, Cursor, etc.) handles the LLM. Yaad stores, retrieves, and organizes memories.
Fast path (sync): non-blocking — store node + temporal edge, return immediately. Slow path (async): background goroutine — heuristic causal inference, entity linking.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DualStream ¶
type DualStream struct {
// contains filtered or unexported fields
}
DualStream manages fast + slow path ingestion.
func (*DualStream) Remember ¶
func (ds *DualStream) Remember(in engine.RememberInput) (*storage.Node, error)
Remember is the fast path: stores node + temporal edge synchronously, then enqueues slow-path work (heuristic causal inference) asynchronously.
func (*DualStream) Stop ¶
func (ds *DualStream) Stop()
Stop gracefully shuts down the slow-path worker.