LearnPrompting.org is an open source resource created by Sander Schulhoff to help people learn how to effectively prompt language models. It started as a free resource and now also offers paid courses. In a year, it has reached millions of users.
Some best practices for prompting large language models like ChatGPT that were mentioned:
- Include sufficient context to ensure the AI can generate relevant and coherent responses.
- Utilize Few-Shot Prompting by providing examples that guide the AI in understanding the desired output.
- Employ problem decomposition techniques, such as chain-of-thought prompting, to tackle complex queries by breaking them down into simpler, manageable parts.
Other prompting techniques discussed in the conversation:
- Labeling inputs
- Role casting / persona prompting
- Using format tricks
- Contrastive chain-of-thought
- Auto chain of thought (self-generated examples)
They also discussed a lot of Prompt Hacking techniques.