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
preguntada hace un año623 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace un año
profile pictureAWS
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas