Recipes
Ready-made ways to use Generate and Engine for common chess jobs, each a prompt and the requests you can copy and adapt.
A Recipe is a way to use the APIs for a common job. It adds no endpoint and no response field: it is a system prompt, the requests and what to do with the responses. Copy one, then change the prompt to suit your app: the player's level, your tone, the length you want.
You don't need to explain line: links in your prompt. Generate already asks the Model to link every move it names, checks each one against the position and returns them in lines.
With Generate
| Recipe | What it does | Calls |
|---|---|---|
| Coach | Answers a student's question about their own game with the idea, not just the move | 1 Generate |
| Explain | Describes a position: its structure, who stands better and each side's plans | 1 Generate |
| Pick a move | Plays one move at the strength and in the style you set | 1 Generate |
With Engine and Generate
| Recipe | What it does | Calls |
|---|---|---|
| Review a game | Judges every move of a game and explains the mistakes and blunders | 1 Engine for the whole game, 1 Generate per mistake |
| Turn a blunder into a puzzle | Finds the one winning reply to a blunder, checks it is the only one and writes a hint | 1 Engine, 1 Generate |
| Grade a game's accuracy | Scores each side from 0 to 100 | 1 Engine per position |
A game of n moves has 2n + 1 positions. Review a game analyses them all in one Engine call; Grade a game's accuracy still makes one call per position, 81 for a 40-move game. When you do both, share the results.