---
title: "#probability-theory articles | Hashnode"
description: "Explore 4 articles tagged #probability-theory on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/probability-theory"
---

Tag

# #probability-theory

4 posts · 0 followers

[Xiao Yao](https://hashnode.com/@blobxiaoyao) · [Apr 3](https://hashnode.com/posts/how-to-write-prompts-that-don-t-drift/69d00f4ce466e2b76265d4c5)

### [How to Write Prompts That Don't Drift](https://blog.appliedaihub.org/how-to-write-prompts-that-don-t-drift?utm_source=hashnode&utm_medium=feed)

Keeping 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 main

7 min read · [blog.appliedaihub.org](https://blog.appliedaihub.org/how-to-write-prompts-that-don-t-drift?utm_source=hashnode&utm_medium=feed)

[Xiao Yao](https://hashnode.com/@blobxiaoyao) · [Apr 3](https://hashnode.com/posts/langchain-dspy-and-the-physics-of-probability-engineering/69d00d69e466e2b76263b282)

### [LangChain, DSPy, and the Physics of Probability Engineering](https://blog.appliedaihub.org/langchain-dspy-and-the-physics-of-probability-engineering?utm_source=hashnode&utm_medium=feed)

LangChain connects your pipes. DSPy optimizes your valves. But neither tells you why the fluid behaves the way it does. A first-principles look at wha

14 min read · [blog.appliedaihub.org](https://blog.appliedaihub.org/langchain-dspy-and-the-physics-of-probability-engineering?utm_source=hashnode&utm_medium=feed)

[Xiao Yao](https://hashnode.com/@blobxiaoyao) · [Mar 26](https://hashnode.com/posts/the-probability-theory-of-prompts-how-context-shapes-llm-output/69c5aa2e10e664c5da39512a)

### [The Probability Theory of Prompts: How Context Shapes LLM Output](https://blog.appliedaihub.org/the-probability-theory-of-prompts-how-context-shapes-llm-output?utm_source=hashnode&utm_medium=feed)

Stop treating LLMs like conversational partners. A prompt is a mathematical projection operator that collapses a high-dimensional probability space in

7 min read · [blog.appliedaihub.org](https://blog.appliedaihub.org/the-probability-theory-of-prompts-how-context-shapes-llm-output?utm_source=hashnode&utm_medium=feed)
