SDK handle input too long ➕
yangeorget opened this issue · 2 comments
yangeorget commented
Issue:
-when a big utterance is entered, any of our 3 services can crash and crash the bot or UI
-we need to set a common min of 3 services and enforce it
Solution:
SDK TEAM:
1.Make the input length check in the SDK. Don't call the services if message is too long but trigger the complex input dialog. (limit 256 chars)
2. Prevent users from entering long sentences in playgrounds + test panel (same everywhere)
NLP TEAM:
Implement a check on all services that return an error if input is too long (trainer api classify included).
yangeorget commented
➤ Sander commented:
Maxime Khoy Sounds like also, we do not need “botfuel-complex-input dialog” anymore.
yangeorget commented
➤ Kevin commented:
Related PR #245