> ## Documentation Index
> Fetch the complete documentation index at: https://nvd-54.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OUTPUT_PARSING_FAILURE

[输出解析器](https://reference.langchain.com/python/langchain_core/output_parsers/)无法按预期处理模型输出。

<Note>
  一些预构建的结构（如旧版 LangChain 智能体和链）可能在内部使用输出解析器，因此即使你没有显式实例化和使用输出解析器，也可能看到此错误。
</Note>

## 故障排除

* 如果可能，考虑使用工具调用或其他结构化输出技术，而不是使用输出解析器来可靠地输出可解析的值。
* 在你的提示词中添加更精确的格式化指令。
* 如果你使用的是较小或能力较弱的模型，请尝试使用更强大的模型。

***

<div className="source-links">
  <Callout icon="terminal-2">
    [将这些文档连接](/use-these-docs)到 Claude、VSCode 等工具，通过 MCP 获取实时回答。
  </Callout>

  <Callout icon="edit">
    [在 GitHub 上编辑此页面](https://github.com/langchain-ai/docs/edit/main/src/oss/langchain/errors/OUTPUT_PARSING_FAILURE.mdx)或[提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
