Can I query Kendra from Lex without AMAZON.KendraSearchIntent ?

0

I've a spanish Lex v2 bot and AMAZON.KendraSearchIntent is only available in english.

There is any other way to integrate this bot with Kendra?

Thanks

Nacho
preguntada hace 2 años731 visualizaciones
1 Respuesta
0

Hi, Thank you for reaching out!

AMAZON.KendraSearchIntent is a native integration with Lex, however you can always invoke Kendra within your Lambda function.

In your custom intent, you can use your Lambda to call the Kendra index, then the Lambda response can populate the request attributes like this: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-intent-kendra-search.html#kendra-search-response with the response from your Kendra query.

These request attributes will be come available to be picked up in Closing Response. :)

I hope this helps!

Mathilda

AWS
respondido hace 2 años

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