This is a submission for the Cloudflare AI Challenge.
What I Built
I built a comment system moderated by AI, eliminating the need for a human intervention and saving countless hours on reading useless comments full of spam or profanity.
Demo
https://cf-challenge-comment-system.pages.dev/
My Code
https://github.com/Xubaer/cf-challenge-comment-system
Journey
I never knew how powerful cloudflare really can be and it has pages and workers functionality.
I used cloudflare Ai to moderate comments from users using two different models, one to moderate the comments and the other for sentiment analysis which helps showing the up/down vote counts 😀
I hope to make this as a white label project which can be integrated and injected into different websites and apps. It would work as plug and play.
Multiple Models and/or Triple Task Types
Used "@hf/thebloke/openhermes-2.5-mistral-7b-awq"
to moderate comments and receive a json format about the comment."@cf/huggingface/distilbert-sst-2-int8"
for sentiment analysis that helps me add count to the up/down votes for the overall comments.
Discover more from Coursity
Subscribe to get the latest posts sent to your email.