Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect User Input Capture #797

Open
preethy-1 opened this issue Jan 10, 2025 · 1 comment
Open

Incorrect User Input Capture #797

preethy-1 opened this issue Jan 10, 2025 · 1 comment
Labels

Comments

@preethy-1
Copy link

Hi,

When clicking the button in the bot, as shown in the debug response, the 'User Input' is being captured incorrectly, although the response is generated correctly. The 'User Input' is derived from the chaining rule of the response intent.

image
image

Here, the correct User Input should be: 'What information is needed for my last 2 years of employment?' However, in the debug response, the 'User Input' is recorded as 'rateresponse', this is getting from the chaining rule. This incorrect input text is also being stored in the chat history, making it impossible to retrieve the accurate user input text for the response.

Since the stack cannot be modified, what potential solutions can we implement in the Lambda function to address this issue?

@fhoueto-amz
Copy link
Member

fhoueto-amz commented Jan 10, 2025

@preethy-1
It would be good to share the exact steps to reproduce so that we can help. Do you need the debug on, create a question with chaining, click on what?
Also what version? I would strongly suggest you use the issue template to make sure you are providing us a complete set of information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants