The LOCAL Parakeet transcription engine, registered into the engine-agnostic
registry in com.blockether.vis.internal.voice.
This namespace is the whole coupling between Vis and sherpa-onnx: the gateway,
the TUI and the companion only ever see {:id :label :transcribe}. Swapping in
a whisper.cpp server is therefore an extension that calls
voice/register-engine! with its own :transcribe, and zero lines change
anywhere else.
The LOCAL Parakeet transcription engine, registered into the engine-agnostic
registry in `com.blockether.vis.internal.voice`.
This namespace is the whole coupling between Vis and sherpa-onnx: the gateway,
the TUI and the companion only ever see `{:id :label :transcribe}`. Swapping in
a whisper.cpp server is therefore an extension that calls
`voice/register-engine!` with its own `:transcribe`, and zero lines change
anywhere else.(register!)Idempotent — [[voice/register-engine!]] replaces by id. :model-state and
:start-download are what let a surface say "downloading 42%" without any
caller knowing that THIS engine happens to need a 465MB model.
Idempotent — [[voice/register-engine!]] replaces by id. `:model-state` and `:start-download` are what let a surface say "downloading 42%" without any caller knowing that THIS engine happens to need a 465MB model.
(transcribe {:keys [audio-path on-progress]})The engine fn: {:audio-path :on-progress} -> transcript.
The engine fn: `{:audio-path :on-progress}` -> transcript.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |