Prompt Engineering
Published
October 22, 2026
Last updated
October 22, 2026
Definition
Prompt engineering is the practice of designing and optimizing prompts to guide large language models (LLMs) toward desired responses, as Google Cloud defines it. A prompt typically includes instructions, primary content, examples, supporting content, and a cue, according to Microsoft Learn. Prompt design shapes the quality and relevance of the output, says IBM, so it matters in AI-assisted planning and in directing agentic AI.
Common techniques include few-shot prompting, which provides sample outputs, and chain-of-thought prompting, which breaks complex tasks into step-by-step reasoning, according to IBM. Prompting leaves a pre-trained model's parameters largely unchanged, while fine-tuning updates the model's weights, IBM explains. For models that learn from historical data, see machine learning in FP&A.
The UK accountancy body ICAEW says prompt engineering is "fast becoming a critical skill for accountants." In planning, ground prompts in governed planning data, name the metric, period, scenario, and format, and review the output before it informs a forecast. A typical example: "Summarize Q3 operating expense variance against the base-case budget by department, as a table."
Frequently Asked Questions
What is the difference between prompt engineering and agentic AI?
Prompt engineering shapes a language model's output through its prompts, while agentic AI is a system that can "accomplish a specific goal with limited supervision," according to IBM.
How do finance teams write effective prompts?
They ground the prompt in governed planning data and state the metric, time period, scenario, and output format they need. They then review the output before using it in a forecast, report, or decision.
Does prompt engineering replace model building in FP&A?
No. Prompting leaves a pre-trained model's parameters largely unchanged, according to IBM, while planning models hold the business logic and assumptions behind a forecast.
See Pigment in action
The fastest way to understand Pigment is to see it in action. Sign up today and explore how agentic AI can transform the way you plan.

From 8 days to 4 min
Update P&L actuals & financial forecasting
80%
Time cut on data aggregation
12 hours
Saved per month on executive reporting
6 days faster
For scenarios creation and analysis