langchain
dcdcd3f6 - bugfix: throw exception if structured output parser doesn't get what it wants (#3044)

Commit
2 years ago
bugfix: throw exception if structured output parser doesn't get what it wants (#3044) allows the user to catch the issue and handle it rather than failing hard. This happens more than you'd expect when using output parsers with chatgpt, especially if the temp is anything but 0. Sometimes it doesn't want to listen and just does its own thing.
Author
Parents
Loading