Skip to main content

Module query

Module query 

Source
Expand description

Query, profile, scope, and predicate types.

MemoryQuery is the input to crate::MemoryProvider::retrieve. RetrievalProfile selects a tuned set of hybrid weights and kind filters per caller path; CallerScope enforces multi-agent isolation. MemoryPredicate describes the criteria for crate::MemoryProvider::delete_matching.

Structs§

MemoryPredicate
Criteria for crate::MemoryProvider::delete_matching (and reused as the filter inside crate::ExportFilter).
MemoryQuery
A retrieval query — the input to crate::MemoryProvider::retrieve.

Enums§

CallerScope
Multi-agent visibility scope for a query.
RetrievalProfile
Named retrieval profiles. Each profile sets a tuned set of hybrid weights (vector / FTS / recency) and kind filters appropriate to the caller path.