Prompting Tips

A prompt is generally made up of up to four elements:

  1. Instruction - a specific task or instruction you want the model to perform.
  2. Context - external information or additional context that can steer the model to better responses.
    You can provide additional context with a persistent instruction (though not all platforms offer this feature) also known as a custom instruction.
  3. Input Data - the input or question that we are interested to find a response for. This might be pasted text, a link to a website, or a document, depending on the platform you are using.
  4. Output Indicator - the type or format of the output. Again, this can be covered generally in a persistent instruction.

Prompts: Do


Prompts: Don't


More Tips

  • Chain of Thought commands: LLMs are, ironically, not very good at algorithmic tasks, and especially poor at maths and logic puzzles (though improving all the time). If you want the model to carry out an algorithmic task, it can be useful to ask the model to show its reasoning or chain of thought, or work "step by step". For example, if you wanted the model to suggest a litigation strategy.
  • Persona prompts: Asking the LLM to respond as if it were a certain persona (like "High Court Judge" or "skilled negotiator") can be an effective technique to deliver a response in the style you want.