Glossary
Prompt engineering
The practice of writing and structuring prompts so an AI model gives more useful and more consistent answers, often by adding context, steps and examples.
Also known as: prompt design, prompting
Prompt engineering is the practice of writing and structuring prompts so an AI model gives more useful and more consistent answers. It sounds technical, but most of it is clear writing: saying exactly what you want, giving the model the context it lacks, and showing an example of a good result.
Google’s Machine Learning Glossary calls it the art of creating prompts that elicit the desired responses from a large language model, and says “prompt design” means the same thing. Anthropic’s prompting best practices give concrete techniques. Be clear and direct about the output, format and constraints. Give instructions as numbered steps when order matters. Use a few well-made examples, which the guide calls one of the most reliable ways to steer format, tone and structure.
Why it matters for an Indian business
In a small team, the same few tasks come up every day: enquiry replies, quotations, follow-ups, summaries of calls. A well-written prompt for each task, saved and shared, means staff get similar quality whoever is on shift. Useful habits:
- Keep a short shared document of tested prompts for your common tasks.
- Include your own facts (timings, policies, price ranges) in the prompt rather than hoping the model knows them.
- Tell the model what to do when it is unsure, for example “say you will confirm with the team”.
- Ask for the format you need, such as a WhatsApp-length reply or a table.
An example
Say a CA practice in Chandigarh sends clients reminders before GST return due dates. A partner could write one prompt that includes the firm’s tone, a sample reminder, the list of documents to ask for, and a rule never to state a due date the staff has not filled in. Juniors then use that prompt each month instead of starting from a blank box. The partner still reviews the first few batches.
What to watch for
Anthropic’s overview notes that not every problem is best solved by prompting. For example, speed and cost can sometimes be improved more easily by choosing a different model. Prompting also does not remove the need to check facts.
Related terms
A prompt is the input itself. Prompts steer a large language model, and good prompts can reduce, but not remove, hallucination. Fine-tuning is the heavier option when prompting is not enough. For hands-on prompt-writing practice with your staff, see team training.