Octoroom.Agent.STT.Soniox (octoroom_agents v0.1.0)

Copy Markdown View Source

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.

Summary

Functions

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.

Functions

finalize(pid)

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.