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

Soniox real-time speech-to-text over its WebSocket API.

Reads `SONIOX_API_KEY`. Besides `Octoroom.Agent.STT`'s options it takes
Soniox's `:audio_format`, `:num_channels`, `:enable_endpoint_detection`,
`:endpoint_latency_adjustment_level`, `:endpoint_sensitivity` and
`:max_endpoint_delay_ms`.

# `finalize`

Finalizes all audio sent so far instead of waiting for Soniox's endpointing.
Soniox answers with a `<fin>` token, which always produces a
`{:final, text}` event, with empty text if nothing was pending.

---

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