Generate only when it applies

In Jev, every field is generated on its own. Its documentation puts it plainly: "every question is evaluated in parallel and in isolation against the same state."

Our last post went one step further: with

depends_on

, a later field sees the answers of earlier ones. But every field still ran. An earlier answer could change what a field said, never whether it was asked.

Now it can. With

when

, earlier answers decide which fields TypeLLM generates next, all in one API call.

Sort an email, then ask what that kind needs

An inbox gets invoices, meeting requests and job applications. Each needs something different: an amount, a date, a role. Ask one question first, what kind of email this is, and let its answer decide which follow-up runs: