home/writing/deepset-summarization-chain-of-density

Deepset Summarization Chain of Density

GPTClaudeGemini··1,185 copies·updated 2026-07-14
deepset-summarization-chain-of-density.prompt
This prompt is designed to produce a summary for each document provided in `documents`.
It uses a technique called "chain of density" (from https://arxiv.org/pdf/2309.04269.pdf), that iteratively refines the summary in each step.
The prompt yields 5 summaries of the article with increasing density. Typically, users prefer summary 4 or 5.

## How to use in Haystack

when to use it

Community prompt sourced from the open-source GitHub repo deepset-ai/prompthub (Apache-2.0). A "Deepset Summarization Chain of Density" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

deepset-ai/prompthub · Apache-2.0