pub struct SummaryGenerator;Expand description
Main summary generator that uses existing structured data All methods are associated functions (no state needed)
Implementations§
Source§impl SummaryGenerator
impl SummaryGenerator
Sourcepub fn generate_structured_summary(
session: &ActiveSession,
) -> StructuredSummaryView
pub fn generate_structured_summary( session: &ActiveSession, ) -> StructuredSummaryView
Generate structured summary from existing ActiveSession data
Sourcepub fn generate_structured_summary_filtered(
session: &ActiveSession,
options: &SummaryOptions,
) -> StructuredSummaryView
pub fn generate_structured_summary_filtered( session: &ActiveSession, options: &SummaryOptions, ) -> StructuredSummaryView
Generate filtered/limited structured summary
Sourcepub fn calculate_session_stats(session: &ActiveSession) -> SessionStats
pub fn calculate_session_stats(session: &ActiveSession) -> SessionStats
Calculate session statistics from existing data This is a lightweight operation that doesn’t require full summary generation
Sourcepub fn estimate_summary_size(
session: &ActiveSession,
max_tokens: usize,
) -> (usize, bool)
pub fn estimate_summary_size( session: &ActiveSession, max_tokens: usize, ) -> (usize, bool)
Estimate summary size in tokens without full generation Returns (estimated_tokens, should_use_compact)
Sourcepub fn extract_key_insights(
session: &ActiveSession,
limit: usize,
) -> Vec<String>
pub fn extract_key_insights( session: &ActiveSession, limit: usize, ) -> Vec<String>
Extract key insights from existing data
Sourcepub fn extract_decision_timeline(
session: &ActiveSession,
) -> Vec<DecisionSummary>
pub fn extract_decision_timeline( session: &ActiveSession, ) -> Vec<DecisionSummary>
Extract decision timeline from existing data
Auto Trait Implementations§
impl Freeze for SummaryGenerator
impl RefUnwindSafe for SummaryGenerator
impl Send for SummaryGenerator
impl Sync for SummaryGenerator
impl Unpin for SummaryGenerator
impl UnsafeUnpin for SummaryGenerator
impl UnwindSafe for SummaryGenerator
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::RequestSource§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::RequestSource§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