docs: the speech-to-text service's runtime, limits and cache volume
This commit is contained in:
parent
be70b3189e
commit
3942cd3749
1 changed files with 72 additions and 20 deletions
|
|
@ -258,13 +258,14 @@ instead of the container. The flows and the delivery path:
|
|||
### Speech to text
|
||||
|
||||
The speech-to-text service, in a `swarm-stt` container on the host that sets
|
||||
`deploy.stt.enable`. Run it where the inference hardware is: it transcribes
|
||||
with whisper.cpp. An agent that receives a voice memo sends the audio to it
|
||||
over the queue and gets the text back, and a memo sent to several agents costs
|
||||
one run. `deploy.stt.settings.modelSize` picks the model (`small` by default,
|
||||
or `base`). The audio comes from rooms with outside people, so the service runs
|
||||
under a tight sandbox, but its network isn't restricted, which the design page
|
||||
spells out. The settings, limits and reasons:
|
||||
`deploy.stt.enable`, or as a pod in the host's cluster with
|
||||
`deploy.stt.runtime = "k8s"`. Run it where the inference hardware is: it
|
||||
transcribes with whisper.cpp. An agent that receives a voice memo sends the
|
||||
audio to it over the queue and gets the text back, and a memo sent to several
|
||||
agents costs one run. `deploy.stt.settings.modelSize` picks the model (`small`
|
||||
by default, or `base`). The audio comes from rooms with outside people, so the
|
||||
service runs under a tight sandbox, but its network isn't restricted, which the
|
||||
design page spells out. The settings, limits and reasons:
|
||||
[`stt.md`](../../4-implementation/swarm/stt.md) and
|
||||
[Host setup](../../4-implementation/swarm/stt.md#host-setup).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue