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.1a1.tar.gz (88.1 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.1a1-py3-none-any.whl (100.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_workshop-9.0.1a1.tar.gz
  • Upload date:
  • Size: 88.1 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.1a1.tar.gz
Algorithm Hash digest
SHA256 3abb535bbdd9903af418ecc370ff6895da144093a3af42d169061ae3024edc70
MD5 0139837a0a7c8f49ac04081a602c06b2
BLAKE2b-256 cc7397920fc811afe239c4fabdede0467e5f7cc96c92528e7d0ca245b91db204

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ovos_workshop-9.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ovos_workshop-9.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a69c46d8ef3268176baa7e16b6f6b989f1706ce848d6b1eff0c224e2f16d3631
MD5 06d9f385a3646c46b645172ff80825ca
BLAKE2b-256 1572d1f1b72486eb7b04709eecbec92d842215ce90e0e37e06ed84660f56d37c

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