Liking cljdoc? Tell your friends :D

com.blockether.vis.ext.foundation-voice.engine

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.
raw docstring

engine-idclj

source

register!clj

(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.
sourceraw docstring

transcribeclj

(transcribe {:keys [audio-path on-progress]})

The engine fn: {:audio-path :on-progress} -> transcript.

The engine fn: `{:audio-path :on-progress}` -> transcript.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close