Creating a Custom Slot Type for Yes/No Responses in AWS Lex

0

Hi everyone!

I'm new to working with AWS Lex and I'm seeking some guidance on creating a custom slot type specifically for yes and no answers. Can anyone kindly provide me with instructions or point me in the right direction to achieve this? I'd really appreciate your help!

Thank you!

sophie
demandé il y a un an623 vues
1 réponse
0
Réponse acceptée

hi Sophie, you can define a custom slot with your name like YesOrNo, then your choose Expand Values(this is the referred one), you can also use Restrict to slot values if you have lots of training data from your previous chat logs.

then in your flow design, you can use the condition like if {yourslot} = yes or no to implement different branches.

hope that helps.

AWS
répondu il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions