pub struct PersonaExtractionConfig {
pub enabled: bool,
pub persona_provider: String,
pub min_messages: usize,
pub max_messages: usize,
pub extraction_timeout_secs: u64,
}Expand description
Configuration for persona extraction.
Fields§
§enabled: bool§persona_provider: StringProvider name from [[llm.providers]] for extraction. Falls back to default when empty.
min_messages: usizeMinimum user messages in a session before extraction runs.
max_messages: usizeMaximum user messages sent to LLM per extraction pass.
extraction_timeout_secs: u64LLM timeout for the extraction call.
Auto Trait Implementations§
impl Freeze for PersonaExtractionConfig
impl RefUnwindSafe for PersonaExtractionConfig
impl Send for PersonaExtractionConfig
impl Sync for PersonaExtractionConfig
impl Unpin for PersonaExtractionConfig
impl UnsafeUnpin for PersonaExtractionConfig
impl UnwindSafe for PersonaExtractionConfig
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> 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