Function llm_chain::summarization::summarize_text
source · pub async fn summarize_text<E: Executor>(
exec: &E,
text: &str
) -> Result<String, TextSummarizerError<E::Error>>Expand description
A convenience function to summarize text using the provided Executor.
Returns the summarized text, or an error if the summarization process fails.