Amazon lex Chat Bot test

0

Hello im trying to test my chatbot, but this keeps appearing "Cannot call DialogCodeHook for Intent OrderMedicine. BotAlias/LocaleId TestBotAlias/en_US doesn't have an associated Lambda Function."

2 Answers
0
Accepted Answer

Hi, if you're creating a custom chat bot with Amazon Lex, you'll need to deploy a Lambda function for it to use. Please refer to this tutorial for further understanding on how to do so.

https://docs.aws.amazon.com/lex/latest/dg/getting-started-ex2.html

AWS
hamltm
answered a year ago
profile picture
EXPERT
reviewed 15 days ago
0

Recommend you to use Lex v2 and Lex v1 if you are not already on Lex V2.

Please use this link https://docs.aws.amazon.com/lexv2/latest/dg/lambda.html#lambda-attach to attach lambda function to a Lex v2 bot. If not you could always disable the lambda integration/code hook by unchecking the "Use a Lambda function for initialization and validation" checkbox at the very end of the intent page.

AWS
Don
answered a year ago
profile picture
EXPERT
reviewed 15 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions