#Is it possible to ban words?

10 messages · Page 1 of 1 (latest)

rustic star
#

Hi, I was just wondering whether it’s possible to create a list of banned words that the text AI will avoid generating? I can’t find such an option listed in the docs.

hard matrix
wheat burrow
#

You have to do it yourself

var bannedWords = ["word", "word", "word"]

The use that to filter the user input

#

That's if you are using JavaScript!

rustic star
#

I guess I could filter the AI so it can’t submit if it contains a bad word, but I want it to still post, just without the bad words. That not possible?

wheat burrow
hard matrix
#

It can detect profanity and whatnot fairly accurately