how we can invoke the intent automatically in Amazon Connect.

0

I have created an Amazon Lex bot with around eight intents. I want to invoke Amazon Lex intent without providing simple utterance. how i could invoke it without providing utterance. Please someone assist me in this regard.

3 Respuestas
0
Respuesta aceptada

Can you explain your use case for this intent. Is it always going to be no utterance? Are you ignoring the utterance regardless? Or if they say something, you will use it, and if they dont, you want some specific utterance as default?

So depending on where is this a bot calling from like using Amazon Connect, you might get a timeout. Then you can use RecognizeUtterance https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html to tell the bot on what the intent will be in advance. Then you call the bot again it will execute the intent since it got the utterance out of band.

profile pictureAWS
respondido hace 5 meses
  • I have created a contact flow in which we used "Get Customer Input" block. in which we use amazon Lex bot with only one intent. I want to capture user input without providing utterance to invoke the intent. What should i do to invoke the intent without proving utterance.

0

If the intent has a slot that you want to capture then you can have a look at this blog. https://aws.amazon.com/blogs/machine-learning/manage-dialog-to-elicit-amazon-lex-slots-in-amazon-connect-contact-flows/

profile pictureAWS
respondido hace 5 meses
0

Hi Muhammad, I believe you can configure a Lambda function to do this. Provide an input based on the intent you want to invoke in the Lambda function. See the documentation on Amazon Lex V2 . Once you complete the Lambda function setup (completing all parameters), you can now invoke the Lambda function.

AWS
JoeWil
respondido hace 5 meses

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