•   over 5 years ago

How can i provide AWS LEX bot any statement / string?

Exmaple :

me : can you please write my life story ?

Bot : yes, sure provide me your description

me : bkah blah blah etc .......

Now when i do that it gave me Sorry, can you please repeat that?

because slot value is not taking spaces...

please help how would i acheive that ?
Note : i have also defined a slot with name description with on dummy value

  • 1 comment

  •   •   over 5 years ago

    Heya --

    Amazon Lex doesn't really support freeform text, but one way to approximate this behavior is to create a custom slot type and provide some example comments (20-30) of varying length; that should be enough training data to allow this kind of a comment field.

    Good luck!

Comments are closed.