Skip to content

Repository files navigation

OVOS Plugin Manager

ovos-plugin-manager (OPM) is the plugin discovery, loading, and configuration framework for the OpenVoiceOS ecosystem. It defines the base classes that OVOS plugins implement, and it finds and loads installed plugins at runtime through Python entry points.

OPM architecture diagram

Install

pip install ovos-plugin-manager

Media provider plugins need an extra dependency. Install it with:

pip install ovos-plugin-manager[media]

Usage

Find and load an installed STT plugin by its entry point name.

from ovos_plugin_manager.stt import find_stt_plugins, load_stt_plugin

plugins = find_stt_plugins()
# {'ovos-stt-plugin-whisper': <class 'WhisperSTT'>, ...}

MySTT = load_stt_plugin("ovos-stt-plugin-whisper")
stt = MySTT(config={"lang": "en-US"})

Or create a plugin from the active configuration (mycroft.conf / ovos.conf).

from ovos_plugin_manager.stt import OVOSSTTFactory

stt = OVOSSTTFactory.create()

See docs/index.md for the full guide, including TTS, wake word, VAD, and transformer plugins, and how to write a new plugin.

Related projects

License

Apache License 2.0. See LICENSE.

About

plugin manager for OpenVoiceOS , STT/TTS/Wakewords that can be used anywhere

Topics

Resources

Contributing

Stars

14 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages