- Home
- Guides and documents
- Prompt Engineering Techniques
Prompt Engineering Techniques
22 prompting techniques as runnable Jupyter notebooks
What it is
A set of 22 notebook tutorials that each implement one prompting technique, from basic templates through chain-of-thought and self-consistency to tree-of-thought. Each notebook explains the idea and then shows working code. For people who prefer to learn prompting by running examples.
Good for
- Run a chain-of-thought example
- Compare prompting techniques side by side
- Reuse notebook code in a project
What you need
Python with Jupyter and an LLM API key
Worth knowingThe README gives a lot of space to the author's books, newsletter and sponsors.
Sources
- https://github.com/NirDiamant/Prompt_Engineering (project README, read 10 Nov 2026)
- https://api.github.com/repos/NirDiamant/Prompt_Engineering (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.