Training Wit.ai

Wit.ai is a platform to help building conversational interfaces with advanced Natural Language Processing, (NLP) capabilities.

Let's start by signing up for Wit.ai account and creating the app. After you signed up, you will see Wit.ai main page. Click "New App" to create an app.

../static/img/article/Screen_Shot_2020-10-25_at_2.56.48_PM.png

../static/img/article/Screen_Shot_2020-10-25_at_3.02.07_PM.png

In order to use Wit.ai, you need to train the model inside of it.

The goal of training is to create an accurate model that answers our questions correctly most of the time.

To train your Wit.ai app, you need to give utterances (questions that users might ask), such as:

Is going to the gym safe?

Is it safe to use outdoor dining?

You don’t need to describe every way of the questions. Wit will infer this from the few examples you gave. These examples are the training set of your Wit. So, the more examples you give, the better your app will understand what your users are saying.

You also want to teach Wit that you have some intent for these utterances, like getting the safety information. To do so, in the Choose or add an Intent dropdown, enter the name of your new intent and click Create Intent.

../static/img/article/Screen_Shot_2020-10-25_at_3.14.40_PM.png

The app should also be able to handle gibberish, a random word that will be marked as "Out of scope".

../static/img/article/CleanShot_2020-10-27_at_00.24.16.gif

You can always get some ideas and examples from already created Wit.ai app in here.