为什么值得关注从 LLM 提取结构化 JSON 的事实标准,基于 Pydantic 模型并带重试 校验。
什么时候不该用所用提供商已原生强制结构化输出、且不需要更多能力时。
风险提示需要目标 LLM 提供商的 API Key;重试循环会增加延迟与 token 成本。
证据
审核查了什么
最近发布:Active release train; verified against the repository releases page at review time.
发布节奏:Regular releases tracking provider API changes.
维护状态:Actively maintained with broad provider integration coverage.
许可证:MIT
考虑过的替代方案:openai structured outputs、outlines