pub struct ConflictRecencyConfig {
pub recency_slow_threshold: f32,
}Expand description
Recency fallback threshold for the conflict resolver (#3709).
TOML path: [memory.graph.conflict]
Fields§
§recency_slow_threshold: f32Minimum confidence_slow for the recency strategy to prefer an edge. Default: 0.2.
When two cardinality-1 heads conflict and recency is the resolution strategy,
only edges with confidence_slow >= recency_slow_threshold are preferred by recency;
edges below the threshold fall back to valid_from comparison. Range: [0.0, 1.0].
Trait Implementations§
Source§impl Clone for ConflictRecencyConfig
impl Clone for ConflictRecencyConfig
Source§fn clone(&self) -> ConflictRecencyConfig
fn clone(&self) -> ConflictRecencyConfig
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 ConflictRecencyConfig
impl Debug for ConflictRecencyConfig
Source§impl Default for ConflictRecencyConfig
impl Default for ConflictRecencyConfig
Source§impl<'de> Deserialize<'de> for ConflictRecencyConfigwhere
ConflictRecencyConfig: Default,
impl<'de> Deserialize<'de> for ConflictRecencyConfigwhere
ConflictRecencyConfig: Default,
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 JsonSchema for ConflictRecencyConfig
impl JsonSchema for ConflictRecencyConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ConflictRecencyConfig
impl RefUnwindSafe for ConflictRecencyConfig
impl Send for ConflictRecencyConfig
impl Sync for ConflictRecencyConfig
impl Unpin for ConflictRecencyConfig
impl UnsafeUnpin for ConflictRecencyConfig
impl UnwindSafe for ConflictRecencyConfig
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