aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
400 stars 252 forks source link

QNAFreeText max characters #266

Closed dfetterman closed 3 years ago

dfetterman commented 3 years ago

Does the built-in response bot QNAFreeText have a max character limit and is it sanitizing the input in any way?

rstrahan commented 3 years ago

Hi @dfetterman

  1. QnABot doesn't impose a limit but Lex default limits apply.. 15secs of speech, or 1024 unicode characters.. see https://docs.aws.amazon.com/lex/latest/dg/gl-limits.html

  2. What user enters is what you get, along with sentiment detected. You could further process the free text using a lambda hook to 'sanitize' it as needed.