Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Description

This plugin adds Vosk speech-to-text support to OpenVoiceOS. It transcribes audio with a local Kaldi model, either after recording finishes or in real time as you speak.

Install

pip install ovos-stt-plugin-vosk

Get official models from alphacephei.

Configuration

Give the plugin a Kaldi model. Point model at a local folder or a direct download URL.

  "stt": {
    "module": "ovos-stt-plugin-vosk",
    "ovos-stt-plugin-vosk": {
        "model": "/path/to/unzipped/model/folder"
    }
  }

Advanced configuration

  "stt": {
    "module": "ovos-stt-plugin-vosk-streaming",
    "ovos-stt-plugin-vosk-streaming": {
        "model": "http://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip",
        "verbose": true
    },
    "ovos-stt-plugin-vosk": {
        "model": "http://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip"
    }
  }

ovos-stt-plugin-vosk runs regular STT. Transcription happens after recording finishes.

ovos-stt-plugin-vosk-streaming runs streaming STT. Transcription happens in real time.

verbose prints partial transcriptions.

model sets the full path or direct download URL for the model.

lang is optional. If you do not set model, the plugin downloads a default small model for this language, if one exists.

Docker

Use this plugin together with ovos-stt-http-server.

docker run -p 8080:8080 ghcr.io/openvoiceos/vosk-stt-http-server:master

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_stt_plugin_vosk-0.2.8a2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_stt_plugin_vosk-0.2.8a2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file ovos_stt_plugin_vosk-0.2.8a2.tar.gz.

File metadata

  • Download URL: ovos_stt_plugin_vosk-0.2.8a2.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_stt_plugin_vosk-0.2.8a2.tar.gz
Algorithm Hash digest
SHA256 2784732ea9fafa827707d80e85fd8ee38d9995dd555b0f5d65c69ae9aa44b36b
MD5 e52b1962e0a2afb34f0d0c625577a51e
BLAKE2b-256 0bfeead7f97360102c2cda4d271e2c5f46700f216001b00f1674274b62a567fa

See more details on using hashes here.

File details

Details for the file ovos_stt_plugin_vosk-0.2.8a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_plugin_vosk-0.2.8a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d92d2e055a93946e40a528684b425da43cd835117570ad38b55ee146b36d1c69
MD5 fadad3fa8383dbb729ec9d06b6595776
BLAKE2b-256 f7a276e682ad37fccf0319fe03866f1b36030a401a7bb16220bf1bfaf7621cac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page