Logprobs Lab

Teaching LLMs to Know What They Don't Know

When an LLM generates text, it assigns a probability to every possible next word. These probabilities are the key to building AI systems that can tell you when they're uncertain.

Consider this

An LLM says "The capital of France is Paris" and also says "The best restaurant in Paris is Le Petit Cler".

Both arrive as plain text. Should you trust them equally?

Which statement should you trust more?