Prompt engineering is the practice of writing inputs that reliably get the output you need. It is the cheapest way to improve a generative AI app, so it comes before RAG or fine-tuning. The model only knows what is in its training and in the prompt, and it cannot ask you what you meant, so ambiguity in the prompt becomes inconsistency in the output.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 5 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.