Unverified60% confidenceFactTime unknown
大语言模型(LLM)启用JSON Mode获取结构化输出时,输出本质上仍是文本,可能出现字段缺失、数据类型错误或模型幻觉导致的非预期字段
2
Sources
60%
Confidence
Long-term
Relevance
5/31/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedThe JSON structure returned by LLM APIs may vary across model versions.75% similarUnverifiedJSON Mode only guarantees that the output is valid JSON without constraining the field structure; Structured Outputs enforces output conforming to a predefined JSON Schema at the syntactic level by applying a finite state machine (FSM) to constrain the token sampling path during the decoding phase.73% similarUnverifiedStructured output constrains format via JSON Schema, which can eliminate randomness at the format level and confine uncertainty to the scope of semantic content.72% similarUnverified构建LLM Agent时常见的格式问题包括返回散文而非合法JSON、分镜描述过长、缺失必填字段、凭空捏造不存在的工具参数71% similarUnverifiedHigh-frequency error patterns in tool calls from open-source models include: passing null values for optional fields, outputting JSON arrays as strings instead of true arrays, wrapping parameters in empty objects, and missing parameter values (e.g., offset).71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/10036API
curl https://kongchang.com/api/v1/knowledge/claims/10036MCP
get_claim(id=10036)