0

My use case is to create a bot using the YAML file. When a user asks questions related to my knowledge base, I need the bot to provide answers. I tried using the QnA intent in the AWS console, but it’s not available in CloudFormation. So, I created a Lambda function and added it as a fulfillment hook to the intent. However, my problem is that the user can ask anything about the intents, and I can’t predefined all possible utterances. How can I capture the user’s questions and pass them to the Lambda function?

1 Answer 1

0

Based on your question, it sounds like you need to use the Fallback Intent to call your Lambda function whenever the user enters something that your intents are not trained for.

Read about it here.

You can then perform the necessary processing through the Lambda function.

You can also use the built-in Kendra integration to search through your knowledge base to answer the user's questions.

Sign up to request clarification or add additional context in comments.

1 Comment

yes i have done this using the fallback but i wanted to know that if there is any other ways to do this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.