Skip to main content

generate_summary

Function generate_summary 

Source
pub async fn generate_summary(
    model: &Model,
    credential: Option<ResolvedCredential>,
    conversation_text: &str,
    previous_summary: Option<&str>,
    custom_instructions: Option<&str>,
    continuation: bool,
    cancel: CancellationToken,
) -> Result<SummaryOutcome>
Expand description

Generate a structured summary with the LLM. One-off prompt: fresh session id and no cache writes wanted, so it’s a plain request.