aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
384 stars 247 forks source link

Kendra Web Cwaler is executed, but the KendraCrawlerSNSTopic that launches the ClowlerLambda is not triggered #742

Open k-kawamura008 opened 2 weeks ago

k-kawamura008 commented 2 weeks ago

Describe the bug I have run Kendra Web Crawler and confirmed that the web crawl is successful, but the SNS (KendraCrawlerSNSTopic) that triggers the CrawlerLambda is not triggered. https://github.com/aws-solutions/qnabot-on-aws/blob/main/source/docs/Technical%20Information.md#sns The above says that the SNS (KendraCrawlerSNSTopic) that triggers the CrawlerLambda is triggered when the Kendra Web Crawler is executed, but is this documentation wrong?

To Reproduce

  1. Set and update KendraID in QnABot stack.
  2. Go to Designers UI > Settings
  3. Change ENABLE_KENDRA_WEB_INDEXER: true, KENDRA_INDEXER_URLS: https://aws.amazon.com/lex/faqs/ , KENDRA_INDEXER_SCHEDULER: rate (1 day) (from now on, implement Guide > Advanced setup > Integrating Amazon Kendra > Web page indexer)
  4. Designers UI > Amazon Kendra Web Crawler > START INDEXING
  5. Check Status:COMPLETE WITH ERRORS
  6. Check ClientUI > What is Lex?
  7. Check KendraCrawlerSNSTopic from AWS console, but no subscriptions are set and there is no evidence of Topic activity
  8. Add an Email to the subscription of KendraCrawlerSNSTopic and perform steps 4-6 again, but no Email is received

Expected behavior When the Kendra Web Crawler is executed, an API is called in ContentDesigner and the SNS (KendraCrawlerSNSTopic) that triggers the ClowlerLambda is triggered

Please complete the following information about the solution:

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.

abhirpat commented 2 weeks ago

Hi @k-kawamura008 , thank you for reporting this. We'll look into this and get back to you.

fhoueto-amz commented 3 days ago

Hi Thanks for pointing this out. The KendraCrawlerSnsTopic is not currently used. We will plan on updating the code and the documentation.