pub struct Reflexion {Show 13 fields
pub id: String,
pub domain: String,
pub session_id: String,
pub trigger: String,
pub context: String,
pub intervention: String,
pub reflexion_text: String,
pub error_type: Option<String>,
pub confidence: Option<f64>,
pub is_processed: bool,
pub leap_run_id: Option<String>,
pub created_at: String,
pub origin: Origin,
}Expand description
One learned note, tied to the intervention that produced it.
Fields§
§id: String§domain: Stringbehavior for now; writing once drafting exists.
session_id: String§trigger: StringWhat kind of intervention triggered it: steer, denial, followup.
context: StringWhat mecha was doing, compactly — the evidence a rule can be argued from.
intervention: StringWhat the user said or did.
reflexion_text: StringThe inferred lesson, phrased as a reusable directive.
error_type: Option<String>§confidence: Option<f64>§is_processed: boolSet once an abstraction pass has consumed it.
leap_run_id: Option<String>§created_at: String§origin: OriginProvenance of the session the lesson was drawn from. Reflections
recorded before this field existed load as Untrusted — see
Origin.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reflexion
impl<'de> Deserialize<'de> for Reflexion
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 Reflexion
impl RefUnwindSafe for Reflexion
impl Send for Reflexion
impl Sync for Reflexion
impl Unpin for Reflexion
impl UnsafeUnpin for Reflexion
impl UnwindSafe for Reflexion
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