pub struct MemoryEngineConfig {
pub llm: LlmConfig,
pub embedding: EmbeddingConfig,
pub vector: VectorConfig,
pub history: HistoryConfig,
pub reranker: Option<RerankerConfig>,
pub graph: Option<GraphConfig>,
pub telemetry: Option<TelemetryConfig>,
pub decay: Option<DecayConfig>,
pub custom_fact_extraction_prompt: Option<String>,
pub custom_update_memory_prompt: Option<String>,
}Fields§
§llm: LlmConfig§embedding: EmbeddingConfig§vector: VectorConfig§history: HistoryConfig§reranker: Option<RerankerConfig>§graph: Option<GraphConfig>§telemetry: Option<TelemetryConfig>§decay: Option<DecayConfig>§custom_fact_extraction_prompt: Option<String>§custom_update_memory_prompt: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MemoryEngineConfig
impl Clone for MemoryEngineConfig
Source§fn clone(&self) -> MemoryEngineConfig
fn clone(&self) -> MemoryEngineConfig
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 MemoryEngineConfig
impl Debug for MemoryEngineConfig
Source§impl Default for MemoryEngineConfig
impl Default for MemoryEngineConfig
Source§fn default() -> MemoryEngineConfig
fn default() -> MemoryEngineConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryEngineConfig
impl<'de> Deserialize<'de> for MemoryEngineConfig
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 MemoryEngineConfig
impl RefUnwindSafe for MemoryEngineConfig
impl Send for MemoryEngineConfig
impl Sync for MemoryEngineConfig
impl Unpin for MemoryEngineConfig
impl UnsafeUnpin for MemoryEngineConfig
impl UnwindSafe for MemoryEngineConfig
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