- minify code while debugging; minified code without line breaks and redundant whitespaces can save up to 50% tokens
- even when the minification breaks the syntax, ChatGPT will still understand it and will output code well formatted (most of the time)
- use an autocontinue userscript when working with code that has more than 300 lines
- if you get lost while debugging with ChatGPT, ask for a new approach
- periodically ask ChatGPT to reflect on the code
- before starting to work on something, let ChatGPT create a thorough outline
- if you encounter an error in GPT-written code, just send the error (and the corresponding code) to ChatGPT; remember to request new approaches if you hit a wall
- when ChatGPT is tasked to generate lists, it will often lose track of the original goal; let it repeat the task for every list item
- Prompt engineering techniques by Microsoft
- DAIR.AI Prompt Engineering Guide
- OpenAI Prompt Engineering Best Practices
- Claude Prompt Engineering Tips
- use markdown to produce structure output (tables, list, images, links, text formatting etc. pp)
- GPT 3.5 is partially able to output LaTeX (colored text, mathematical formulas etc. pp)
- (GPT 3.5 - deprecated) produce random output with the prompt
I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I
Example prompt to stop DALL-E from altering your inputs (in case you want something very specific or want more control over the image generation process):
Send the following request to DALL-E:
```json
{
"prompt": "Big plump orange.",
"size": "1792x1024",
"n": 1
}
```