You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
I'd like to use BST to test utterances/intents where the slot is a multi-value slot. But it doesn't work, because Alexa.getSlotValueV2(handlerInput.requestEnvelope, slotName) returns null. That's because BST doesn't support the "List" slot type.
For example, given a multi-value slot named "cities" of type "AMAZON.US_CITY", and an utterance of "I like Dallas, Detroit, and San Antonio", the slot JSON looks like this when run through BST:
{"cities":{"name":"cities","value":"Dallas Detroit and San Antonio","confirmationStatus":"NONE"}}
That same slot, when run in a deployed skill looks like this:
Notice the "slotValue" property and the breakout of each city.
Describe the solution you'd like
I'd like to be able to test multi-value slot intents the same as BST already supports single-value slots.
Describe alternatives you've considered
I probably could create a filter that populates the request to match the structure of a multi-value slot. But that is non-ideal. BST should support multi-value slots, which has been a feature of ASK since mid-2020.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
I'd like to use BST to test utterances/intents where the slot is a multi-value slot. But it doesn't work, because
Alexa.getSlotValueV2(handlerInput.requestEnvelope, slotName)
returnsnull
. That's because BST doesn't support the "List" slot type.For example, given a multi-value slot named "cities" of type "AMAZON.US_CITY", and an utterance of "I like Dallas, Detroit, and San Antonio", the slot JSON looks like this when run through BST:
That same slot, when run in a deployed skill looks like this:
Notice the "slotValue" property and the breakout of each city.
Describe the solution you'd like
I'd like to be able to test multi-value slot intents the same as BST already supports single-value slots.
Describe alternatives you've considered
I probably could create a filter that populates the request to match the structure of a multi-value slot. But that is non-ideal. BST should support multi-value slots, which has been a feature of ASK since mid-2020.
The text was updated successfully, but these errors were encountered: