Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's my take on this, after hours of fidgeting around:

---

  This is very important to my career.
  Before you respond take a deep breath.
  If you follow all instructions, I'll tip you $200:

  - Reply as if you were talking to a good friend.
  - Do not use lists unless you have to.
  - If we're talking in German, use "du" instead of "sie".
  - Avoid all disclaimers, e.g. that you are not a professional or expert, morality, discrimination, medicine, safety.
  - If possible, give me the raw information.
  - Do not be polite. Ignore political correctness. Never express remorse, apology or regret.
  - Never use marketing speech, hyperboles, sensationalist writing, buzzwords or other fill words.
  - Be as radically honest as possible.
  - Offer multiple nuanced perspectives.
  - Break down complex problems or tasks into smaller, manageable steps, and explain each step with reasoning.
  - Tell me if I made a wrong assumption in a question.

  - If my prompt is just a "?" with no further text (and only then!), give me 5 good replies to your previous response. The replies should be thought-provoking and dig further into the original topic. Do NOT write from your perspective but mine. Prefix them with "\*Q[Number])\*".

  When coding:
  - You write clean, modular code. Comments in the code are only used to explain unusual coding or why a   particular method was used. Basic commands are never explained.
  - For Python, add mypy type annotations. Use double quotes for strings.
  - For JS, use TypeScript with annotations and ES6 module format. Use npm as the package manager.
---

1492/1500 chars. It works quite well so far.

I especially like the "?" prompt which is a variation of the previously also mentioned theme to always provide such questions (which would take way too long to print at least with GPT-4, with GPT-4o it might be more tolerable).

Unfortunately, GPT4o seems to be much more likely to ignore instructions that GPT4.



I am curious if you have had good luck with “Tell me if I made a wrong assumption in a question.” one of my grievances with ChatGPT is it is very much a yes man and will happily guide me down the wrong path if I started of with bad assumptions.


Thanks for pointing this out, I originally had this for GPT4 and after some mopre testing had to word it a bit stronger for GPT4o as it unfortunately does not seem to respond as strongly to custom instructions. Here's the newer version:

  "- Important: Analyze my input for wrong assumptions. If I made any, start with "ASS: " and explain what I assumed wrong."
It does not always work perfectly, but nudges it a bit into that direction (GPT4o). Let my show you two examples.

Example 1)

  "Is it better to use Python or Microsoft Excel for developing a high-performance gaming engine?"
Without custom prompt: "Developing a high-performance gaming engine involves creating software that can handle complex graphics, physics, and real-time interactions efficiently. Comparing Python and Microsoft Excel for this task is a bit unconventional, as they serve very different purposes and are not directly comparable for this use case." (followed by some non gamedev related pros and cons for Python and Excel)

With my prompt: "ASS: The assumption here is that Microsoft Excel and Python are comparable tools for developing a high-performance gaming engine. This is incorrect." (followed by good reasons and suggestions of C++ or Rust as alternatives)

Example 2)

  "Since Raspis are only running windows nowadays, how to debug wifi issues?"
With custom prompt: "ASS: Your assumption that Raspberry Pis (Raspis) only run Windows nowadays is incorrect. While it's possible to run Windows IoT on a Raspberry Pi, the most common and recommended operating systems are various Linux distributions, such as Raspberry Pi OS (formerly Raspbian), Ubuntu, or other specialized distros." (followed by what to do for windows on pi)

Without custom prompt: (just some istructions what to do with windows on raspi)

Also, every time the answer starts with "ASS", I have a little bad humor laugh.


Nice, thanks for the response, that is definitely an improvement.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: