https://www.promptingguide.ai/techniques

TechniqueExplanationExample
Role Promptingadopt a specific persona or role when generating text
Emotion Promptingincorporating emotional cues into AI interactions can enhance performanceYOU MUST PROVIDE AT LEAST 50 WORDS OR SOMEONE DIES.
Chain of Thoughtencourage the LLM to think step-by-step, rather than jumping to the final answer directly.
In Context Learningbeing shown examples within the input prompt, rather than through explicit retraining or fine-tuningTranslate the following sentences to French:

English: I love apples. → French: J’aime les pommes.

English: Where is the train station? → French:
Self-Consistency SamplingGenerate multiple answers using chain-of-thought prompting, then choose the most common one (majority vote) instead of the first answer.Ask questinon with low temperature and run multiple times