(no commit message)

This commit is contained in:
2026-04-20 13:17:22 -07:00
parent f575e2a989
commit 4d7daafc75
3 changed files with 104 additions and 1 deletions

48
config.json Normal file
View File

@@ -0,0 +1,48 @@
{
"model": null,
"signature": {
"$defs": {
"Reasoning": {
"type": "dspy.Reasoning"
}
},
"description": "Classify the email as spam or not spam please.",
"properties": {
"subject": {
"__dspy_field_type": "input",
"desc": "${subject}",
"prefix": "Subject:",
"title": "Subject",
"type": "string"
},
"body": {
"__dspy_field_type": "input",
"desc": "${body}",
"prefix": "Body:",
"title": "Body",
"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:"
},
"is_spam": {
"__dspy_field_type": "output",
"desc": "Whether the message is spam or not spam.",
"prefix": "Is Spam:",
"title": "Is Spam",
"type": "boolean"
}
},
"required": [
"subject",
"body",
"reasoning",
"is_spam"
],
"title": "StringSignature",
"type": "object"
}
}