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
asked 2 years ago719 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions