Voice transcription
Speech recognition on your own server, on a GPU or through an outside service, limits and troubleshooting.
People can turn a voice message or a round video into text with the "Transcribe" button
(how it looks). A separate recognizer service, compatible with the OpenAI
/audio/transcriptions API, does the recognition. The federation reads the recording and sends it
to the recognizer whole.
Choosing a recognizer
| Setup | Models | Needs |
|---|---|---|
| CPU (default) | auto: GigaAM-v3 for Russian, Whisper large-v3-turbo for other languages | About 1.3 GB of models on a volume, up to 4 CPU threads |
| NVIDIA GPU | Qwen3-ASR 1.7B on vLLM | A GPU, the NVIDIA Container Toolkit and a vLLM image that serves the model |
| Outside service | Any with the OpenAI API: a cloud one or your own vLLM | Its URL and key. The app tells people their audio leaves the federation |
All models of the ready-made stack are open and work offline once downloaded. If your federation
speaks only Russian, gigaam-v3 is enough: set COMON_TRANSCRIBER_MODELS=gigaam-v3 and less is
downloaded.
Turning it on in the ready-made stack
python3 tools/mvp-stack.py enable-transcriber # CPU
python3 tools/mvp-stack.py enable-transcriber --transcriber-gpu # GPU
python3 tools/mvp-stack.py upFor the GPU, after enable-transcriber put the vLLM image into COMON_VLLM_IMAGE in stack.env.
The command adds the transcriber service and passes the server
--transcriber-url=http://transcriber:8000/v1 and --transcriber-model. The first transcription
downloads the models into the transcriber-models volume, so it is slow once. Running the command
again refuses: from then on everything changes in the app.
Settings in the app
An administrator who may manage the federation opens Manage Federation › Rules and policies › Speech recognition:
- Turns on "Recognize speech" and enters the "Recognizer URL" (and an "API key" for an outside
service). For the built-in one:
http://transcriber:8000/v1. - Presses "Check the recognizer": the app lists the service's models, and one can be chosen.
- Sets "Longest recording, minutes" (30 by default, at most 120) and saves.
The server options --transcriber-url, --transcriber-model and --transcriber-key-file are only
initial values. After the first save in the app, the app's settings apply.
Time per person
How many minutes a day a person may transcribe is set by roles: the "Speech recognition, minutes per day" row on a role, and the same row in the federation settings for everyone (60 by default). A person whose roles all give 0 sees no transcription buttons.
An outside recognizer
If the recognizer's address is not a Compose service name, not localhost and not a private
address, the app writes "Recognized by <service>" under every transcript: people must know their
voice leaves the federation. For the built-in recognizer, use the service name inside the network.
Troubleshooting
| What you see | Cause |
|---|---|
| No transcription buttons | Recognition is off, or the person's roles give 0 minutes. |
| "Speech recognition is unavailable. Try again later." | The server logs transcription_failed with the recognizer's error. Press "Check the recognizer"; dc logs transcriber shows model downloads and decoding errors. |
| The first transcription is slow | The models are still downloading. |
| "Recognized by …" under a transcript | The recognizer's address is outside (see above). |