Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

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

An output parser was unable to handle model output as expected.
Some prebuilt constructs like legacy LangChain agents and chains may use output parsers internally, so you may see this error even if you’re not visibly instantiating and using an output parser.

Troubleshooting

  • Consider using tool calling or other structured output techniques if possible without an output parser to reliably output parseable values.
  • Add more precise formatting instructions to your prompt.
  • If you are using a smaller or less capable model, try using a more capable one.