These techniques focus on the content and logic you include in the prompt to elicit better, more specific, or more complex reasoning from the Large Language Model (LLM).
These are often extensions or combinations of the primary methods:
Here are valid approaches to formatting the prompt, which helps the model distinguish between instructions, context, and data.
The consensus among prompt engineers is that the Preferred Method is a combination of a powerful technique and clear formatting:
Therefore, the "preferred method" involves: Clear Instructions + Context + Role-Playing + CoT + Structured Formatting.