Skip to main content

summarize_text

Function summarize_text 

Source
pub async fn summarize_text(
    provider: &dyn LLMProvider,
    model: &str,
    prompt: &str,
) -> Result<String>
Expand description

Summarize the provided text using the configured provider.