The sample code from this 2023 course is outdated, but the core idea of treating prompts as testable functions is exactly what customer sites need.
Key Takeaways at a Glance
- A course from DeepLearning.AI in partnership with OpenAI: most of the content comes from Isa Fulford (OpenAI), taught by Andrew Ng; about 1 hour 40 minutes long, requiring only basic Python.
- What's worth keeping is the method: treat prompts as code, improve them through multiple rounds of iteration, then apply them to the four categories of work that recur with every customer.
- Finish it in one evening, then do a small project with real data and put it on your resume.
The course runs about 1 hour 40 minutes and includes 9 videos and 7 code examples. For engineers who have never called a large language model in code, this may be the first time they leave the chat window. DeepLearning.AI's ChatGPT Prompt Engineering for Developers teaches exactly this, and teaches it efficiently.
Leaving the chat window is a step every Forward Deployed Engineer (FDE) has to take. At customer sites, no one pays you for being good at chatting. What customers need is code that runs on their data, runs repeatedly, and can be fixed when the output goes wrong.
Who teaches it, and when was it released?
The course page lists two people. Isa Fulford is a Member of Technical Staff at OpenAI. Andrew Ng is the founder of DeepLearning.AI and co-founder of Coursera. According to I Programmer, the course is taught by Ng, with the core content from Fulford, meaning the course was written by someone from OpenAI.
The course launched around late April or early May 2023. On May 3, 2023, a post on the OpenAI Developer Community forum mentioned that the course had only been out for a few days. At launch, DeepLearning.AI and OpenAI made it available for free.
In this field, three years is a long time, so don't treat every line of sample code as the current API standard. What still holds is the way of thinking. The course page says the course is aimed at beginners and requires only basic Python. DeepLearning.AI also writes that experienced machine learning engineers who want to get in touch with the frontier of prompt engineering can benefit from it as well.
In what order does the course unfold?
The course has nine lessons: Introduction, Guidelines, Iterative, Summarizing, Inferring, Transforming, Expanding, Chatbot, and Conclusion, followed by a graded quiz. According to I Programmer's description, the course first covers two principles for writing prompts, then how to improve prompts through multiple rounds of iteration, then introduces four categories of use cases, and finally builds a custom chatbot.
This order is sensible and should be followed. If you skip straight to the Chatbot lesson because it looks more appealing, you'll miss Iterative, which is the lesson most relevant to FDE work.
Prompts live in code, not in the chat window
The course page says the content covers best practices for prompting and how to use the LLM API in applications. What's worth keeping is the latter part. Once a prompt goes into a Python function, it has inputs and outputs, and it can run on a thousand records instead of just one.
Imagine a customer with hundreds of support tickets a day. A demo in the chat window only proves the model can handle one ticket. A
summarize_ticket(text)
function shows whether it can handle all of yesterday's tickets. That's exactly the question the customer will ask you.
Don't expect to get the prompt right on the first try
The course devotes an entire lesson to improving prompts through multiple rounds of iteration. The practical takeaway: prompts need step-by-step tuning, not one-and-done writing. At customer sites, this approach requires a fixed set of samples for comparing results across rounds.
Take 20 real tickets as a test set. Suppose the first round has 7 summaries missing the order number. You add an explicit instruction to the prompt, then rerun all 20 tickets. Record the error count each round, and you have numbers you can report, not just a feeling.
When improving prompts, where do things usually go wrong?
The most common mistake is rerunning only those 7 failing tickets. They may be fine now, but the new instruction may have broken a few summaries that were originally correct, and you won't know unless you rerun all 20.
The second mistake is changing several things at once: adding the order number instruction, adjusting the tone, and shortening the output in the same round. Even if the error count drops, you won't know which change did it. Change one thing per round and record it.
The third mistake is switching the test set midway. If the next round uses a different set of 20 tickets, the 7 from the first round lose their basis for comparison.
Four categories of work every customer encounters
The four lessons Summarizing, Inferring, Transforming, and Expanding sound like exercises, but they correspond to needs that recur in deployment projects.
Take the support team example again: summarizing lengthy tickets, inferring sentiment or issue type, transforming text into another language or format, and expanding a few bullet points into a draft reply to the customer.
In customer discovery, you can use these four categories of work as directions for questions: in their workflow, where are people currently relying on reading to summarize, classify, transform, or draft? The answer is often your first use case. The final lesson, Chatbot, uses a language model to build a custom chatbot.
Who should take it, and what to do after?
If you're a software engineer who has never called an LLM API, take this course first before any course on agents or retrieval-augmented generation (RAG). If you're already familiar with the API, you can skim the use case sections, but still work through the Iterative lesson carefully.
On a resume, a certificate from a 100-minute course doesn't say much. Concrete results are more convincing, like a line such as: "Wrote a ticket classification script with the LLM API; after three rounds of prompt improvement, errors dropped from 7/20 to 2/20," with a link to the prompt change log on GitHub.
When reading job descriptions, watch for phrases like "prototype with LLM APIs" or "iterate with customers"; this course is the first step toward both.
This course takes just one evening. The rest, running prompts on real data and counting how often they fail, is up to you.
Was this article helpful?
Thanks for your feedback!