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 LlmCallPrediction {
pub remaining_calls: PredictionMetrics,
pub interarrival_ms: PredictionMetrics,
pub output_tokens: PredictionMetrics,
pub latency_sensitivity: Option<u32>,
}

Referenced types: PredictionMetrics, Option, u32

Predictions for an LLM call at a given position in the call hierarchy.

Fields

remaining_calls: PredictionMetrics

How many more LLM calls are expected after this one.

interarrival_ms: PredictionMetrics

Expected time in milliseconds until the next LLM call.

output_tokens: PredictionMetrics

Expected output token count for this call.

latency_sensitivity: Option<u32>

Auto-computed latency sensitivity score from profiler analysis. None means no profiling data available - fall back to default.

Trait Implementations

impl Clone for LlmCallPrediction

impl Clone for LlmCallPrediction

Referenced types: Clone, LlmCallPrediction

clone

fn clone(&self) -> LlmCallPrediction

Referenced types: clone, LlmCallPrediction

clone_from

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

Referenced types: clone_from

impl Debug for LlmCallPrediction

impl Debug for LlmCallPrediction

Referenced types: Debug, LlmCallPrediction

fmt

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

Referenced types: fmt, Formatter, Result

impl Default for LlmCallPrediction

impl Default for LlmCallPrediction

Referenced types: Default, LlmCallPrediction

default

fn default() -> LlmCallPrediction

Referenced types: default, LlmCallPrediction

impl<'de> Deserialize<'de> for LlmCallPrediction

impl<'de> Deserialize<'de> for LlmCallPrediction

Referenced types: Deserialize, LlmCallPrediction

deserialize

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

Referenced types: deserialize, Result, Error, Deserializer

impl PartialEq for LlmCallPrediction

impl PartialEq for LlmCallPrediction

Referenced types: PartialEq, LlmCallPrediction

eq

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

Referenced types: eq, LlmCallPrediction, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for LlmCallPrediction

impl Serialize for LlmCallPrediction

Referenced types: Serialize, LlmCallPrediction

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 LlmCallPrediction

impl StructuralPartialEq for LlmCallPrediction

Referenced types: StructuralPartialEq, LlmCallPrediction