Structured output

Your classifier uses DeepSeek’s JSON mode.

A few replies a day come back with empty content, and the pipeline stores them as blank records.

  1. ATurn JSON mode off and parse the prose the model writes instead
  2. BSend every ticket that got an empty reply to the thinking mode
  3. CRetry an empty reply; never store it
  4. DRaise the temperature so the model has more to say next time

Answer: C

Retry an empty reply; never store it

Why

DeepSeek’s docs warn that JSON mode may occasionally return empty content. It is a hiccup, not an answer: retry it, and keep validating real replies against your schema. Prose parsing brings back guesswork, and neither the thinking mode nor a higher temperature addresses an empty reply.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path