pub struct SystemConfig {Show 23 fields
pub max_hot_context_size: usize,
pub max_warm_context_size: usize,
pub context_compression_threshold: usize,
pub session_timeout_minutes: u64,
pub storage_timeout_seconds: u64,
pub cache_capacity: usize,
pub enable_performance_monitoring: bool,
pub circuit_breaker_failure_threshold: u64,
pub circuit_breaker_timeout_seconds: u64,
pub data_directory: String,
pub enable_embeddings: bool,
pub embeddings_model_type: String,
pub vector_dimension: usize,
pub max_vectors_per_session: usize,
pub semantic_search_threshold: f32,
pub auto_vectorize_on_update: bool,
pub cross_session_search_enabled: bool,
pub storage_backend: StorageBackendType,
pub surrealdb_endpoint: Option<String>,
pub surrealdb_username: Option<String>,
pub surrealdb_password: Option<String>,
pub surrealdb_namespace: Option<String>,
pub surrealdb_database: Option<String>,
}Expand description
System configuration
Fields§
§max_hot_context_size: usizeMaximum number of entries in the hot context tier
max_warm_context_size: usizeMaximum number of entries in the warm context tier
context_compression_threshold: usizeThreshold at which context is compressed
session_timeout_minutes: u64Session inactivity timeout in minutes
storage_timeout_seconds: u64Storage operation timeout in seconds
cache_capacity: usizeMaximum number of entries in the session cache
enable_performance_monitoring: boolWhether to enable performance monitoring
circuit_breaker_failure_threshold: u64Number of failures before the circuit breaker opens
circuit_breaker_timeout_seconds: u64Seconds the circuit breaker stays open before allowing retries
data_directory: StringFilesystem path where persistent data is stored
enable_embeddings: boolWhether embedding/vectorization features are enabled
embeddings_model_type: StringName of the embedding model to use
vector_dimension: usizeDimensionality of embedding vectors
max_vectors_per_session: usizeMaximum number of vectors per session
semantic_search_threshold: f32Minimum similarity score for semantic search results
auto_vectorize_on_update: boolWhether to automatically vectorize content on updates
cross_session_search_enabled: boolWhether cross-session semantic search is enabled
storage_backend: StorageBackendTypeStorage backend type
surrealdb_endpoint: Option<String>SurrealDB connection endpoint
surrealdb_username: Option<String>SurrealDB authentication username
surrealdb_password: Option<String>SurrealDB authentication password
surrealdb_namespace: Option<String>SurrealDB namespace
surrealdb_database: Option<String>SurrealDB database name
Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl Default for SystemConfig
impl Default for SystemConfig
Source§fn default() -> SystemConfig
fn default() -> SystemConfig
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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
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>
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>
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>
T in a tonic::RequestSource§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>
T in a tonic::RequestSource§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>
T in a tonic::Request