Your first Bot
Your first dialogue
Once the Project is up and running then you will get basic rules Get started, Farewells and Greetings as shown below.
You have to add user utterances and responses to these stories.
Let’s have a closer look to what happened in that video:
- We start the story with a user utterance “Who are you?” in the intent smalltalk.greet.
- We set the response given by the assistant.
When you save a user utterance, it is also added to your training data to easily develop and enhance your model. If you delete it in the conversation builder, it will still remain in your training data. If you completely want to remove a user utterance from everywhere, you will need to manually delete it from your training data as well.
Rules might be a better fit for simple conversations as they will take less time to train.
Improving Natural Language Understanding
We can’t expect a user to always greet with Hello. There are many ways to greet and we want our virtual assistant to understand as many as possible.
We need to teach our assistant many ways of greeting: our story isn’t just about replying to someone saying Hello, it is about replying to all users greeting your AI assistant.
Click on the user utterance and add your examples as shown below:
How many examples should I add?
A good starting point is 10-15 examples per intent. You can always add more examples later, either from here or from the incoming section to use examples from real conversations.
An assistant needs at least two intents. Let’s add intents for the second story ‘farewells’:
Get started
The Get started story triggers initially when bot opens for the first time as it is set in the settings (Settings>Chat widget>Initial payload).
Adding Custom Data
To interact with clai in the clai admin you have to provide few parameters inside the globe icon as shown.
Training your assistant
You can now train your bot and start chatting with your bot.
Widget resizing
You can resize the chat widget size and can also move the chat widget around the screen and pick up and drop the widget where ever you want.