Intents
Intent Creation using the IIUSA Intent Editor

An intent is an action that a chatbot user wants to perform: book a flight, order a pizza, get assistance with a task. Intents are used pervasively in user input processing for chatbots and in natural language processing (NLP) tasks.

We created an intent editor that you are free to download:

The tag indicates the short name of the intent. The Pattern area holds the questions a user could ask a chat bot for a given intent. The response area holds responses that might be selected at random for a reply.

The intents are in JSON format, and the syntax is hidden from users, but for the curious this is what it looks like:

intents-screenshot
{
 “intents”: [
  {
    “tag”: “name”,
    “patterns”: [
       “what’s your name?”,
       “what is your name”,
       “what are you called?”,
       “who are you?”
    ],
    “responses”: [
       “My name is Reddy”,
       “I’m Reddy”,
       “I am Reddy”,
       “My name is Reddy”
    ]
   },
   {
    “tag”: “ruhuman”,
    “patterns”: [
       “Are you real?”,
       “Are you human”,
       “Are you a robot?”,
       “Are you a machine?”
   ],
   “responses”: [
       “I am as real as Data gets.”,
       “I am kinda “choose your own adventure.””,
       “I aim to be.”
   ]
   },
   {
    “tag”: “time”,
    “patterns”: [
       “What time is it?”,
       “Do you know the time?”,
       “Do you have the time?”
   ],
    “responses”: [
       “Check your monitor.”,
       “It’s the same time as it was yesterday at this time.”,
       “All time is relative.”
   ]
  }
 ]
}

IIUSA Intent Editor

Download the IIUSA Intent Editor: MacOS and Windows.


Download

Interested in learning more about intents? See our intents tutorial.