TLDR Web Dev · MISCELLANEOUS
MODERN ADVANCES IN PROMPT ENGINEERING
Summary from the TLDR Web Dev newsletter
Prompt engineering has evolved a lot and there are certain strategies to get the most out of LLMs. Basic strategies include zero-shot, few-shot, and instruction prompts, where users give the LLM a task description (zero-shot) and a couple of examples (few-shot). Advanced strategies include step-by-step reasoning with examples (Chain-of-Thought prompting) and self-consistency, which is where multiple reasoning paths are generated and then a majority vote is taken for the answer.