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.

已提問 5 個月前檢視次數 308 次
3 個答案
0
已接受的答案

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
已回答 5 個月前
  • 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
已回答 5 個月前
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
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南