-
Notifications
You must be signed in to change notification settings - Fork 2
Individual Contribution Report Faruk Yıldırım 2
I used perspective. It provides a probability score to a text input for being harmful based on an ai language model. here is the developer page.
my apps name is commentVerification. Its basic functionality is described here. here its link
My unit tests are not well descriptive it was because of the same reason I will be mentioning below. I just tested them roughly.
My APIs request and response are based on an html file. At some point I realized that was not the best approach but too late. tried to adapt it to be usable with curl commands, but ı was not able to convert my front end such that it sends a formatted json requests to my API. therefore I leave my backend as it is. But you can try it out with web page.
The hardest part for me was preparing swagger since I didn't implemented my back-end to receive and return good formatted json responses. For that reason, I couldn't complete the swagger documentation for the POST request of the moderate_comment endpoint.