cancel
Showing results for 
Search instead for 
Did you mean: 

Handling longer chat messages in SAP CAI

0 Kudos
369

Hi together!

We are currently developing a chatbot with SAP CAI and came across a very crucial problem. As far as we can tell from our research, SAP CAI is not able to handle incoming messages that are longer than 512 characters. This is, however, important for our scenario as our users tend to write messages that can be longer than this limit (at least for Facebook Messenger, messages can be up to 2000 characters long). When this limit is reached, there is no response from the SAP CAI system, resulting in a very bad user experience.
Therefore I’d like to ask if there is a known fix or workaround for this problem. Even a simple fix like throwing an error/fallback message or splitting the message into multiple messages would help in our scenario.

Thanks in advance!

View Entire Topic
former_member616825
Participant
0 Kudos

Hi fbskp currently SAP CAI does not support sentences longer than 512 chars. If you want to manage those kind of sentences, you should split them. SAP CAI is doing NLP on sentences, if you want to do text (large texts, articles or paragraph) analysis I would recommend using SAP Leonardo Machine Learning tools