1
votes

I am writing one custom Alexa skill, in which sample utterances are "{TeluguWord} in English" and "{EnglishWord} in Telugu".

For this, I created two slots EnglishWord and TeluguWord. I can see slots are crated used in the utterance. However, I am getting below error while building the model.

"Error building interaction model. A sample utterance references a slot that is not defined in the intent."

Any help to fix this error is welcome.

2

2 Answers

1
votes

As yours is custom slot you should create a custom slot in the custom slot section of interaction model else your utterance couldn't find the slot you have given

enter image description here

Please read about adding custom slots here

0
votes

One of your sample utterances contains a slot that you haven't created or misspelled. You might have misspelled one of the slots in the sample utterances.

Example:

The slot name for this example is car

This doesn't cause a error: How much does a {car} cost?

But if you misspell it

This does cause a error:

What is the best {cra}?

If misspell it you will get a error.