Import intents from a CSV file

  1. Open the intents.csv file and review the contents.
    Each line contains an example utterance (input) followed by the intent name (#tellmeabout). This training data defines only a single intent.

  2. Click Import from the main page of the Watson Conversation tooling.
  3. Drag the intents.csv file from your local file system onto the “Choose a file” box, and then click Import.

  4. Expand the new intent named #tellmeabout to see the examples.

  5. Click the chat icon in the upper right corner of the window to test the new intent.


    Notice that Watson is now training on your recent changes.

  6. Enter some text about Yosemite in the chat box, such as Tell me about Yosemite National Park.


    If you enter the text too soon, Watson cannot identify the new intent because it is still training.


    Training can take a few seconds to several minutes, depending on the size of your data.

  7. After Watson finishes training, enter the text again in the chat box. Watson should now be able to identify your intent.

  8. To further test Watson, enter text that is not in your training data, such as tell me about arches. Note that the training data uses the sentence “I’m interested in facts about Arches.”
    Watson correctly identifies the intent even though the utterance (input) does not exactly match the training data.