1 Answer
- Newest
- Most votes
- Most comments
0
Hello AWS-User-6597632, Let us know if you still need help with your Lex V2 issue.
Relevant content
- asked 3 months ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
Hello AWS-User-6597632, Let us know if you still need help with your Lex V2 issue.
Hi, we will be able to help you better if you can share more details abot your experience? Are you seeing an error from Lex or you are getting a response which is not expected? It can be heplful if you can share the JSON reponse that Lambda function is returning to Lex and the message configured in Closing Response.
Hi Saket, I am not getting any error, I am looking to append a content type message group, Currently after lambda invocation I am only getting one message and the configured closing response is not getting added. Current :
"messages": [ { "content": "Answer.", "contentType": "PlainText" }
Expected :
"messages": [ { "content": "Answer.", "contentType": "PlainText" }, { "content": "Closing Response.", "contentType": "PlainText" }
Hey, without having sufficient information of your setup. I am guessing the fulfillment Lambda function is returning a message back and bot is only responding with that message. If you are doing so then Lex bot will only respond with the message set by the lambda. You cannot use both the message in Lambda and Closing repsonse together.
Hello, just wanted to follow up and see if you are still working through surfacing the closing response correctly?
As Saket mentioned it would be good to know the below information to better help answer your questions:
invoking a lambda function to get QnA response
is this a CodeHook Lambda or a Fulfillment Lambda?Thank you for your time, please let me know if I can provide any additional clarification questions.