A package that assists in creating Voice Applications for Magenta Voice Platform
Magenta Voice Skill SDK for Python is a package that assists in creating Voice Applications for Magenta Voice Platform.
About
This is a reworked stack with explicit async/await
concurrency and based on FastAPI ASGI framework.
Old stable (Bottle/Gevent) 0.xx branch
Installation
Runtime
Runtime installation: python -m pip install skill-sdk
.
Runtime (full)
Runtime installation with Prometheus metrics exporter and distributed tracing adapter: python -m pip install skill-sdk[all]
.
Development
Development installation: python -m pip install skill-sdk[dev]
.
Quickstart
To bootstrap a new project, install SDK for development:
pip install skill-sdk[dev]
Initialize a new project with vs
command:
vs init
Run the skill in development mode:
vs develop
Click http://localhost:4242 to access Designer UI.
Hello World
from skill_sdk import skill, Response @skill.intent_handler(“HELLO_WORLD__INTENT”)async def handler() -> Response: return Response(“Hello World!”) app = skill.init_app() app.include(handler=handler)
Code of Conduct
This project has