question

newuser-4e7078cc-ffda-4f7b-872c-5e91b73ca602 avatar image

Can I update the utterances programatically?

For example:

I've developed an app to home automation, and in this app, the end user can create custom scenarios with names we can't have a default. How can I do for the user launch the scenario with Alexa? Because the LITERAL type will be deprecated and I need to use a custom Slot.

How can I solve this problem?

In my custom slot I have for example:

Master On | Master Off | Tilt ...

If I speak "Good Morning" for example, the skill will return the scenario is not found.

I don't know if i'm clear, if not I can explain better.

alexa skills kitskillalexa smart home
10 |5000

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

Brian@Amazon avatar image
Brian@Amazon answered
Hi NewUser. At this time it's not possible to update the utterances programmatically. If there are common scene names you anticipate you could put those into a custom slot to help train the ML, although I admit this is a less than perfect solution. Do keep in mind that custom slots can output things that aren't provided by the skill developer, once trained.
10 |5000

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

Tom avatar image
Tom answered

I created a feature request which address this issue...

'Dynamic (or per-user) value list for custom slots'

10 |5000

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