question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Slot Types don't appear in Alexa Tester

See original GitHub issue

I originally logged this against alexa-app (here)and was told to try moving it here.

Trying to use a custom slot type, which basically looks like this in my intent:

    {
        "slots":{"COMMAND":"COMMAND_SLOT"},
        "utterances":[ "send {the|} {command|} {commands|COMMAND}" ]
    }

(where commands is an app.dictionary)

I’ve also tried:

    {
        "slots":{"COMMAND":"COMMAND_SLOT"},
        "utterances":[ "send {the|} {command|} {-|COMMAND}" ]
    }

In both cases, the Utterances properly appear in the Alexa Tester (using alexa-app-server 2.3.1), but the Custom Slot Type section of the tester is always empty. I was under the impression the custom slot type info should appear there to facilitate copy/pasting into the interaction model.

I started on alexa-app 2.3.4 and upgraded to 2.4.0 … same problem.

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dblockcommented, Jan 16, 2017

I think it never actually happened. Feel free to implement and PR. Thanks!

0reactions
lazerwalkercommented, Aug 19, 2017

Worth noting that alexa-app now supports custom slot type functionality like this: https://github.com/alexa-js/alexa-app/pull/275.

Some more work would be needed to expose it for folks who aren’t using the new Skill Builder schema, but it’d be straight-forward — app.customSlots has all the data you need.

Not something I personally have any interest in doing, but that’s now relatively low-hanging fruit if anyone else has the inclination.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and Edit Custom Slot Types | Alexa Skills Kit
From the left-hand navigation, click Add next to Slot Types. Click into the field for the slot type name. Edit the name and...
Read more >
Alexa not recognizing some slot values dependent on the ...
The problem is, that Alexa doesn't recognize some of my slot values, like "bed", but does recognize others like "kitchen". This applies to...
Read more >
AMAZON.LITERAL vs Custom Slot Type - Forums
LITERAL and Custom Slot Type require developer to list all possible values. ... Alexa is not designed for general speech to text.
Read more >
How to Add Custom Slot Types to Intents | Packt Hub
Have you created an intent for use with Alexa where you wanted to add your own slot types to it? If this is...
Read more >
Hello, Alexa! - David Pallmann's Technology Blog
My clock radio has been replaced by an Amazon Echo Show 5. ... B. Select Create a custom slot type with values.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found