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
posta 2 anni fa731 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande