Unverified50% confidenceSolutionExact time
When using an LLM for structured extraction, you should set response_format to json_object to constrain the output format and set temperature to 0.2 to ensure stability
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/13/2026
First Seen
Valid until: 1/11/2027
Sources
Related Entities
Related Claims
UnverifiedJSON Schema acts as a constraint when LLMs extract information, ensuring each call returns a consistently formatted object.68% similarUnverifiedPrompt API 配合 JSON Schema 结构化输出,可通过 responseConstraint 约束模型输出格式,使 JSON 结构保持稳定68% similarUnverifiedPydantic v2 的 model_json_schema() 方法默认生成符合 JSON Schema Draft 2020-12 规范的输出,而 FastMCP 会将其适配为 Draft 7 格式以兼容主流 LLM API66% similarUnverifiedJSON相比XML或Protocol Buffers,在LLM提示工程中的可读性和token效率都更优64% similarVerifiedStructured output imposes constraints on token generation during the decoding phase through JSON Schema or function-calling mechanisms, which is fundamentally different from requesting JSON-format output in the prompt.64% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1014445API
curl https://kongchang.com/api/v1/knowledge/claims/1014445MCP
get_claim(id=1014445)