pub struct ChainObservation {
pub id: String,
pub steps: Vec<ChainEffectStep>,
pub score: f64,
pub dataset: Option<String>,
pub source: Option<String>,
pub evaluation_scope: Option<EvaluationScope>,
}Expand description
Host-supplied observation: one executed chain with a comparable score.
Fields§
§id: String§steps: Vec<ChainEffectStep>Ordered steps, first → last (repeats preserved).
score: f64§dataset: Option<String>Dataset the chain ran on — the unit of per-dataset normalization.
source: Option<String>Source / modality (multisource, multimodal).
evaluation_scope: Option<EvaluationScope>Evaluation scope provenance of score; mixing distinct scopes is refused.
Trait Implementations§
Source§impl Clone for ChainObservation
impl Clone for ChainObservation
Source§fn clone(&self) -> ChainObservation
fn clone(&self) -> ChainObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainObservation
impl Debug for ChainObservation
Source§impl<'de> Deserialize<'de> for ChainObservation
impl<'de> Deserialize<'de> for ChainObservation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChainObservation
impl PartialEq for ChainObservation
Source§impl Serialize for ChainObservation
impl Serialize for ChainObservation
impl StructuralPartialEq for ChainObservation
Auto Trait Implementations§
impl Freeze for ChainObservation
impl RefUnwindSafe for ChainObservation
impl Send for ChainObservation
impl Sync for ChainObservation
impl Unpin for ChainObservation
impl UnsafeUnpin for ChainObservation
impl UnwindSafe for ChainObservation
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