Become a Chatbot Builder

3. Create intents

An intent represents the purpose of a user’s input. You can think of intents as the actions your users might want to perform with your application.

For this example, we’re going to keep things simple and define only two intents: one for saying hello, and one for saying goodbye.

If you are not already there, go to the IBM Watson Assistant (formerly Conversation)

Step 1
Make sure you’re on the Intents tab.

Step 2
Click Add Intent.

Step 3
Name the intent hello.

Step 4
Type hello as a User example and press Enter.

Examples tell the Watson Assistant (formerly Conversation) service what kinds of user input you want to match to the intent. The more examples you provide, the more accurate the service can be at recognizing user intents.

Step 5
Add four more examples and click ass3 icon in the top left corner to finish creating the #hello intent and go back to the Intents tab:

  • good morning
  • greetings
  • hi
  • howdy


Step 6
Create another intent named #goodbye with these five examples:

    • bye
    • farewell
    • goodbye
    • I'm done
    • see you later

You’ve created two intents, #hello and #goodbye, and provided example user input to train Watson to recognize these intents in your users’ input.


Share with: