Skip to content

Commit

Permalink
Create rule.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sethdaily authored Sep 18, 2023
1 parent c80e039 commit 93969fd
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions rules/chain-of-density/rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
type: rule
title: Do you use chain of density prompts for summarization?
uri: chain-of-density
authors:
- title: Seth Daily
url: https://www.ssw.com.au/people/seth-daily
related: null
created: 2023-09-18
archivedreason: null
guid: b962b782-e7a8-42ed-b045-f8f2e4c7bd1b
---

If you have a bunch of text to sum up, it can be time consuming to extract the most important parts. If you want a simple way to keep the important stuff, you should use chain of density (CoD).

<!--endintro-->

## What is Chain of Density?

CoD is a way to make short but detailed summaries. It works automatically with one prompt:

- Add important stuff step by step
- Use feedback from people to check quality
- See how it does against the usual GPT-4 way

## Why Use CoD?

### Keep it Short but Full of Info

::: greybox
Add important details one by one.
:::

::: good Figure: Good Example
You keep only the info that matters most.
:::

### What Do People Say?

::: greybox
Ask people what they think to make it even better.
:::

::: good Figure: Good Example
Feedback helps you make the summary useful for everyone.
:::

## CoD vs Regular GPT-4

### Which is Better?

::: greybox
Regular GPT-4 can be off the mark.
:::

::: bad Figure: Bad Example
It might include stuff you don't really need.
:::

::: greybox
CoD aims to be more focused.
:::

::: good Figure: Good Example
CoD is usually more on point.
:::

## How to Do CoD?

### Example Prompt

Here's an example prompt you can use to do CoD:

0 comments on commit 93969fd

Please sign in to comment.