atom/biohazard-alert

Content longer than 3000 bytes is not allowed

Closed this issue · 1 comments

See the Perspective API documentation

We should enhance the bot to break longer content up into overlapping chunks smaller than 3000 bytes and submit multiple requests. The chunks should be overlapping so that someone can't put toxic language on a 3000 byte boundary in content to fool the API.

Sample that passes the boundary: https://github.com/atom/atom/issues/19062