aws-samples / amazon-q-teams-gateway

MIT No Attribution
11 stars 3 forks source link

Handle error for user input without any text (emojis, gifs, file upload without any text instructions) #11

Closed chavi289 closed 7 months ago

chavi289 commented 7 months ago

Important: Bug reports submitted here should relate specifically to the open source sample amazon-q-teams-gateway project. Do not submit bugs related to the Amazon Q service itself.
If your issue relates to Amazon Q setup, user provisioning, document ingestion, accuracy, or other aspects of the service, then first check the Amazon Q documentation, and then reproduce the problem using the Amazon Q console web experience before engaging AWS support directly. Thank you.

Describe the bug Processing fails and error is returned when user enters an input without any text (emojis, gifs, file upload without any text instructions) image

To Reproduce Steps to reproduce the behavior:

  1. Enter a user emoji, gif or file without any text

Expected behavior Detect that no text input was specified and return a user-friendly message. for e.g. "No text detected in input. How can I help?"

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.