VOOZH about

URL: https://www.coursera.org/learn/packt-build-with-llms-prompt-engineering-real-ai-projects-yormm

⇱ Build with LLMs: Prompt Engineering & Real AI Projects | Coursera


Build with LLMs: Prompt Engineering & Real AI Projects

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Build with LLMs: Prompt Engineering & Real AI Projects

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Master the core concepts of large language models and their applications.

  • Build structured prompts and leverage advanced techniques like few-shot and chain-of-thought prompting.

  • Develop AI-powered tools for real-world scenarios, such as Git commit message generation.

  • Optimize API usage and manage costs efficiently in large-scale AI applications.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

5 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Prompt Engineering Masterclass - From Beginner to Advanced Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 3 modules in this course

This course features Coursera Coach!

A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This intermediate-level course dives deep into the essential techniques for working with large language models (LLMs), providing you with the practical tools and knowledge needed to build powerful AI applications. You will learn core concepts such as tokenization, log probabilities, and context windows, and gain hands-on experience through a series of engaging labs and projects. Additionally, you'll explore foundational prompt engineering patterns to improve response accuracy, control output formats, and develop advanced techniques such as few-shot prompting and chain-of-thought prompting. The course is structured to guide you from understanding the theoretical underpinnings of LLMs to applying those concepts in real-world scenarios. As you progress, you will work on an exciting project, building an AI-powered Git commit message generator. Through this project, you'll gain valuable experience in designing prompt templates, creating core logic for AI commits, and enhancing functionality with user reviews and model selection. Each section includes practical labs and exercises that ensure you're not just learning the theory, but also building real skills. The course is perfect for intermediate learners looking to enhance their AI development capabilities, particularly those interested in applying prompt engineering to optimize model behavior. A solid understanding of programming and LLMs is beneficial, but anyone with a technical background will find this course accessible. By the end of the course, you will be able to design structured prompts, implement advanced prompting techniques, generate AI-driven Git commit messages, and effectively manage API usage and costs.

In this module, we will dive into the key concepts behind large language models (LLMs), such as tokenization and log probabilities, and their impact on text generation. You'll also gain insights into the factors that contribute to API usage costs and learn how to optimize them. Practical labs will provide hands-on experience with these concepts.

What's included

13 videos2 readings1 assignment

13 videosβ€’Total 95 minutes
  • Section Overviewβ€’2 minutes
  • Understanding Tokenizationβ€’5 minutes
  • Practical Lab: Exploring Tokenizationβ€’7 minutes
  • Practical Lab: Advanced Tokenization Conceptsβ€’5 minutes
  • The Role of Log Probabilities in Text Generationβ€’4 minutes
  • Practical Lab: Simulating Sentence Generationβ€’12 minutes
  • The Context Window and Its Limitationsβ€’5 minutes
  • Key Components of API Usage Costsβ€’6 minutes
  • Practical Lab: Calculating API Costsβ€’16 minutes
  • Practical Lab: Advanced Cost Analysisβ€’11 minutes
  • Exploring Different Classes of Language Modelsβ€’6 minutes
  • The Importance of System, User, and Assistant Rolesβ€’3 minutes
  • Practical Lab: Crafting Effective System Promptsβ€’14 minutes
2 readingsβ€’Total 20 minutes
  • Introduction to the Course 'Build with LLMs: Prompt Engineering & Real AI Projects'β€’10 minutes
  • Full Specialization Resourcesβ€’10 minutes
1 assignmentβ€’Total 15 minutes
  • Core Concepts: The Inner Workings of LLMs - Assessmentβ€’15 minutes

In this module, we will explore essential prompt engineering patterns that enhance the effectiveness of prompts. You'll learn how to structure prompts using delimiters, set personas, and implement few-shot examples to improve model accuracy. Additionally, we'll cover techniques like chain-of-thought reasoning and organizing information with templates.

What's included

18 videos1 assignment

