Skip to content

Glossary: Speech and Audio AI

Generator

A sequence that produces items only as you loop over it. faster-whisper's `transcribe()` returns segments as a generator, so nothing is transcribed until you loop.

Where the book teaches it

Related terms

async generator (async for)