question

G.M. avatar image
G.M. asked

How should the interaction model files in an Alexa skill be organized?

I can't believe I have to ask this, but I have searched through the documentation for quiet a while now and couldn't find an answer: How should the files defining the interaction model in an Alexa skill be organized and deployed?

I'm talking about the model files (`model/en-US.json` etc.), the sample_utterances.txt, the lists of values for custom slot types - where do they go in the directory structure? Do I put them in the root dir, in the models dir, in a separate speech assets dir? Where do I have to place the sample_utterances.txt in relation to the en-US.json? How do I specify which list of custom slot type values belongs to which slot type in the en-US.json? None of these questions seems to be answered in the official documentation, am I really the only one who finds all of this non-obvious?

alexa skills kitask cliinteraction model
10 |5000

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

1 Answer

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi there,

Thanks for posting.

I suggest take a look at a repository here for the structure of the skill.

10 |5000

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