Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

输出解析器无法按预期处理模型输出。
一些预构建的结构(如旧版 LangChain 智能体和链)可能在内部使用输出解析器,因此即使您没有显式实例化和使用输出解析器,也可能看到此错误。

故障排除

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