Harsh Butani
Harsh Butani

Reputation: 61

Required slot prompts even if the value is mentioned in the utterence

I am developing an Alexa skill with a required slot "name" for which I have added a prompt of "What is your name".

The utterances for the intent are:

1. note my name
2. note my name as {name}

For both the utterances, I get the prompt what is your name.

Upvotes: 1

Views: 78

Answers (1)

Nikhil Wagh
Nikhil Wagh

Reputation: 1498

Utterances for your intent should be something like these :

  1. note my name
  2. My name is {name}
  3. note my name as {name}

Prompts for your slot "name"

  1. Please tell me your name
  2. What is your name?
  3. Do you even have a name?

Utterances for your slot "name"

  1. {name}
  2. My name is {name}
  3. It is {name}

Even though you are using AMAZON.US_FIRST_NAME, it would be wise to provide some slot values for the slot "name". For example:

Slot value samples for the slot "name"

  1. joe
  2. sam
  3. Martha
  4. Gopal

If still AMAZON.FallBackIntent is called, then please show me your complete code.

Upvotes: 1

Related Questions