pub struct InferenceEvent {
pub turn: u32,
pub input_tokens: u64,
pub output_tokens: u64,
pub decision: String,
pub tool_name: Option<String>,
pub prompt: Option<String>,
pub output: Option<String>,
pub tools: Option<String>,
}Fields§
§turn: u32§input_tokens: u64§output_tokens: u64§decision: String§tool_name: Option<String>§prompt: Option<String>§output: Option<String>§tools: Option<String>Trait Implementations§
Source§impl Clone for InferenceEvent
impl Clone for InferenceEvent
impl ComponentType for InferenceEvent
Source§impl Debug for InferenceEvent
impl Debug for InferenceEvent
impl Lift for InferenceEvent
impl Lower for InferenceEvent
Auto Trait Implementations§
impl Freeze for InferenceEvent
impl RefUnwindSafe for InferenceEvent
impl Send for InferenceEvent
impl Sync for InferenceEvent
impl Unpin for InferenceEvent
impl UnsafeUnpin for InferenceEvent
impl UnwindSafe for InferenceEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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