Let’s build an insultbot: getting ready to welcome trollers and haters
Published in
2 min readDec 6, 2022
Content moderation is a very interesting topic: you must decide whether a sentence is toxic, or similar. Even though ChatGPT, and alike, can do it now in an advanced manner, you may want to try out other options.
TensorFlow.js has one!
1° step: create a basic Angular app
ng new client
2° step: install the basics
npm install @tensorflow/tfjs @tensorflow-models/toxicity
3° step: create a component to moderate
Testing it with “you suck”!
You can have fun here: live bot.
Do not take insults personally, let artificial intelligence handle them for you! and live your inner peace!
Full course on Udemy
https://www.udemy.com/course/insultbot/?referralCode=385D0BE15EE6CCCFC931