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
feita há um ano625 visualizações
1 Resposta
0
Resposta aceita

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 há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas