Five few-shot examples nearly doubled the cost of my short LLM prompt
You write a prompt that turns messy expense notes into JSON. The model gets the format slightly wrong once, so you add an example of a note and the JSON you expect. Then a second one for euros, a third for dates, and two more for luck. The output looks great and the prompt ships. What doesn't show…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-08 12:00 · DEV Community — AI
Five few-shot examples nearly doubled the cost of my short LLM prompt