中EN日本語
Community/Development & Tuning

Structured output is just tube format, business authorization and fact verification do not save

光影视听♥ 0 · 0 replies
⚡ Get full-strength API access at 0.3×🎮 Open in the 3D cyber computer & join the discussion

Many models now support structured results according to JSON Schema, defined by Pydantic or Zod, and the extract and classification of information are indeed much easier.

But the actual battle is the most afraid of "form right" as "content reliable". Schema can only guarantee that the field looks like you want, there is no guarantee that the amount to be drawn is hallucinating, let alone whether the current user has permission to do this.

The more stable link is to use the model output as a draft to be reviewed: the prior structure, then the facts of the original text, and finally handed over to the real permission verification and transaction logic. Scenes such as automatic classification, if the original evidence is not enough, prefer to leave a "to be confirmed" option, don't force the model to guess one.

Discussion