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.13.tar.gz (23.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

snipsskills-0.1.6.13-py2.py3-none-any.whl (36.1 kB view details)

Uploaded Python 2Python 3

snipsskills-0.1.6.13-py2.7.egg (69.4 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for snipsskills-0.1.6.13.tar.gz
Algorithm Hash digest
SHA256 d01de65e4a6d288fccce4ec3f5394faac73f546fed62b9c8bacbe78ec9ec314a
MD5 a62be36945e7c7225b17ea7ec943b559
BLAKE2b-256 6fefa4bfcdf14539e4d4996eaab563bda2fac437f93abdbead4b3cd4f74c321a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snipsskills-0.1.6.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 374bcc5f33e7a032632a5e2fa1e8778028d7173f517b7ac65ff70b534937dcf7
MD5 cbf279b9445badafbc0a521ad9de165c
BLAKE2b-256 d09b9fa95f818ecf077d0e0197fa29182c1889cc5c5a6097032c72f63550edce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snipsskills-0.1.6.13-py2.7.egg
Algorithm Hash digest
SHA256 97a8c4bb9115a7a5e8df8407e3f2c015b46f3f5f086e41841c224891fc41e8e5
MD5 25d97d160d2bf7976a7e2d603c2c61e4
BLAKE2b-256 e32868294fb07fe8f5a3e8f663bf68cb0ccf4fdbd2d280cfcb430cd2a8a1122f

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