You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Transcribe voice messages with your own transcription server (local Whisper)
#1588
I use Nod as a personal agent on Windows and talk to it mostly through WhatsApp voice messages, in German. For a personal agent that is the main way in, so the transcript has to be right.
With a ChatGPT plan and no API key, voice messages go to the small on-device model. In German it gets many words wrong, names and numbers especially, and Nod then works from a wrong message. Recordings over five minutes are refused.
I already run Whisper large-v3 on my graphics card on the same computer. Many people who are comfortable installing local models do, and most local speech servers offer the same request as OpenAI's POST /v1/audio/transcriptions. Today Nod cannot use any of them: the OpenAI address is fixed, and an OpenAI-compatible connection in Models only covers chat models and refuses a server without chat models.
Proposal: a Transcription row in Settings > Voice & audio that connects your own server: address, optional API key, optional model name.
It is a speech-only model connection, built like the ElevenLabs one, so the address and key are sealed with the Vault key, redacted from errors, left out of analytics, and never selectable as a chat model.
Connecting checks the server's /models with the key. Nod keeps one such server.
A connected server transcribes every recording and voice message, whichever voice is chosen, and is the only service that transcribes it. A failed request is not sent to another transcription service. A chat model with audio input still receives the recording itself, as before.
I have this working and will open a pull request that links here. On my computer a 23-second German voice note now comes back correct in about 6 seconds, model loading included.
Two things I would like your view on:
Should a connected server come before a chosen local voice, as it does now? I chose that because connecting a server is the more explicit choice, but it changes "a local voice keeps transcription local" for people who connect a remote server.
A possible follow-up, not in the pull request: letting Nod propose this connection from chat, with the key entered in a card and never in the conversation. Today proposals must be public HTTPS, so this would need your call on local addresses.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I use Nod as a personal agent on Windows and talk to it mostly through WhatsApp voice messages, in German. For a personal agent that is the main way in, so the transcript has to be right.
With a ChatGPT plan and no API key, voice messages go to the small on-device model. In German it gets many words wrong, names and numbers especially, and Nod then works from a wrong message. Recordings over five minutes are refused.
I already run Whisper large-v3 on my graphics card on the same computer. Many people who are comfortable installing local models do, and most local speech servers offer the same request as OpenAI's
POST /v1/audio/transcriptions. Today Nod cannot use any of them: the OpenAI address is fixed, and an OpenAI-compatible connection in Models only covers chat models and refuses a server without chat models.Proposal: a Transcription row in Settings > Voice & audio that connects your own server: address, optional API key, optional model name.
/modelswith the key. Nod keeps one such server.I have this working and will open a pull request that links here. On my computer a 23-second German voice note now comes back correct in about 6 seconds, model loading included.
Two things I would like your view on:
All reactions