I am using AWS Kendra and would like to have the Experience Builder Prompt for a Choice

0

I am using Kendra and have loaded a number of documents from EU and from North America sources. When you ask a question of the data the answer should be dependent on the region . Example if a user says "What is the process to open a new account? " I would like Kendra to say "Which Region" EU or North America " . Based on the choice of the region a different document would be referenced. Can this be done within Kendra or do i need to use AWS Lex as well as part of the solution? Any assistance appreciated .

Amevy
preguntada hace 10 meses558 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hi Amevy, You can use Amazon Lex for the use case where you have to prompt the user to enter a required input, then trigger an Amazon Kendra Search using a Lambda function. In Amazon Lex, you need to configure an intent with slot type as AMAZON.City or AMAZON.Country or AMAZON.State or a custom slot type and add a 'valueElicitationPrompt', prompting the user to enter the input (Refer the attached Lex code).

Check this blog post on Smarter FAQ bots with Amazon Kendra on a similar use case with sample Amazon Lex code here, and the sample Lambda code here

AWS
respondido hace 10 meses
profile picture
EXPERTO
revisado hace 2 meses

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