pub struct ReflectionResult {
pub session_id: String,
pub reflection_thought_id: String,
pub original_thought_id: Option<String>,
pub analysis: String,
pub strengths: Vec<String>,
pub weaknesses: Vec<String>,
pub recommendations: Vec<String>,
pub quality_score: f64,
pub improved_thought: Option<ImprovedThought>,
pub iterations_performed: usize,
pub quality_improved: bool,
pub branch_id: Option<String>,
}Expand description
Result of reflection reasoning.
Fields§
§session_id: StringThe session ID.
reflection_thought_id: StringThe ID of the reflection thought that was created.
original_thought_id: Option<String>The ID of the original thought that was reflected upon, if any.
analysis: StringThe meta-cognitive analysis of the thought.
strengths: Vec<String>Identified strengths in the reasoning.
weaknesses: Vec<String>Identified weaknesses in the reasoning.
recommendations: Vec<String>Recommendations for improvement.
quality_score: f64Quality score of the thought (0.0-1.0).
improved_thought: Option<ImprovedThought>Optional improved version of the thought.
iterations_performed: usizeNumber of reflection iterations performed.
quality_improved: boolWhether quality improved from the original.
branch_id: Option<String>Optional branch ID for tree mode integration.
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 · 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 ReflectionResult
impl Debug for ReflectionResult
Source§impl<'de> Deserialize<'de> for ReflectionResult
impl<'de> Deserialize<'de> for ReflectionResult
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
Auto Trait Implementations§
impl Freeze for ReflectionResult
impl RefUnwindSafe for ReflectionResult
impl Send for ReflectionResult
impl Sync for ReflectionResult
impl Unpin 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
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