A prompt in an app is not the same as a prompt in chat
Writing a prompt for yourself in chat and embedding a prompt in an application are different tasks. In chat you see the answer, can fix the prompt on the fly, a one-off is not scary. In an app a prompt works on thousands of requests with different inputs, the answer is processed by code (not a human), and a prompt failure is a bug in production. Prompt engineering for developers is about making prompts reliable, predictable and maintainable parts of code. This course gathers these practices.
What is different about a production prompt
- Scale: works on many different inputs, not on one example of yours.
- Automatic processing: the answer is read not by a human but by code ā a predictable format is needed.
- Reliability: a prompt failure = a bug for users, not "I will rewrite and try again".
- Maintenance: the prompt lives in code, is changed, versioned, tested ā like code.
The key mindset shift: a prompt is a system component
The main thing: a production prompt is not "text I write to the model" but a system component that must reliably work on diverse inputs, give a code-processable result, be maintained and tested. Add to this non-determinism (the model may give different answers to one input ā unlike ordinary code), and it becomes clear: this is an engineering discipline, not only "the art of phrasing". Hence all the course topics: prompt as code, system prompts, testing, reliable output.
The tie with the rest of the program
This course is the engineering side of working with prompts, complementing others: phrasing basics (from the prompting courses), integration into an application (from the LLM-API course), operation, evaluation and security (from LLMOps ā evals, prompt injections, versioning there). Here we focus exactly on how to make prompts reliable parts of code: design robustly, set behavior with system prompts, test systematically, get predictable structured output. This turns a prompt from a "magic string" into a manageable engineering artifact.
Course rule: in an app a prompt is a system component working on thousands of inputs, whose output is processed by code. Treat prompts as code: design reliably, set behavior with system prompts, test, get predictable output. This is an engineering discipline.
š§ How does a production prompt differ from a prompt in chat?