Slot type works different for slots AWS LEX

782 Views Asked by At

I have two slots with the same slot type but they work differently.

  1. Slot name slotOneBOne with free text slot type does not accept ok but Slot name slotOneBTwo with same free text slot type accept ok

e fre

enter image description here

  1. Slot name startMessage with free text slot type accept let's do but Slot name slotOneDOne with same free text slot type does not accept let's do

enter image description here

  1. Some slots only accept the exact slot type value that is used to train.

Slot Type free text having 1000 values, I used this article where we have a code that gets freetext from Python https://aws.amazon.com/blogs/machine-learning/create-a-translator-chatbot-using-amazon-translate-and-amazon-lex/

enter image description here

I am using Return parameters to client.

Need help :(

1

There are 1 best solutions below

3
On

It's tough to say without really knowing how your custom slot types are configured and what sort of Lambda's are supporting the bot. With regards to question 3; I would hazard a guess that you're using an enumeration for the slot which is why only the exact values are detected correctly.