Prompt Engineering Techniques is a focused companion repository that teaches prompt engineering systematically, from fundamentals to advanced strategies. It contains around twenty-plus hands-on Jupyter notebooks, each dedicated to a specific technique such as basic prompt structures, prompt templates and variables, zero-shot prompting, few-shot prompting, chain-of-thought, self-consistency, constrained generation, role prompting, task decomposition, and more. The tutorials are designed to be practical; you can run them directly, examine the prompts, and see how small changes affect model behavior and quality. The repository is framed as a “techniques library” that complements a more detailed book, which expands on the same topics with deeper explanations and exercises. It is intended for a wide audience, from beginners learning how to structure their first prompts to advanced practitioners optimizing stability, controllability, and reliability in production systems.

Features

  • Extensive set of Jupyter notebook tutorials covering key prompt engineering techniques
  • Progressive structure from introductory concepts to advanced strategies and implementations
  • Concrete examples of patterns like zero-shot, few-shot, chain-of-thought, and self-consistency
  • Focus on practical, ready-to-use prompt templates that can be adapted to real projects
  • Companion material to a full book with deeper explanations and structured exercises
  • Community-driven approach with contribution guidelines and links to related RAG and agent resources

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Prompt Engineering Techniques

Prompt Engineering Techniques Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prompt Engineering Techniques!

Additional Project Details

Registered

2025-11-13