What this sample shows. Game AI is full of "pick one move from a fixed list" decisions, usually hand-written as if-else trees. Here the character's state goes to a decision model as a single choice question: attack, drink a potion, flee, ask for a truce, or taunt. You get back one action your game loop can run as-is, plus the probability behind every option.
Sample input and result (sample data, not a live model run). A border guard stands on a narrow bridge at 12% health, facing 3 enemies, with 1 healing potion and no ally nearby. Result: drink a potion, 58%. Flee follows at 24%, ask for a truce 9%, attack 7%, taunt 2%. Change only the health to 80%. The pick flips to attack at 64%, with taunt at 18% and the potion down to 3%.
Why the probabilities matter. In the low-health case, the potion wins with 58% while fleeing still holds 24%. You can sample from that spread, or fall back to a scripted rule when the top option isn't confident enough, so the guard doesn't behave identically every time.
When to use this approach. It fits when the state fits in a few fields, the moves are fixed, and you want an answer you can execute rather than a paragraph of reasoning. The sample request uses Decider (decider-v1.1). If the state includes a screenshot, switch to a Clef model, which accepts images.