
Abstractive text summarizer that loads any HuggingFace seq2seq summarization model named by model in-process and condenses a String document into a shorter summary String, bounded by min_length and max_length. No cloud API.
Summarize a transcribed call and publish the gist as JSON.
Summarize a document file and speak the summary aloud.
String document and output is a single String summary; there is exactly one summary per input, never a drop. Empty or whitespace-only input returns an empty summary without running the model.model `max_position_embeddings`, e.g. 1024 tokens for facebook/bart-large-cnn) is truncated to its leading window before summarizing; the tail is not seen. Chunk long documents upstream when every section matters, or load a long-context summarizer (e.g. allenai/led-base-16384) via model.max_length, min_length, and num_beams are re-read every tick and apply on the next summary with no reload; min_length is clamped to never exceed max_length.model is hot-swappable at runtime and triggers a model + tokenizer reload (and a GPU memory reclaim on CUDA) on the next call, producing a one-call latency spike. device is read once at startup and requires a redeploy to change.device starting with `cuda` silently falls back to CPU when CUDA is unavailable, which is impractical for a large summarizer at stream cadence.Automated release