GithubHelp home page GithubHelp logo

dreamermind / snips-app-onboarding Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 20 KB

Onboarding app helping to discover capacities of your assistant and monitor statuses

License: MIT License

Python 89.52% Shell 10.48%

snips-app-onboarding's Introduction

Onboarding app for Snips

Python versions Languages Snips App Store

WARNING ! can be used by internal snipsters only for now :( due to dataset.json shipping limitation

With this Snips app, you can ask some informations about your Snips assistant and have an onboarding at startup about which hotword is setted up, how to call intents.

Installation

The easiest way to install this app is by adding the corresponding Snips app to your assistant in the Snips Console:

Usage

This app recognizes the following intents:

  • IntentSamples - The user asks the assistant how to call this intent then samples are provided by TTS
  • IntentList - The user asks the assistant list of intents then list is provided by TTS

Copyright

This app is provided by Dreamermind as open source software. See LICENSE for more information.

Code Guide style

use black auto formatter with -l 80

snips-app-onboarding's People

Contributors

julienbaliansonos avatar

Stargazers

 avatar  avatar

snips-app-onboarding's Issues

Missing dataset file

Hi Julien,

I just tried to run your app, but I get this exception:

Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err] Traceback (most recent call last):                
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]   File "./action-onboard.py", line 144, in <module>                                                                          
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]     OnBoardingApp()
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]   File "./action-onboard.py", line 41, in __init__   
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]     for _ in self._assistant.dataset.intent_per_name.keys()   
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]   File "/var/lib/snips/skills/snips-app-onboarding/venv/lib/python3.5/site-packages/snips_app_helpers/snips/assistant.py", li
ne 107, in dataset                                                                                                                            
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]     self.language, self._original_path.parent / "dataset.json"
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]   File "/var/lib/snips/skills/snips-app-onboarding/venv/lib/python3.5/site-packages/snips_app_helpers/snips/dataset/__init__.
py", line 176, in from_json                                                                                                                                                               
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err]     raise ValueError('Missing dataset file @ %s' % str(filepath))
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : [onboard][err] ValueError: Missing dataset file @ /usr/share/snips/assistant/dataset.json
Apr 29 08:48:39 snips snips-skill-server[22199]: WARN:snips_skill_server_lib::handler::nosandbox: child onboard has stopped with status `exit code: 1`     
Apr 29 08:48:39 snips snips-skill-server[22199]: INFO:snips_skill_server_lib::runner            : restarting action onboard (restart_fails: 2)  

Are you trying to load the Snips NLU dataset that has been used to train the assistant? As far as I know, that file is not in the /usr/share/snips/assistant directory. At least not when I deploy assistants from the Snips Console.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.