pub struct ReflectionResult {
pub id: usize,
pub output: String,
pub critique: String,
pub score: f64,
pub suggestion: Option<String>,
}Expand description
A reflection entry.
Fields§
§id: usize§output: StringThe original output being evaluated.
critique: StringThe critique / self-evaluation text.
score: f64Quality score [0.0, 1.0].
suggestion: Option<String>Suggested improvement.
Implementations§
Trait Implementations§
Source§impl Clone for ReflectionResult
impl Clone for ReflectionResult
Source§fn clone(&self) -> ReflectionResult
fn clone(&self) -> ReflectionResult
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 moreAuto Trait Implementations§
impl Freeze for ReflectionResult
impl RefUnwindSafe for ReflectionResult
impl Send for ReflectionResult
impl Sync for ReflectionResult
impl Unpin for ReflectionResult
impl UnsafeUnpin for ReflectionResult
impl UnwindSafe for ReflectionResult
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