pub struct ProcessTurnConfig {
pub store_limit: usize,
pub extraction_timeout: Duration,
pub distill_timeout: Duration,
pub self_judge_window: usize,
pub min_assistant_chars: usize,
}Expand description
Configuration for the process_turn extraction pipeline.
Groups timeout and limit parameters that rarely change between turns.
Fields§
§store_limit: usizeMaximum rows to retain in the reasoning_strategies table.
extraction_timeout: DurationTimeout for the self-judge LLM call.
distill_timeout: DurationTimeout for the distillation LLM call.
self_judge_window: usizeMaximum number of recent messages sliced from the turn history before passing
to the self-judge evaluator. Narrowing the window prevents digest/recap messages
from prior sessions from confusing the classifier. Default: 2.
min_assistant_chars: usizeMinimum character count in the last assistant message to trigger self-judge.
Short or trivial responses (greetings, one-word answers) are skipped. Default: 50.
Trait Implementations§
Source§impl Clone for ProcessTurnConfig
impl Clone for ProcessTurnConfig
Source§fn clone(&self) -> ProcessTurnConfig
fn clone(&self) -> ProcessTurnConfig
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 ProcessTurnConfig
impl Debug for ProcessTurnConfig
impl Copy for ProcessTurnConfig
Auto Trait Implementations§
impl Freeze for ProcessTurnConfig
impl RefUnwindSafe for ProcessTurnConfig
impl Send for ProcessTurnConfig
impl Sync for ProcessTurnConfig
impl Unpin for ProcessTurnConfig
impl UnsafeUnpin for ProcessTurnConfig
impl UnwindSafe for ProcessTurnConfig
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request