pub struct ExperimentResult {
pub item_id: String,
pub output: Value,
pub scores: Vec<(String, f64)>,
pub dataset_run_url: String,
}Expand description
Result of running an experiment task on a single dataset item.
Fields§
§item_id: StringID of the dataset item that was processed.
output: ValueOutput value produced by the task function.
scores: Vec<(String, f64)>List of (metric_name, score) pairs from evaluators.
dataset_run_url: StringURL to the dataset run in the Langfuse UI.
Implementations§
Trait Implementations§
Source§impl Clone for ExperimentResult
impl Clone for ExperimentResult
Source§fn clone(&self) -> ExperimentResult
fn clone(&self) -> ExperimentResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ExperimentResult
impl Debug for ExperimentResult
Auto Trait Implementations§
impl Freeze for ExperimentResult
impl RefUnwindSafe for ExperimentResult
impl Send for ExperimentResult
impl Sync for ExperimentResult
impl Unpin for ExperimentResult
impl UnsafeUnpin for ExperimentResult
impl UnwindSafe for ExperimentResult
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.