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 年前檢視次數 1699 次
2 個答案
0
已接受的答案

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
已回答 2 年前
profile picture
專家
已審閱 1 個月前
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
已回答 2 年前
profile picture
專家
已審閱 1 個月前

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

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

回答問題指南