pub enum RetrievalProfile {
AgentChatTurn,
AgentDelegatedJob,
NLCompilerSimilarRules,
NLCompilerSimilarFires,
AuditTimeline,
UserSearch,
}Expand description
Named retrieval profiles. Each profile sets a tuned set of hybrid weights (vector / FTS / recency) and kind filters appropriate to the caller path.
The in-crate crate::BasicMemoryProvider accepts the profile but does not
honor it (it always performs a single lexical match). A full storage backend
(e.g. the cel-memory-sqlite crate) implements per-profile hybrid-weight
tuning (vector / FTS / recency).
Variants§
AgentChatTurn
Embedded agent’s per-turn retrieval. Semantic-heavy, short recency half-life. The default for any call without a profile.
AgentDelegatedJob
Embedded agent’s delegated-job context. Heavier on long-term tier and job-summary chunks.
NLCompilerSimilarRules
NL rule compiler authoring a new rule — wants similar prior rules.
NLCompilerSimilarFires
NL rule compiler authoring a new rule — wants similar prior fires to a draft rule’s match.
AuditTimeline
Audit / Activity tab — wide window, keyword-dominant.
UserSearch
User free-text search in the Memory tab.
Trait Implementations§
Source§impl Clone for RetrievalProfile
impl Clone for RetrievalProfile
Source§fn clone(&self) -> RetrievalProfile
fn clone(&self) -> RetrievalProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RetrievalProfile
Source§impl Debug for RetrievalProfile
impl Debug for RetrievalProfile
Source§impl Default for RetrievalProfile
impl Default for RetrievalProfile
Source§fn default() -> RetrievalProfile
fn default() -> RetrievalProfile
Source§impl<'de> Deserialize<'de> for RetrievalProfile
impl<'de> Deserialize<'de> for RetrievalProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for RetrievalProfile
Source§impl Hash for RetrievalProfile
impl Hash for RetrievalProfile
Source§impl PartialEq for RetrievalProfile
impl PartialEq for RetrievalProfile
Source§fn eq(&self, other: &RetrievalProfile) -> bool
fn eq(&self, other: &RetrievalProfile) -> bool
self and other values to be equal, and is used by ==.