The @ symbol in Python is used to decorate a function or a method.

Decorators are used to modify or extend the behaviour of a function without changing its original code. Decorators can be used to add extra functionality to your functions, such as logging, caching, or verifying arguments. They can also be used to control access to resources, such as databases or files.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence