Skip to main content

Snips Skills Manager

Project description

Snips Skills Manager

Build Status PyPI MIT License

The Snips Skills Manager is a tool for easily setting up and managing a Snips assistant.

A single configuration file, the Snipsfile, is required to create a Snips assistant. In it, you specify:

  • The URL of your assistant, as created in the Snips Console

  • The skills you want to install

  • Bindings between intents and skills

  • If required, additional parameters for you skill, such as an API key or the address of a lamp

  • Various configuration parameters, such as language and logging preferences.

Check out Awesome Snips, a curated list of Snips skills, assistants and other resources to get you started. In particular, make sure to read the Getting Started guide.

Installation

Raspbian

Snips Skills is available as an apt-get package. To install it, first add the Snips repository to your list of apt-get sources. In the folder /etc/apt/sources.list.d, create a file called snips.list, and add the line:

deb https://s3.amazonaws.com/snips-deb/ stable main

Then run:

$ sudo apt-get update
$ sudo apt-get install snipsskills

macOS

Snips Skills is available on macOS via Homebrew. To install it, simply run:

$ brew install snipsskills

Usage

Creating the Snipsfile

Start your project by creating a Snipsfile, which is where all the configuration is set. This is a simple text file, adhering to the YAML format. Here is a basic configuration:

assistant_url: <YOUR ASSISTANT URL>
locale: en_US
logging: True
default_location: Paris,fr
skills:
  - package_name: snipshue
    class_name: SnipsHue
    url: https://github.com/snipsco/snips-skill-hue
    params:
      hostname: <PHILIPS HUE IP>
      username: <PHILIPS HUE USERNAME>
      light_ids: [1, 2, 3, 4, 5, 6]
    intents:
      - intent: ActivateLightColor
        action: "turn_on"
      - intent: DeactivateObject
        action: "turn_off"

For further explanations and examples, check out our Snipsfile Wiki.

Installing the skills

Next, setup the system by running the install command:

$ snipsskills install

Launching the skills server

If you enabled Snips Skills to run on boot, simply reboot your device. Otherwise, start the service manually by running:

$ snipsskills run

Contributing

Please see the Contribution Guidelines.

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

snipsskills-0.1.6.26.tar.gz (34.7 kB view details)

Uploaded Source

Built Distributions

snipsskills-0.1.6.26-py2.py3-none-any.whl (56.0 kB view details)

Uploaded Python 2 Python 3

snipsskills-0.1.6.26-py2.7.egg (115.4 kB view details)

Uploaded Source

File details

Details for the file snipsskills-0.1.6.26.tar.gz.

File metadata

File hashes

Hashes for snipsskills-0.1.6.26.tar.gz
Algorithm Hash digest
SHA256 dfcc1c7e91f3044284e27bed231a038e1ebf0a5040fb1c955051fb99b40fbc67
MD5 ff77965078ae221ac9be45e2d029ee99
BLAKE2b-256 be098b8c7002f170df930d76af513ad72e0dddc020254c107a0500f66b98f58d

See more details on using hashes here.

File details

Details for the file snipsskills-0.1.6.26-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for snipsskills-0.1.6.26-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e0ad7995f2312bdde0f2fd07dc1243f93f3993f647853e65d05a3baf840f86e
MD5 24dc3ea52d30cee35a9bbc5d8e309e1c
BLAKE2b-256 1f7d27b8fbb4b2a67cc4b8ad1eed8a121767cc837d2f28ca6c99d968e0aeafd4

See more details on using hashes here.

File details

Details for the file snipsskills-0.1.6.26-py2.7.egg.

File metadata

File hashes

Hashes for snipsskills-0.1.6.26-py2.7.egg
Algorithm Hash digest
SHA256 96046aee909b2e30b3c3f9bd38be84bd0e4c2d69ed8c25e72d7e9ced69b23bf9
MD5 3cc922abd118dd840cea267c4c67884d
BLAKE2b-256 c76464c819ee69740235d14933ae9c96b21a5f71248ea3ee073d868c407d4fdc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page