待验证50% 置信事实精确时间
OpenAI 的 Structured Outputs 要求 JSON Schema 中 additionalProperties: false 且所有字段必须列入 required,可选字段用 nullable 表达。
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/10/16
首次发现
有效期至:2027/1/14
来源
涉及实体
相关事实
待验证n8n的OpenAI节点需将Output Format设为JSON Object,否则返回值不会自动展开为列表结构。78% 相似待验证OpenAI 的 Structured Outputs 模式通过受限解码(Constrained Decoding)技术在 token 采样层面强制输出符合 JSON Schema,可完全消除格式错误,而普通 Function Calling 不具备这种硬约束78% 相似待验证该补丁保证向 xAI 模型传递工具定义时 JSON Schema 中的 additionalProperties: false 字段能被正确保留77% 相似待验证OpenAI要求特定的response_format JSON schema,而替代后端可能需要不同的系统prompt或特定的工具调用定义。75% 相似已验证在JSON Schema中设置additionalProperties: false可拒绝任何未在Schema中显式声明的额外字段,杜绝模型发明额外字段的可能性75% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/1047109API
curl https://kongchang.com/api/v1/knowledge/claims/1047109MCP
get_claim(id=1047109)