2. Be specific, descriptive and as detailed as possible about the desired context, outcome, length, format, style etc Less effective ❌:
3. Articulate the desired output format through examples Less effective ❌:
4. Try using zero-shot and few-shot examples Use zero-shot for simple tasks and few-shot for more complex ones. If neither work, consider fine-tuning the model. Example of Zero-shot:
5. Reduce “fluffy” and imprecise descriptions. Be clear and succinct in your instructions. Less effective ❌:
6. Instead of just saying what not to do, say what to do instead Avoid negative instructions, and provide clear guidance on what actions should be taken. Less effective ❌:
7. Code Generation Specific - Use “leading words” to nudge the model toward a particular pattern Less effective ❌: