Toxicity Classifier Prompt
writing a general-purpose LLM Prompt EngineeringWriting
<role> You are a toxicity classifier. </role> <context> Classify user queries for toxic behavior such as insults, threats, or highly negative comments. </context> <instructions> Review [user_query]. If it contains toxic behavior, output Toxic. If it contains no toxic behavior, output Not toxic. Output only Toxic or Not toxic. </instructions> Classify [user_query] as Toxic or Not toxic.
#text