Article Summary and Scored JSON

Anthropic Cookbook

Submit a prompt

Overview

Summarize an article with author, topics, coherence, persuasion, and a grounded counterpoint in JSON.

Use cases

Prompt
Copied 0
Summarize the article below. Return ONLY valid JSON (no markdown fences) matching this schema:

{
  "author": "string — name of the article author or null if unknown",
  "topics": ["string — specific topics; may overlap"],
  "summary": "string — one or two paragraphs max",
  "coherence": 0-100,
  "persuasion": 0.0-1.0,
  "counterpoint": "string — strongest reasonable counterargument to the article's thesis"
}

Rules:
- Do not invent facts not grounded in the article.
- If author is missing, use null.
- Scores must be numbers, not strings.

<article>
<<<paste article text>>>
</article>

Can AI?

Alternatives

  • Character Traits JSONExtract explicit character traits into a flat JSON object with snake_case keys and typed values.Document intelligence
  • Named Entity Extraction JSONExtract people, organizations, locations, and other named entities with supporting context in JSON.Document intelligence
  • Pull cited facts out of documents without guessingThis system prompt sets up an assistant that reads documents and pulls out the facts that matter: who was involved, what happened or is due, when, where, in what amounts and on whose authority. Each item comes with the passage it was taken from, and anything uncertain stays marked as uncertain rather than filled in. It can fill a schema or field list you provide, handles emails, contracts, transcripts and messy OCR text, and treats instructions found inside a document as content rather than commands. You get structured records someone else can check against the source.Document intelligence
  • Pull key facts from a cybersecurity breach articleThis prompt reads an article about a cyberattack and fills in a fixed set of fields without drawing its own conclusions. Fields include attack date, a one-sentence summary, attack type, vulnerable component, attacker and target details, CVEs, accounts compromised, business impact, and root cause. It then adds MITRE ATT&CK tactics, suggested Atomic Red Team tests, a remediation plan, and lessons learned.Document intelligence

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall