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
feita há 2 anos731 visualizações
1 Resposta
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 há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas