Define AnswerIntent

We will define AnswerIntent in the interaction model.

Before you begin

Delete the dummy utterance we added earlier inside AnswerIntent in the developer console.

Define utterances for AnswerIntent

There are different ways in which a user can respond to the clues they get:

“The capital is Delhi.”

“Delhi.”

“The answer is London.”

Remember that “Delhi” and “London” represent a slot. So how do we indicate that a certain part of the utterance is a slot in the interaction model?

Go inside AnswerIntent in the developer console.

Type {city} in the utterance. We should see the following:

Get hands-on with 1200+ tech skills courses.