How to accept free text as input / slot? Is there any way apart from using a custom slot and providing a huge list? Since Literal slot types are deprecated, how to provide a free text/string input to alexa?
Asked
Active
Viewed 7,302 times
2 Answers
9
For a slot that accepts a free text you can use the Slot-type: AMAZON.SearchQuery

Vas Giatilis
- 1,086
- 12
- 16
-
2this should be marked as the right response as SearchQuery is the closest you can get to the deprecated LITERAL – German Nov 11 '18 at 20:21
3
No, just custom slots or the literal type. You're question is addressed in this Amazon blog post:
Why a Custom Slot is the Literal Solution https://developer.amazon.com/blogs/post/Tx3IHSFQSUF3RQP/why-a-custom-slot-is-the-literal-solution
But note the recent update "Based on developer feedback we will not remove the LITERAL slot type and you can continue to submit skills that include its functionality."
But the literal type was never supported outside EN-US (US customers) and I imagine that will remain the case which limits its usefulness.

Tom
- 17,103
- 8
- 67
- 75