Search code examples
amazon-lex

How to make slot to except ANY string in Lex?


I have a user case where user needs to provide feedback. I have made an intent for taking feedback but I am confused for the slot type.

Can we set slot matching to regex or is any other hacky way available?


Solution

  • I've noticed the built-in slots AMAZON.MusicCreateWorkType and AMAZON.Musician seem to let you say anything, although maybe everything I said happened to either be a song title or a band name.