mirror of https://github.com/hwchase17/langchain
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.pull/3051/head
parent
afd3e70ae5
commit
dcdcd3f636
Loading…
Reference in New Issue