finds.dev

NirDiamant/Prompt_Engineering

22 prompt engineering techniques with hands-on Jupyter Notebook tutorials, from fundamental concepts to advanced strategies for leveraging LLMs.

View on GitHub

★ 7,665Jupyter NotebookNOASSERTIONupdated Jul 2026

// the take

A collection of 22 Jupyter notebooks walking through prompt engineering techniques, from zero-shot and few-shot basics up to tree-of-thought and self-consistency. Aimed at developers who want hands-on examples rather than just theory. The companion to the author's RAG Techniques and GenAI Agents repos.

The progression from basic prompt structures through optimization and evaluation is genuinely well-sequenced — you can follow it linearly without hitting gaps. The security and safety notebook covering prompt injection is a topic most tutorial repos skip entirely. Coverage of self-consistency (sampling multiple reasoning paths and aggregating) is explained practically, not just theoretically. The repo is actively maintained with recent commits and has a real community around it.

Everything goes through OpenAI or LangChain — there is no treatment of how these techniques behave differently across model families, which matters a lot in practice. The 'evaluation' notebook is the weakest: it covers metric setup but doesn't engage with the hard problem of automated prompt evaluation at scale. The non-commercial license is a quiet gotcha for anyone wanting to use these in a production training pipeline or internal tooling. The repo is essentially a funnel for the author's paid course and newsletter, which colors how some content is scoped.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
7,665
Forks
985
Language
Jupyter Notebook
License
NOASSERTION
Last commit
4 Jul 2026

// nearby

If Prompt_Engineering isn't quite it.

All repos →