Skip to main content

frameworks, templates and patches for the OpenVoiceOS universe

Project description

OVOS Workshop

Base classes, decorators, and helpers for building skills and applications for OpenVoiceOS.

Install

pip install ovos-workshop

Runtime dependencies include ovos-yes-no-plugin and ovos-option-matcher-fuzzy-plugin, which back the ask_yesno and ask_selection skill methods.

Quick Start

from ovos_workshop.skills.ovos import OVOSSkill
from ovos_workshop.decorators import intent_handler


class HelloWorldSkill(OVOSSkill):

    @intent_handler("hello.intent")
    def handle_hello(self, message):
        self.speak_dialog("hello.response")


def create_skill():
    return HelloWorldSkill()

Register in pyproject.toml:

[project.entry-points."opm.skills"]
hello-world-skill = "hello_world_skill:HelloWorldSkill"

Configuration

Key settings a skill can accept in its settings.json:

Key Default Description
ask_yesno_plugin ovos-solver-yes-no-plugin YesNoEngine plugin used by ask_yesno()
ask_selection_plugin ovos-option-matcher-fuzzy-plugin OptionMatcherEngine plugin used by ask_selection()

Both keys can also be set system-wide under the skills block in mycroft.conf.

Documentation

Full reference is in docs/:

License

Apache 2.0

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

ovos_workshop-9.0.3a1.tar.gz (87.2 kB view details)

Uploaded Source

Built Distribution

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

ovos_workshop-9.0.3a1-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

Details for the file ovos_workshop-9.0.3a1.tar.gz.

File metadata

  • Download URL: ovos_workshop-9.0.3a1.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ovos_workshop-9.0.3a1.tar.gz
Algorithm Hash digest
SHA256 8cacf1ec7a56e5e88bbb22841314ba1a1975dc8bd3b601a4176318224e0e65d9
MD5 ad2e9ef6eedb4cd540d6a4da794aa4be
BLAKE2b-256 a9123129a8d1ab957eedffa5f7a43de162bd2ce0eae3692d031c095032367224

See more details on using hashes here.

File details

Details for the file ovos_workshop-9.0.3a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_workshop-9.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 217f3b8be3520fdb077997f7add05e2d17c85ec8663463cae070bd1a9bf74e3e
MD5 d5d5ddf649e5563375c9cac50bd86a58
BLAKE2b-256 e466ae882d3f7a6713b06759d10a99d0abd1e07c56aedd5fc2b9ac2b71f15d4e

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 Pingdom Monitoring Sentry Error logging StatusPage Status page