Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

Training the voice model

Once we are inside the skill builder, we are going to start training the models. In our application, we are going to have two intents:

  • WeatherStatusIntent: To get the values of all four sensors
  • ControlMotorIntent: To turn the motor on/off

Apart from this, you can also add other intents based on your requirements. You can add a moisture sensor only intent to get the values of moisture sensor only or rain sensor intent for only rain sensor values.

Now, we will go ahead and set up these intents and create slots.

Once you are inside the skill builder, you should see something similar to the following:

Now, using Add ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content