SQLAlchemy provide query paramerization and other checks, so in general it is pretty safe, however if you use raw sql commands, injection of code is possible as the library do not apply any specific checks. In such cases, it is advisabl;e to use the filter fuinctionality to implement such checks.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence