Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct StabilityThresholds {
pub stable_threshold: f64,
pub semi_stable_threshold: f64,
pub min_observations_for_full_confidence: u32,
}

Referenced types: f64, u32

Thresholds controlling prompt-block stability classification.

Fields

stable_threshold: f64

Minimum effective score required for a block to be classified as stable.

semi_stable_threshold: f64

Minimum effective score required for a block to be classified as semi-stable.

min_observations_for_full_confidence: u32

Observation count required to reach full confidence.

Trait Implementations

impl Clone for StabilityThresholds

impl Clone for StabilityThresholds

Referenced types: Clone, StabilityThresholds

clone

fn clone(&self) -> StabilityThresholds

Referenced types: clone, StabilityThresholds

clone_from

fn clone_from(&mut self, source: &Self)

Referenced types: clone_from

impl Debug for StabilityThresholds

impl Debug for StabilityThresholds

Referenced types: Debug, StabilityThresholds

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Referenced types: fmt, Formatter, Result

impl Default for StabilityThresholds

impl Default for StabilityThresholds

Referenced types: Default, StabilityThresholds

default

fn default() -> Self

Referenced types: default

impl<'de> Deserialize<'de> for StabilityThresholds

impl<'de> Deserialize<'de> for StabilityThresholds

Referenced types: Deserialize, StabilityThresholds

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,

Referenced types: deserialize, Result, Error, Deserializer

impl EditorConfig for StabilityThresholds

impl EditorConfig for StabilityThresholds

Referenced types: StabilityThresholds

editor_schema

fn editor_schema() -> &'static EditorSchema

impl PartialEq for StabilityThresholds

impl PartialEq for StabilityThresholds

Referenced types: PartialEq, StabilityThresholds

eq

fn eq(&self, other: &StabilityThresholds) -> bool

Referenced types: eq, StabilityThresholds, bool

ne

fn ne(&self, other: &Rhs) -> bool

Referenced types: ne, &Rhs, bool

impl Serialize for StabilityThresholds

impl Serialize for StabilityThresholds

Referenced types: Serialize, StabilityThresholds

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,

Referenced types: serialize, Result, Ok, Error, Serializer

impl StructuralPartialEq for StabilityThresholds

impl StructuralPartialEq for StabilityThresholds

Referenced types: StructuralPartialEq, StabilityThresholds