Build Your Own AI (Artificial Intelligence) Assistant 101 …

Posted: June 19, 2020 at 7:45 am

Now is when things start getting real.

Click on "Create Intent", at the top of the console, to create you very first Intent.

I will be naming this Intent, "startconvo.Hi" (At the topmost blank), and the purpose of this intent would be to respond to greetings such as Hi, Hello, etc.

Intents have 2 main sections:

USER SAYS: In this section, you'll provide various phrases a User may ask. The more phrases you add, the better your Assistant can learn and respond to similar phrases. (Try to add at least half a dozen phrases so that your Agent can understand and can recognize other similar phrases.)

RESPONSE: Here, you'll provide answers for the said User phrases. You can add multiple responses in this section, and your Agent will pick one at random.This is done to avoid redundancy, and make the conversation more natural-like. Responses can also be rich messages like Cards, Images, etc, that are displayed in devices that support them. (Refer to docs for more info: Rich Messages)

For JARVIS this is what the 2 sections contain:

User Says : Hi, Hey, Hello, Yo

Responses : My man! , Hey! , Hi There! , Yo Dawg!

Don't forget to Save after adding changes.

YOU NOW HAVE AN AI ASSISTANT (YAAAAAAAY!!!). Try talking to it in the test console.

P.S: If you are using Chrome Browser, you can click on the mic icon in the Test Console to talk to your Agent and get your response.

P.S.2: Notice how JARVIS responds when I say "Hey Jarvis!" (or) "Hola Jarvis!" even though I haven't fed that phrase in the User says section. (It's a Magic Trick! xD)

Read this article:

Build Your Own AI (Artificial Intelligence) Assistant 101 ...

Related Posts