# `Octoroom.Agent.Processors.STT`
[🔗](https://github.com/samrat/octoroom/blob/v0.1.0/agents/lib/octoroom/agent/processors/stt.ex#L1)

Streaming speech-to-text through an `Octoroom.Agent.STT` provider.

`InputAudio` passes through and is sent to the provider in 20 ms chunks
(configurable with `:chunk_ms`, or the provider's own minimum such as 50 ms
for AssemblyAI). Transcripts come back as `InterimTranscription` and
`Transcription` frames. A `FinalizeTranscript` frame moving upstream flushes
buffered audio and asks the provider to finalize what it has heard now. A
failed session is replaced after a backoff.

Options are `Octoroom.Agent.STT`'s: `:provider` and `:model` (both needed),
`:model`, `:api_key`, `:sample_rate` and the provider's own. The session starts
only under a host (`ctx.runner`); in `Octoroom.Agent.Pipeline.Test`, feed
provider events with `Test.info/3` (for example `{:stt, {:final, "Hi"}}`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
