question

Rob Rose avatar image
Rob Rose asked

Error: interaction Model could not be built

I'm getting this error in the new Skill Builder everytime I try to build my skill.

Interaction Model could not be built

Your interaction model failed to build. You may try again, and if this error persists you can contact support for additional information.

I'm getting no warnings from the rest of the skill builder.

Here's my JSON:

{
  "intents": [
    {
      "name": "AMAZON.CancelIntent",
      "samples": []
    },
    {
      "name": "AMAZON.HelpIntent",
      "samples": []
    },
    {
      "name": "AMAZON.StopIntent",
      "samples": []
    },
    {
      "name": "MealEquivalencyIntent",
      "samples": [
        "how much is a meal worth",
        "whats the meal equivalency rate",
        "how much is a meal worth at {EateryHolder}",
        "what is a meal worth at {EateryHolder}"
      ],
      "slots": [
        {
          "name": "EateryHolder",
          "type": "EATERIES",
          "samples": []
        }
      ]
    },
    {
      "name": "MealPeriodBeginIntent",
      "samples": [
        "when does {WhichMealBegin} begin",
        "when is {WhichMealBegin}",
        "what time does {WhichMealBegin} begin",
        "when does {WhichMealBegin} start",
        "what time does {WhichMealBegin} start"
      ],
      "slots": [
        {
          "name": "WhichMealBegin",
          "type": "MEAL_PERIOD",
          "samples": [
            "{WhichMealBegin}",
            "I wanted {WhichMealBegin}",
            "{WhichMealBegin}, please",
            "when does {WhichMealBegin} begin",
            "when does {WhichMealBegin} start",
            "I wanted the time when {WhichMealBegin} started"
          ]
        }
      ]
    },
    {
      "name": "MealPeriodEndIntent",
      "samples": [
        "when is {WhichMealEnd} over",
        "when does {WhichMealEnd} end",
        "what time is {WhichMealEnd} over",
        "what time does {WhichMealEnd} end",
        "what time is {WhichMealEnd} done"
      ],
      "slots": [
        {
          "name": "WhichMealEnd",
          "type": "MEAL_PERIOD",
          "samples": [
            "when does {WhichMealEnd} end",
            "when is {WhichMealEnd} over",
            "{WhichMealEnd}"
          ]
        }
      ]
    }
  ],
  "types": [
    {
      "name": "EATERIES",
      "values": [
        {
          "name": {
            "value": "D. Hall"
          }
        },
        {
          "name": {
            "value": "Dining Hall"
          }
        },
        {
          "name": {
            "value": "True Grits"
          }
        },
        {
          "name": {
            "value": "Salsaritas"
          }
        },
        {
          "name": {
            "value": "Pollo"
          }
        },
        {
          "name": {
            "value": "Chick fil a"
          }
        },
        {
          "name": {
            "value": "Starbucks"
          }
        },
        {
          "name": {
            "value": "Library Coffee Shop"
          }
        },
        {
          "name": {
            "value": "Two Mato"
          }
        },
        {
          "name": {
            "value": "Masala"
          }
        },
        {
          "name": {
            "value": "coffee shop"
          }
        },
        {
          "name": {
            "value": "admin coffee shop"
          }
        },
        {
          "name": {
            "value": "pura vida"
          }
        },
        {
          "name": {
            "value": "the skylight room"
          }
        },
        {
          "name": {
            "value": "mondo subs"
          }
        },
        {
          "name": {
            "value": "hissho"
          }
        },
        {
          "name": {
            "value": "au bon pain"
          }
        },
        {
          "name": {
            "value": "commons outtakes"
          }
        },
        {
          "name": {
            "value": "true grits outtakes"
          }
        },
        {
          "name": {
            "value": "outtakes"
          }
        },
        {
          "name": {
            "value": "wild greens"
          }
        }
      ]
    },
    {
      "name": "MEAL_PERIOD",
      "values": [
        {
          "name": {
            "value": "Breakfast"
          }
        },
        {
          "name": {
            "value": "Lunch"
          }
        },
        {
          "name": {
            "value": "Dinner"
          }
        },
        {
          "name": {
            "value": "Late Night"
          }
        },
        {
          "name": {
            "value": "Current Meal Period"
          }
        },
        {
          "name": {
            "value": "Next Meal Period"
          }
        }
      ]
    }
  ],
  "prompts": [
    {
      "id": "Elicit.Intent-MealPeriodBeginIntent.IntentSlot-WhichMealBegin",
      "promptVersion": "1.0",
      "definitionVersion": "1.0",
      "variations": [
        {
          "type": "PlainText",
          "value": "I didn't catch all of that, can you repeat which meal period you wanted?"
        },
        {
          "type": "PlainText",
          "value": "Which meal period was that?"
        }
      ]
    },
    {
      "id": "Elicit.Intent-MealPeriodEndIntent.IntentSlot-WhichMealEnd",
      "promptVersion": "1.0",
      "definitionVersion": "1.0",
      "variations": [
        {
          "type": "PlainText",
          "value": "I didn't catch all of that, can you repeat what meal period you wanted?"
        },
        {
          "type": "PlainText",
          "value": "Which meal period was that?"
        },
        {
          "type": "PlainText",
          "value": "Can you repeat which meal period you wanted?"
        }
      ]
    }
  ],
  "dialog": {
    "version": "1.0",
    "intents": [
      {
        "name": "MealEquivalencyIntent",
        "confirmationRequired": false,
        "prompts": {},
        "slots": [
          {
            "name": "EateryHolder",
            "type": "EATERIES",
            "elicitationRequired": false,
            "confirmationRequired": false,
            "prompts": {}
          }
        ]
      },
      {
        "name": "MealPeriodBeginIntent",
        "confirmationRequired": false,
        "prompts": {},
        "slots": [
          {
            "name": "WhichMealBegin",
            "type": "MEAL_PERIOD",
            "elicitationRequired": true,
            "confirmationRequired": false,
            "prompts": {
              "elicit": "Elicit.Intent-MealPeriodBeginIntent.IntentSlot-WhichMealBegin"
            }
          }
        ]
      },
      {
        "name": "MealPeriodEndIntent",
        "confirmationRequired": false,
        "prompts": {},
        "slots": [
          {
            "name": "WhichMealEnd",
            "type": "MEAL_PERIOD",
            "elicitationRequired": true,
            "confirmationRequired": false,
            "prompts": {
              "elicit": "Elicit.Intent-MealPeriodEndIntent.IntentSlot-WhichMealEnd"
            }
          }
        ]
      }
    ]
  }
}

Anyone know what's wrong? I'd like to be able to enter the contest (finish by tomorrow that is). Help!

alexa skills kitskillintents
5 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rob Rose avatar image Rob Rose commented ·

Some other comments were saying that I should try rebuilding it now so I did but I'm still getting the error.

0 Likes 0 ·
Jamie Grossman avatar image Jamie Grossman ♦♦ commented ·

Was this ever working? Did you change anything in-particular that stopped the model from building?

0 Likes 0 ·
Rob Rose avatar image Rob Rose Jamie Grossman ♦♦ commented ·

I don't think it ever worked. I had this error the first time I was building the model.

0 Likes 0 ·
Jamie Grossman avatar image Jamie Grossman ♦♦ Rob Rose commented ·

What happens if you start a new project and try with a model a little more simple. Does that build?

0 Likes 0 ·
Show more comments

0 Answers