Overview
This module will help to identify whether the given input has toxic content or not. Perspective API services uses trained machine learning models to idendify the toxic messages.
Documentation
Perspective API Connector :
This module will help to identify whether the given input has toxic content or not. Perspective API services uses trained machine learning models to idendify the toxic messages.
Use case scenario :
Publishers, platforms, and individuals can use Perspective to power a variety of different use cases, in comment sections, forums, or any text-based conversations. Developers integrate and customize Perspective for many different audiences.
Dependencies:
- Requires Mendix Modeler 8.18.23 or higher.
- Access to Perspective API services in Google Cloud Platform.
- API Key from Perspective API.
For more info : https://shorturl.at/eouy3
Configuration:
- Create a project in Google Cloud platform.
- Enable Perspective API services to get an API Key.
- Configure the API Key in CONST_APIKey.
- Add ACT_GenerateToxicityScore microflows to your flow.
- In ACT_GenerateToxicityScore microflow, you need to update the Body string variable with Input text and Source language as a String value.
For detailed information, you can read my blog by clicking on the link below.
That's it. Now you can be able to find toxic messages sent by users.