dspy-text-agent / optimized_tone.json
ejarbe's picture
Upload optimized_tone.json with huggingface_hub
cf34ec2 verified
Raw History Blame Contribute Delete
957 Bytes
{
"traces": [],
"train": [],
"demos": [
{
"text": "Hey! Let's grab coffee soon!",
"tone": "casual"
}
],
"signature": {
"instructions": "You are tasked with determining the tone of a short, informal invitation message in a high‑stakes situation: a misread tone could lead to offending a VIP guest or causing a scheduling conflict. Read the given text and classify its tone as exactly one of the following: casual, friendly, formal, urgent, neutral, professional, warm. Output only the selected label, with no additional explanation.",
"fields": [
{
"prefix": "Text:",
"description": "${text}"
},
{
"prefix": "Tone:",
"description": "one of: casual, friendly, formal, urgent, neutral, professional, warm"
}
]
},
"lm": null,
"metadata": {
"dependency_versions": {
"python": "3.12",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}