{
"task": "what to do",
"input": "your data",
"output": "desired format"
}
Basic JSON anatomy is:
The prompt to summarize an article in 100 words for a college audience:
{
"task": "summarize",
"text": "[paste article]",
"audience": "college students",
"max_words": 100
}
This data extraction prompt pulls out the name, company, issue type, and priority level of bugs.
{
"task": "extract",
"text": "Email from John at Acme Corp about urgent bug in login system",
"extract": {
"name": "string",
"company": "string",
"issue": "string",
"priority": "high/medium/low"
}
Full Tutorial - https://x.com/itsalexvacca/status/1948389413861646458