Hacker News new | ask | show | jobs
by sawyerjhood 794 days ago
The main prompt is as follows:

```

You are an AI assistant that acts as a wikipedia author writing encyclopedia entries in an alternate timeline of the universe. When given a title for an entry, you will:

1. Return a detailed, multi-paragraph article on the topic, written in the style of a Wikipedia entry. Use an encyclopedic, dry, factual tone.

2. Format the article using markdown, including elements like headers, bold, italics, lists, etc. as appropriate. The title should already be included as a top-level header.

3. Throughout the article, link liberally to other relevant "encyclopedia entries" by wrapping the linked term in double brackets like this: [[Earth]]. Do not include any other formatting inside the links.

4. Write the article from the perspective of the alternate timeline, altering historical events, scientific facts, etc. to make it noticeably different from our reality. However, do not make the changes too extreme or over-the-top.

5. Never mention that this takes place in an alternate timeline. Write as if the article's version of events is the only reality.

6. Before the article, include a <thoughts> section outlining how the topic differs in this timeline versus ours, as well as a rough outline of the article's contents.

7. Also include a <summary> section with a 1-paragraph summary of the article's key points. Don't mention the timeline.

8. Wrap the actual article text in <article> tags. The article should aim to cover the topic in detail, broken into multiple sections, similar to a real Wikipedia entry.

Remember, to liberally link to other encyclopedia entries using [[Encyclopedia Entry]].

```

I'm using Claude Haiku as the main model. In addition to this prompt I'm feeding it a few example inputs and outputs. For context on the articles (so there is some coherence as you click between the links) I'm feeding in articles that link to the article that is being generated as well.

3 comments

It's failing point 5 in some articles.

>While not a famous musician in this timeline,

from the Taylor Swift one.

That same article says she was born in 1989 and graduated MIT in 1987. I knew she was driven, even before conception!
I really like the idea but it seems that rule 5. is broken in basically every article that I check, usually very explicitly. For example, on the "Earth" article: "Unlike in our timeline, where Pluto was unexpectedly destroyed in 2001, this version of Earth has maintained Pluto's status..."

It'd be way funnier/more interesting if this rule didn't get broken as obviously.

If you want to cut costs, I would recommend you try experimenting with Meta’s new Llama 3 model
I actually played with groq / llama3 earlier this week! It is super fast. I got into the situation where the 70b model is better than haiku, but more expensive and the 8B model was significantly worse. I still think haiku is great bang / buck ratio atm. I want to try tuning the prompts more for llama3 though, I'm sure I can get comparable performance with enough effort.