You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode AI chatbots: why the answer is written for you, not looked up

How ChatGPT and other AI chatbots answer your question

System prompt: the hidden text an AI chatbot adds to your question

Before an AI chatbot reads your question, it gets a long text. You never typed this text, and you never see it. Someone wrote it before you pressed Send, and it affects every answer.

  1. 1 Meet Rono. He works at the company behind the chatbot, and he wrote the text above your question before you ever asked about your plant.RonoToday's dateBe warm.Keep it plain.Every chat startswith my text.

    Meet Rono. He works at the company behind the chatbot, and he wrote the text above your question before you ever asked about your plant.

  2. 2 Your question leaves your phone alone. On the company's computers, Rono's text goes on top of it. This text is the system prompt, and it never shows in your chat.the company's computerssystem promptyour question

    Your question leaves your phone alone. On the company's computers, Rono's text goes on top of it. This text is the system prompt, and it never shows in your chat.

  3. 3 The model gets both as one text, and that whole text is the prompt. The part you typed is only its end.systempromptyourquestionthe promptRono's text first,then yours.

    The model gets both as one text, and that whole text is the prompt. The part you typed is only its end.

  4. 4 Rono wrote nothing about plants, yet his text shapes the answer: it comes out warm and plain.Warm and plain,as the systemprompt asks.Checkthesoilfirst.example answer

    Rono wrote nothing about plants, yet his text shapes the answer: it comes out warm and plain.

  5. 5 One problem, though: the model cannot read a single letter of it.Be warm.Keep it plain.My plant islosing its leaves.What are allthese marks?

    One problem, though: the model cannot read a single letter of it.

  6. Quick check

    Same model, two apps.A cooking app anda bank's help chatuse the same model.The cooking app onlytalks about food.How?

    Same model, two apps.

    Show the answer

    Its system prompt tells the model to stick to cooking. Same model, different text above your question.

  7. Go further

    System prompts you can read, and the everyday meaning of "prompt".published system promptsAnthropic publishes thesystem prompts of itsClaude apps. The one forClaude Opus 5.5 runs about4,000 words"prompt" in everyday talkMany people say promptfor the part they type.The model gets thewhole text

    System prompts you can read, and the everyday meaning of "prompt".

Next episode Tokens: the pieces an AI model gets instead of your words

Share this comic

More comics