pub struct ReflectInput {
pub turn_id: Option<Ulid>,
pub turn_summary: String,
pub recent_fact_ids: Vec<Ulid>,
pub recent_chunk_ids: Vec<Ulid>,
}Expand description
Input snapshot the reflection LLM sees. Caller assembles this from the just-finished turn’s ingest + recall state. The fields are intentionally minimal — wider context (full chunk text, full recall hits) belongs in the prompt the reflection wrapper builds.
Fields§
§turn_id: Option<Ulid>ULID identifying the turn. Used for telemetry only — reflect does NOT key any storage by this; reflections are advisory.
turn_summary: StringShort summary of what the agent did this turn (the agent or the ingest pipeline produces this).
recent_fact_ids: Vec<Ulid>Recent fact ulids the turn surfaced. The reflect LLM may nominate any of these for invalidation if the turn-end state contradicts them.
recent_chunk_ids: Vec<Ulid>Recent chunk ulids that proved load-bearing for retrieval. The reflect LLM may nominate any of these for boost.
Trait Implementations§
Source§impl Clone for ReflectInput
impl Clone for ReflectInput
Source§fn clone(&self) -> ReflectInput
fn clone(&self) -> ReflectInput
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 ReflectInput
impl Debug for ReflectInput
Source§impl Default for ReflectInput
impl Default for ReflectInput
Source§fn default() -> ReflectInput
fn default() -> ReflectInput
Returns the “default value” for a type. Read more
Source§impl Serialize for ReflectInput
impl Serialize for ReflectInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ReflectInput
impl RefUnwindSafe for ReflectInput
impl Send for ReflectInput
impl Sync for ReflectInput
impl Unpin for ReflectInput
impl UnsafeUnpin for ReflectInput
impl UnwindSafe for ReflectInput
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