From the cookbook's summarization guide. A focused prompt for sublease/legal agreement summarization that uses a system role, explicit section headers, an XML output format, prefil
From the cookbook's summarization guide. A focused prompt for sublease/legal agreement summarization that uses a system role, explicit section headers, an XML output format, prefil
OpenAI's recommended pattern for summarizing an article into a fixed schema. Each field is described inline so the model knows exactly what the JSON shape means. Source: https://co
Opening sections of Perplexity's leaked system prompt. Strict on inline numeric citations, markdown structure, no moralization, and no "based on search results" hedging. Source: ht
Two prompt chain for grounded QA. Prompt 1 pulls verbatim quotes; prompt 2 turns those quotes into the final answer. Forcing extraction first cuts hallucination dramatically. Promp
Also from the cookbook summarization guide. The 'reduce' step that combines per chunk summaries generated cheaply with Haiku into one coherent, sectioned final summary using Sonnet