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
已提問 2 年前檢視次數 731 次
1 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南