pub struct MemoryConfig {Show 25 fields
pub sqlite_path: String,
pub history_limit: u32,
pub qdrant_url: String,
pub semantic: SemanticConfig,
pub summarization_threshold: usize,
pub context_budget_tokens: usize,
pub compaction_threshold: f32,
pub compaction_preserve_tail: usize,
pub auto_budget: bool,
pub prune_protect_tokens: usize,
pub cross_session_score_threshold: f32,
pub vector_backend: VectorBackend,
pub token_safety_margin: f32,
pub redact_credentials: bool,
pub autosave_assistant: bool,
pub autosave_min_length: usize,
pub tool_call_cutoff: usize,
pub sqlite_pool_size: u32,
pub sessions: SessionsConfig,
pub documents: DocumentConfig,
pub eviction: EvictionConfig,
pub compression: CompressionConfig,
pub routing: RoutingConfig,
pub graph: GraphConfig,
pub deferred_apply_threshold: f32,
}Fields§
§sqlite_path: String§history_limit: u32§qdrant_url: String§semantic: SemanticConfig§summarization_threshold: usize§context_budget_tokens: usize§compaction_threshold: f32§compaction_preserve_tail: usize§auto_budget: bool§prune_protect_tokens: usize§cross_session_score_threshold: f32§vector_backend: VectorBackend§token_safety_margin: f32§redact_credentials: bool§autosave_assistant: bool§autosave_min_length: usize§tool_call_cutoff: usize§sqlite_pool_size: u32§sessions: SessionsConfig§documents: DocumentConfig§eviction: EvictionConfig§compression: CompressionConfig§routing: RoutingConfig§graph: GraphConfig§deferred_apply_threshold: f32Trait Implementations§
Source§impl Debug for MemoryConfig
impl Debug for MemoryConfig
Source§impl<'de> Deserialize<'de> for MemoryConfig
impl<'de> Deserialize<'de> for MemoryConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MemoryConfig
impl RefUnwindSafe for MemoryConfig
impl Send for MemoryConfig
impl Sync for MemoryConfig
impl Unpin for MemoryConfig
impl UnsafeUnpin for MemoryConfig
impl UnwindSafe for MemoryConfig
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request