Generative AI & agentic solutions Β· 30–35%

Optimize & operationalize

~2 min read

The 3 strategies β€” pick by symptom

SymptomFixCost
Wrong tone/format, needs instructionsPrompt engineeringLow
Lacks knowledge / stale / invents factsRAGMedium
Ignores style rules despite good promptsFine-tuningHigh

Order of attack: start with prompt engineering; add RAG when accuracy is the problem; fine-tune when consistency is. Combine freely (fine-tune = style, RAG = facts, prompt = per-session rules).

Prompt engineering patterns

Prompt engineering is designing and refining the text you send the model β€” instructions, examples, structure β€” to improve its output without touching the model itself.

Parameters

Fine-tuning facts

Fine-tuning is additional training of a pretrained model on your own examples, so the desired style or format gets baked into its weights.

Reflection & self-critique

Observability

Observability means you can see what your AI system did and why β€” every step, token, and delay.

Implement tracing (OpenTelemetry via Foundry SDK) to capture: each step of a flow, token analytics (usage per call), safety signals (filter hits), latency breakdowns (TTFT, per-step). Enable tracing on the project client; view traces in Foundry portal.