XXiao Yao·Apr 3How to Write Prompts That Don't DriftKeeping your AI on track from line 1 to line 10,000. A mechanical look at why long-context generation degrades, and how to structure prompts that main7 min read·blog.appliedaihub.org
XXiao Yao·Apr 3LangChain, DSPy, and the Physics of Probability EngineeringLangChain connects your pipes. DSPy optimizes your valves. But neither tells you why the fluid behaves the way it does. A first-principles look at wha14 min read·blog.appliedaihub.org
XXiao Yao·Mar 26The Probability Theory of Prompts: How Context Shapes LLM OutputStop treating LLMs like conversational partners. A prompt is a mathematical projection operator that collapses a high-dimensional probability space in7 min read·blog.appliedaihub.org