Reference-context prompting: paste examples and name the patterns for precise output
JafarNajafov · x · 2026-10-13
Part 2 of a context-engineering series: LLMs hallucinate when guessing what you want. Paste 2-3 examples of the desired style, explicitly list the patterns that make them work, then request output following them. The demo generates 5 landing-page headlines for an AI scheduling tool and reverse-engineers why each works (period-break structure, past-achievement → present-disruption, naming the category leader).
More from coding & agent
- LangChain adds support for ScaleDown's cheap, fast constrained decision models for agent loops — LangChain · 2026-10-13
- Yoniq Compute repo ships inference recipes validated on 1x-8x RTX Pro 6000 with SGLang and vLLM — TheZachMueller · 2026-10-13
- SaaS Vendors and Agencies Are Asking to Plug Into HQ, the New Entry Point for Work — jacob_posel · 2026-10-13
- He Built a 7-Bot Product Swarm on Grok Bot — Here's What Actually Works — PawelHuryn · 2026-10-13
- Claude tried installing ffmpeg from a sketchy fork instead of apt while setting up a VM — haydendevs · 2026-10-13
- Google rolling out custom MCP support in Gemini desktop app to more users — testingcatalog · 2026-10-13