← Back to Glossary Index
AI Glossary Term

Greedy Decoding

Definition

Selecting the single highest-probability token at each generation step.

Example Case

Setting temperature to 0.0 for deterministic code output.

Related Concepts

Prompt Engineering