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

Copy Markdown View Source

Reson8 realtime speech-to-text over its WebSocket API.

Reads RESON8_API_KEY. :model is "rumble-2" or "resonant-1". Interim results are on, so the owner gets partials. :language_hints become Reson8's language (auto-detected without them). Besides Octoroom.Agent.STT's options it takes Reson8's :phrases (a list), :bias_strength, :custom_model_id, :filler_mode and :number_format.

Reson8 reports errors after connecting only as close codes, so they come as {:disconnected, reason, _}.

Summary

Functions

Flushes the audio sent so far instead of waiting for Reson8's endpointing. Answered with one {:final, text} when Reson8 confirms the flush, with "" if nothing was pending.

Functions

finalize(pid)

Flushes the audio sent so far instead of waiting for Reson8's endpointing. Answered with one {:final, text} when Reson8 confirms the flush, with "" if nothing was pending.