Packt

Prompt Engineering Foundations

Grow your skills with Coursera Plus for $239/year (usually $399). Save now.

Packt

Prompt Engineering Foundations

Included with Coursera Plus

 

Learn more

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

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Gain hands-on experience in prompt engineering and its applications in AI.

  • Set up local Python environments and API keys for interacting with AI models.

  • Learn how to make API calls and manage outputs effectively for real-time responses.

  • Build AI-powered tools and command-line interfaces using modern libraries and frameworks.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

5 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 4 modules in this course

In this module, we will introduce you to the course and its objectives, exploring the significance of prompt engineering skills in AI projects. You'll get a glimpse of the course structure and key projects, with insights into how these will enhance your ability to work with LLMs. We will also set expectations for the practical application of the concepts you'll learn.

What's included

6 videos2 readings

In this module, we will guide you through setting up your development environment, ensuring you're ready to work with prompt engineering tools and APIs. You'll configure your local Python environment, set up OpenAI and Anthropic accounts, and generate API keys to start making API calls to LLMs.

What's included

4 videos1 assignment

In this module, we will provide a hands-on crash course in using the OpenAI Python library, which will serve as the foundation for interacting with language models. You'll learn how to securely manage API keys, make your first API calls, and process API responses. Additionally, we'll cover simplifying API interactions with LiteLLM and managing model parameters to control outputs.

What's included

11 videos1 assignment

In this module, we will lay the groundwork for your first AI-powered project. You'll learn how to set up the project directory, implement the basic structure, and create a simple AI-powered "Hello World" feature. We'll also guide you through writing initial unit tests to ensure functionality and robustness.

What's included

6 videos1 reading3 assignments

Instructor

Packt - Course Instructors
Packt
1,566 Courses 441,543 learners

Offered by

Packt

Why people choose Coursera for their career

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."

Jennifer J.

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

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."

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."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions