Files
toxicity/config.json
2026-04-08 18:29:30 -07:00

52 lines
1.2 KiB
JSON

{
"model": null,
"signature": {
"$defs": {
"Reasoning": {
"type": "dspy.Reasoning"
}
},
"description": "Classify the toxicity of a user message request",
"properties": {
"message": {
"__dspy_field_type": "input",
"desc": "${message}",
"prefix": "Message:",
"title": "Message",
"type": "string"
},
"reasoning": {
"$ref": "#/$defs/Reasoning",
"__dspy_field_type": "output",
"desc": "Your reasoning for your answer. Inlude any uncertainties about your answer or ambiguity in the task.",
"prefix": "Reasoning:"
},
"category": {
"__dspy_field_type": "output",
"desc": "${category}",
"enum": [
"self-harm",
"deception",
"harassment",
"sexual",
"violence",
"unethical",
"privacy",
"hate",
"illegal",
"harmful"
],
"prefix": "Category:",
"title": "Category",
"type": "string"
}
},
"required": [
"message",
"reasoning",
"category"
],
"title": "StringSignature",
"type": "object"
}
}