pub struct ContextManagerConfig {
pub max_contexts_in_memory: usize,
pub default_retention_policy: RetentionPolicy,
pub enable_auto_archiving: bool,
pub archiving_interval: Duration,
pub max_memory_items_per_agent: usize,
pub max_knowledge_items_per_agent: usize,
pub qdrant_config: QdrantConfig,
pub enable_vector_db: bool,
pub persistence_config: FilePersistenceConfig,
pub enable_persistence: bool,
pub secrets_config: SecretsConfig,
}Expand description
Configuration for the Context Manager
Fields§
§max_contexts_in_memory: usizeMaximum number of contexts to keep in memory
default_retention_policy: RetentionPolicyDefault retention policy for new contexts
enable_auto_archiving: boolEnable automatic archiving
archiving_interval: DurationArchiving check interval
max_memory_items_per_agent: usizeMaximum memory items per agent
max_knowledge_items_per_agent: usizeMaximum knowledge items per agent
qdrant_config: QdrantConfigQdrant vector database configuration
enable_vector_db: boolEnable vector database integration
persistence_config: FilePersistenceConfigFile persistence configuration
enable_persistence: boolEnable persistent storage
secrets_config: SecretsConfigSecrets configuration for secure secret management
Trait Implementations§
Source§impl Clone for ContextManagerConfig
impl Clone for ContextManagerConfig
Source§fn clone(&self) -> ContextManagerConfig
fn clone(&self) -> ContextManagerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextManagerConfig
impl Debug for ContextManagerConfig
Auto Trait Implementations§
impl Freeze for ContextManagerConfig
impl RefUnwindSafe for ContextManagerConfig
impl Send for ContextManagerConfig
impl Sync for ContextManagerConfig
impl Unpin for ContextManagerConfig
impl UnwindSafe for ContextManagerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more