pub struct ActualRunObservation {Show 15 fields
pub request_id: String,
pub duration_us: u64,
pub sampling_params: SamplingParams,
pub prompt_token_ids: Option<Vec<u32>>,
pub prompt_token_count: Option<usize>,
pub output_tokens: usize,
pub output_token_ids: Vec<u32>,
pub chunk_count: usize,
pub finish_reason: Option<String>,
pub prompt_chars: usize,
pub response_chars: usize,
pub response_text: String,
pub execution_evidence: Option<InferenceExecutionEvidence>,
pub memory: Option<ProcessMemoryObservation>,
pub memory_stages: Vec<ActualMemoryStageObservation>,
}Fields§
§request_id: String§duration_us: u64§sampling_params: SamplingParams§prompt_token_ids: Option<Vec<u32>>§prompt_token_count: Option<usize>§output_tokens: usize§output_token_ids: Vec<u32>§chunk_count: usize§finish_reason: Option<String>§prompt_chars: usize§response_chars: usize§response_text: String§execution_evidence: Option<InferenceExecutionEvidence>§memory: Option<ProcessMemoryObservation>§memory_stages: Vec<ActualMemoryStageObservation>Auto Trait Implementations§
impl Freeze for ActualRunObservation
impl RefUnwindSafe for ActualRunObservation
impl Send for ActualRunObservation
impl Sync for ActualRunObservation
impl Unpin for ActualRunObservation
impl UnsafeUnpin for ActualRunObservation
impl UnwindSafe for ActualRunObservation
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more