#2525th of 55 in Learning and cookbooks

prompt_engineering

22 Jupyter notebooks teaching prompt engineering with OpenAI and LangChain

Stars
7.9k
License
custom license
Last commit
Oct 2026
Language
Jupyter Notebook
Stars, last 29 weeks+667
1 Apr 2026: 7,246 stars8 Apr 2026: 7,284 stars15 Apr 2026: 7,310 stars22 Apr 2026: 7,343 stars29 Apr 2026: 7,364 stars6 May 2026: 7,390 stars13 May 2026: 7,424 stars20 May 2026: 7,448 stars27 May 2026: 7,472 stars3 Jun 2026: 7,491 stars10 Jun 2026: 7,517 stars17 Jun 2026: 7,545 stars24 Jun 2026: 7,570 stars1 Jul 2026: 7,592 stars8 Jul 2026: 7,610 stars15 Jul 2026: 7,631 stars22 Jul 2026: 7,646 stars29 Jul 2026: 7,666 stars5 Aug 2026: 7,739 stars12 Aug 2026: 7,759 stars19 Aug 2026: 7,772 stars26 Aug 2026: 7,793 stars2 Sept 2026: 7,804 stars9 Sept 2026: 7,820 stars16 Sept 2026: 7,836 stars23 Sept 2026: 7,850 stars30 Sept 2026: 7,867 stars7 Oct 2026: 7,882 stars14 Oct 2026: 7,900 stars21 Oct 2026: 7,913 stars

7,246 on 1 Apr 20267,913 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A set of 22 Jupyter notebooks covering prompt engineering, from basic prompt structures and Jinja2 templates to chain-of-thought, self-consistency, prompt chaining, optimization, prompt security and evaluation. Examples use OpenAI models and LangChain. The README also promotes a paid course ($199), a book and a newsletter by the author.

Who it is for: Developers learning prompt engineering through runnable notebooks

Strengths

  • 22 notebooks ordered from fundamentals to optimization, security and evaluation
  • Covers named techniques: zero-shot, few-shot, CoT, self-consistency, prompt chaining
  • Runnable code in notebooks rather than prose-only guides
  • Includes a Jinja2 templating notebook and a prompt security notebook

Weaknesses

  • Examples rely on OpenAI and LangChain; local model use is not described
  • README is heavy with promotion for a paid course, book and newsletter
  • License is reported as NOASSERTION, so reuse terms are unclear
  • No release tags and no setup or version requirements in the visible README

What it needs

  • no GPU
  • Needs OpenAI API, LangChain, Jinja2
  • Models: OpenAI GPT

Also in Learning and cookbooks

See all 55
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases72.1k starsMIT90 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript121.8k starsMIT81 out of 100
3ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework77.6k starsMIT79 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering29.1k starscustom license79 out of 100
#5llms-from-scratchCode for the book on building a GPT-style LLM in PyTorch107k starscustom license77 out of 100