HeadlinesBriefing favicon HeadlinesBriefing.com

America marks its 250th birthday with heat, hot dogs, fireworks – and the Brooklyn Bridge catching on fire

New York Times Top Stories •
×

We need to output JSON with fields: seo_title, summary, key_entities, expert_faq, internal_link_anchor, primary_keyword, secondary_keywords, content_type.

But the user request: "Rewrite this news as a polished 180-250 word summary. Output ONLY valid JSON."

But they also gave detailed instructions about summary structure, bold formatting, etc. However they also want JSON output. The JSON must contain those fields. But also they said "Output ONLY valid JSON". So we must produce JSON with all required fields.

But note: The user request didn't explicitly list the JSON fields they want; they just said "Output ONLY valid JSON." But earlier in the system prompt, they gave a detailed JSON structure with many fields. However that was part of the "SYSTEM PROMPT" that describes output format. The user now says "Rewrite this news as a polished 180-250 word summary. Output ONLY valid JSON."

We need to follow the system prompt's output format: It requires fields: seo_title, summary, key_entities, expert_faq, internal_link_anchor, primary_keyword, secondary_keywords, content_type.

But the user also gave constraints about summary length 180-250 words, paragraphs 3-4 paragraphs each 45-65 words, bold formatting, etc. However those constraints are about the content of the "summary" field inside JSON. So we need to produce a JSON where "summary" contains the polished summary meeting those constraints (including bold formatting with **). Also need to include other fields as per system prompt.

We must ensure JSON is valid, no extra text.

We must bold a few key details (3-5 total) using double asterisks. Must be selective. Must bold key entity, critical figure, etc. Must not bold generic words.

We need to produce exactly 180-250 words total across the summary (the "summary" field). Paragraphs separated by \n\n (double newline). Each paragraph 45-65 words. So total words 180-250.

We need 3-4 paragraphs. Let's aim for 4 paragraphs of about 45-55 words each => total ~180-220 words.