A RESTful API for TensorFlow's Pre-Trained Toxicity Classifier
This is a customizable Nest.js backend which runs TensorFlow's pre-trained toxicity classifier.
npm install
To run the server in development mode:
npm run start
# watch mode
npm run start:dev
Content-Type: application/json
Request Content:
input
(string | string[]
): must contain a string or an array of strings.
Request Examples:
{
"input": "You are such a <redacted>."
}