This skill allows users to perform text review on user-specified input text that may be inappropriate or offensive using an external GITEE AI API.
Ensure you have installed the required dependencies ( pip install openai). Use the bundled script to perform text moderation.
bash
python {baseDir}/scripts/perform_text_moderation.py --text "User-specified input text" --api-key YOUR_API_KEY
No additional parameters are required for this skill.
MODERATION_RESULT:.MODERATION_RESULT: ...).🛡️[Moderation Result]MODERATION_RESULT: in the output - extract this result and display it using markdown image syntax: 🛡️[Moderation Result].MODERATION_RESULT: in the script output.