pub struct EngineConfig {Show 14 fields
pub node_id: String,
pub default_tenant: String,
pub max_batch_size: usize,
pub retention: RetentionPolicy,
pub compaction: CompactionPolicy,
pub ingestion: IngestionPolicy,
pub recall_scorer_kind: RecallScorerKind,
pub recall_scoring_profile: RecallScoringProfile,
pub recall_planning_profile: RecallPlanningProfile,
pub recall_policy_profile: RecallPolicyProfile,
pub embedding_provider_kind: EmbeddingProviderKind,
pub embedding_dimensions: usize,
pub graph_expansion_max_hops: u8,
pub explain_recall: bool,
}Fields§
§node_id: String§default_tenant: String§max_batch_size: usize§retention: RetentionPolicy§compaction: CompactionPolicy§ingestion: IngestionPolicy§recall_scorer_kind: RecallScorerKind§recall_scoring_profile: RecallScoringProfile§recall_planning_profile: RecallPlanningProfile§recall_policy_profile: RecallPolicyProfile§embedding_provider_kind: EmbeddingProviderKind§embedding_dimensions: usize§graph_expansion_max_hops: u8§explain_recall: boolImplementations§
Source§impl EngineConfig
impl EngineConfig
pub fn tuning_info(&self) -> EngineTuningInfo
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
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 EngineConfig
impl Debug for EngineConfig
Source§impl Default for EngineConfig
impl Default for EngineConfig
Source§impl<'de> Deserialize<'de> for EngineConfig
impl<'de> Deserialize<'de> for EngineConfig
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
Source§impl PartialEq for EngineConfig
impl PartialEq for EngineConfig
Source§fn eq(&self, other: &EngineConfig) -> bool
fn eq(&self, other: &EngineConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EngineConfig
impl Serialize for EngineConfig
impl Eq for EngineConfig
impl StructuralPartialEq for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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