Advanced Techniques

The ten advanced techniques are designed for complex, multi-step, or high-stakes tasks where foundational techniques alone are insufficient. These require more careful prompt engineering, more context budget, and often more iterative refinement — but they unlock capabilities that simpler techniques cannot reach.

Who these are for: Practitioners building LLM-powered products, researchers evaluating model behaviour, and engineers designing prompt pipelines for production systems.


Techniques in This Section

  1. Self-Consistency — Sampling multiple reasoning paths and majority-voting the answer
  2. ReAct Prompting — Interleaving reasoning and action in an agentic loop
  3. Step-Back Prompting — Reasoning from first principles before tackling specifics
  4. Prompt Chaining — Breaking long tasks into sequential, dependent prompts
  5. Least-to-Most Decomposition — Solving the simplest sub-problem first, building to the hardest
  6. Generated Knowledge — Prompting the model to generate useful context before answering
  7. Calibration Prompts — Eliciting confidence estimates and surfacing uncertainty
  8. Directional Stimulus — Using hints or keywords to steer response direction
  9. Meta-Prompting — Using an LLM to write or improve prompts
  10. Evaluation Prompts — Using LLMs as judges to score or compare outputs

Advanced techniques consume more tokens, often require multiple API calls, and have more failure modes than foundational techniques. Always establish a foundational baseline before applying advanced methods.


Table of contents


Back to top

Built by [nihalshx](https://github.com/nihalshx). Techniques tested with the Google Gemini API.

This site uses Just the Docs, a documentation theme for Jekyll.