(no commit message)
This commit is contained in:
52
config.json
Normal file
52
config.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user