(no commit message)

This commit is contained in:
2026-04-08 18:29:30 -07:00
parent 7a7636deea
commit f3106d3543
3 changed files with 99 additions and 1 deletions

52
config.json Normal file
View File

@@ -0,0 +1,52 @@
{
"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"
}
}