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.4a1.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.4a1-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_workshop-9.0.4a1.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.4a1.tar.gz
Algorithm Hash digest
SHA256 516ba9d95f8eda6e451865f5db92ef26c6bd71f7c978f9000f5712d136a6f8ca
MD5 a2ca386b2eb546c6d41e980291e2739c
BLAKE2b-256 946c4ef020457a74e22640287401c5f96ea185adb1079c74ad18c655cdf9e614

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_workshop-9.0.4a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e94a3bbb4aea5d59a6d9260e9ad4ee6ceaeb14070ab1696a929b84a53618b2c
MD5 32efe41ded3cc9c80961495d17478bf3
BLAKE2b-256 4c2d0ea5ecb369e4dae6592e0f1e030c00d815febab546906b4a47af1210b5d6

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