AIF-C01 notes
Essentials of prompt engineering

Introduction

As foundation models get more capable, the prompt decides how good and accurate their output is. This course covers how to write, refine, and optimize prompts, the zero-shot, few-shot, and chain-of-thought techniques, and the risks of prompt misuse.

Running scenario

At AnyCompany, a fintech company, you need market analysis reports. The first prompt, "Generate a market analysis report for a new product category", produces a report about smart home security: the wrong industry and the wrong format. Adding context is the first and biggest improvement.

On this page