Instacart's prompt engineering techniques for internal LLM productivity tooling
LLMs used in Instacart's internal productivity tools face challenges including hallucinations, context size limits, difficulty completing tasks, and unreliable output formatting when used programmatically.
Instacart developed and deployed a suite of prompt engineering techniques for the Ava family of internal productivity products, achieving reliable structured output and improved LLM response quality.
Frequently asked questions
What did this team achieve with this AI workflow?
Instacart developed and deployed a suite of prompt engineering techniques for the Ava family of internal productivity products, achieving reliable structured output and improved LLM response quality.
What tools did this team use?
GPT-4, GPT-3.5, OpenAI.
What results were reported?
LLM output reliability: guarantees valid output; Few-shot model performance with polite phrasing: actually performs better than without (source-reported, not independently verified).
How is this back office ops AI workflow structured?
Code diff input received → Room for Thought outline → Monte Carlo option generation → Self-correction critique → Logit-bias forced classification → Puppetry JSON output.