
openvoiceos/ovos-workshop
Productivity workflow이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
frameworks, templates and patches for the OpenVoiceOS universe
개요
Base classes, decorators, and helpers for building skills and applications for OpenVoiceOS. Runtime dependencies include ovos-yes-no-plugin and ovos-option-matcher-fuzzy-plugin, which back the ask_yesno and ask_selection skill methods. Key settings a skill can accept in its settings.json: Both keys can also be set system-wide under the skills block in mycroft.conf. The OVOS Technical Manual is the canonical skill-authoring guide. Repo-local reference with exact source citations is in docs/:
README
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.skill"]
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
The OVOS Technical Manual is the canonical skill-authoring guide. Repo-local reference with exact source citations is in docs/:
- Skill classes
- OVOSSkill base class
- ask_yesno / ask_selection plugin system
- Decorators
- Settings
- Resource files
- Prerelease quirks — what changed since the last stable release
License
Apache 2.0
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add openvoiceos/ovos-workshop