18 videosβ€’Total 132 minutes
  • Section Overviewβ€’2 minutes
  • The Anatomy of a Prompt: Instructions, Context, and Constraintsβ€’6 minutes
  • Practical Lab: Building a Structured Promptβ€’13 minutes
  • Using Delimiters to Structure Promptsβ€’5 minutes
  • Refactoring a Prompt with Delimitersβ€’8 minutes
  • Practical Lab: Applying Delimiters Effectivelyβ€’9 minutes
  • Setting Personas for Targeted Responsesβ€’6 minutes
  • Practical Lab: Implementing the Persona Patternβ€’12 minutes
  • Practical Lab: Setting Clear Behavioral Guidelines for the AIβ€’6 minutes
  • Case Study: Creating a Database Administrator Personaβ€’7 minutes
  • Improving Accuracy with Few-Shot Promptingβ€’5 minutes
  • Practical Lab: Implementing Few-Shot Examplesβ€’12 minutes
  • Strategies for Controlling Output Formatβ€’10 minutes
  • Advanced Output Formatting Techniquesβ€’7 minutes
  • Encouraging Reasoning with Chain-of-Thoughtβ€’4 minutes
  • Practical Lab: Applying Chain-of-Thought Promptingβ€’5 minutes
  • Organizing Information with the Template Patternβ€’4 minutes
  • Practical Lab: Building and Using Prompt Templatesβ€’10 minutes
1 assignmentβ€’Total 15 minutes
  • Foundational Prompt Engineering Patterns - Assessmentβ€’15 minutes

In this module, we will guide you through creating an AI-powered tool for generating Git commit messages. You'll learn how to retrieve Git diffs, design prompt templates, and integrate user review steps. Testing and logging features will also be implemented to ensure the tool works effectively in real-world scenarios.

What's included

10 videos1 reading3 assignments

10 videosβ€’Total 114 minutes
  • Module Overview and Goalsβ€’1 minute
  • Setting Up the Boilerplate for the Commit Featureβ€’15 minutes
  • Programmatically Retrieving Git Diffsβ€’17 minutes
  • Designing Prompt Templates for Commit Messagesβ€’11 minutes
  • Building the Core Logic for AI Commitsβ€’12 minutes
  • Adding a User Review and Edit Stepβ€’11 minutes
  • Enhancing the Test Suite for the Commit Featureβ€’19 minutes
  • Integrating Robust Loggingβ€’15 minutes
  • Enabling Model Selection via the CLIβ€’9 minutes
  • Documenting the Smart Commit Featureβ€’5 minutes
1 readingβ€’Total 10 minutes
  • Conclusion to the Course 'Build with LLMs: Prompt Engineering & Real AI Projects'β€’10 minutes
3 assignmentsβ€’Total 90 minutes
  • Project Module #2: AI-Powered Git Commit Messages - Assessmentβ€’15 minutes
  • Full Course Assessmentβ€’60 minutes
  • Full Course Practice Assessmentβ€’15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt
1,926 Coursesβ€’560,010 learners

Explore more from Software Development

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Prompt Engineering involves designing and structuring inputs (prompts) that guide large language models (LLMs) to generate meaningful and accurate outputs. This skill is essential as it enhances your ability to communicate effectively with AI models, enabling them to perform better in tasks such as text generation, summarization, and problem-solving. As AI technology continues to evolve, mastering prompt engineering ensures that AI tools are used efficiently and effectively in various applications.

The "Core Techniques & Intermediate Projects" course delves deeper into the foundational and advanced techniques of prompt engineering. It covers essential concepts such as tokenization, log probabilities, and the context window in LLMs, along with practical labs to help you apply these concepts. The course also introduces you to essential strategies for crafting effective prompts, including using personas, few-shot prompting, and advanced output formatting techniques. You'll also work on an intermediate project where you'll build an AI-powered tool for generating Git commit messages.

After completing this course, you will have a strong understanding of how large language models process inputs and generate responses. You'll be able to craft effective prompts using various techniques such as persona-setting, few-shot prompting, and chain-of-thought. Additionally, you will gain hands-on experience building AI-powered tools, such as a Git commit message generator, and have the ability to enhance the functionality of these tools through model selection and integration.

This course is ideal for learners who have a basic understanding of programming, particularly in Python, and are familiar with interacting with APIs. Prior experience in prompt engineering is not required, but it’s helpful to have an interest in working with AI models and understanding their behavior. If you're new to some of the more advanced concepts, such as tokenization or log probabilities, the course provides clear explanations and hands-on labs to guide you through these topics.

This course is designed for developers, data scientists, or anyone with a technical background who wants to enhance their knowledge of prompt engineering. It is also ideal for those who want to work with large language models, whether for research, AI application development, or personal projects. If you’re looking to build intermediate-level AI tools or gain a deeper understanding of LLMs, this course will provide valuable insights and practical skills.

The course is designed to be completed in 8 hours. It includes video lessons, practical labs, and an intermediate project that will allow you to apply the concepts you’ve learned. Depending on your pace and the time you spend on each lab, the course can be completed within a day or over several sessions.

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,