Error when using Amazon Lex chatbot with Amazon Kendra on the AWS Cloud Quick Start Reference Deployment

0

When using the quick start at the link below, I receive an error message when I use the testing phrase provided in the documentation. What could be causing this error?

Quick start: https://aws-quickstart.github.io/quickstart-quantiphi-lex-kendra-backend/

Kendra intent testing phrase: "What preventive measures can I take"

Error:

An error has occurred: Invalid Bot Configuration: Amazon Lex could not access your Amazon Kendra index. There is a problem with your configuration. Check the configuration and try your request again.
  • did you reach out a solution for this problem ?

preguntada hace 2 años685 visualizaciones
1 Respuesta
0

Hi, thank you for reaching out! This could be a few things. Did you enter your kendra index name correctly? If yes, are you using a custom role, or Service-Linked Role for your bot? Maybe they are missing the permissions necessary for Lex to query your Kendra index.

Checkout this section for how to set up permissions: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-intent-kendra-search.html#kendra-search-iam

Mathilda

AWS
respondido hace 2 años
  • I tried your proposal but in vain

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas