mirror of https://github.com/hwchase17/langchain
**Description:** Fixes OutputParserException thrown by the output_parser when 'query' is 'Null'. Replace this entire comment with: - **Description:** Current implentation of output_parser throws OutputParserException if the response from the LLM contains `query: null`. This unfortunately happens for my use case. And since there is no way to modify the prompt used in SelfQueryRetriever, then we have to fix it here, so it doesn't crash. - **Issue:** https://github.com/langchain-ai/langchain/issues/15914 Didn't run tests. `make test` is not working. There is no `test` rule in the `Makefile`. Co-authored-by: Jan Horcicka <jhorcick@amazon.com>pull/15952/head
parent
782dd44be9
commit
f454e95461
Loading…
Reference in New Issue