pub struct BackendOverrides {
pub vector_db_config: Option<BackendConfig>,
pub graph_db_config: Option<BackendConfig>,
}Expand description
Per-call backend configuration overrides.
Mirrors Python’s vector_db_config / graph_db_config parameters on
add(), cognify(), and memify(). When present, the pipeline should
use the specified backend configuration instead of the default.
For now the configuration is stored as a flat provider name + params map. Actual backend instantiation from these configs is left to the caller or a future factory function.
Fields§
§vector_db_config: Option<BackendConfig>Optional per-call vector DB configuration.
graph_db_config: Option<BackendConfig>Optional per-call graph DB configuration.
Trait Implementations§
Source§impl Clone for BackendOverrides
impl Clone for BackendOverrides
Source§fn clone(&self) -> BackendOverrides
fn clone(&self) -> BackendOverrides
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackendOverrides
impl Debug for BackendOverrides
Source§impl Default for BackendOverrides
impl Default for BackendOverrides
Source§fn default() -> BackendOverrides
fn default() -> BackendOverrides
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackendOverrides
impl<'de> Deserialize<'de> for BackendOverrides
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 BackendOverrides
impl RefUnwindSafe for BackendOverrides
impl Send for BackendOverrides
impl Sync for BackendOverrides
impl Unpin for BackendOverrides
impl UnsafeUnpin for BackendOverrides
impl UnwindSafe for BackendOverrides
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