mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
e31705b5ab
when the LLMs output 'yes|no',BooleanOutputParser can parse it to 'True|False', fix the ValueError in parse(). <!-- when use the BooleanOutputParser in the chain_filter.py, the LLMs output 'yes|no',the function 'parse' will throw ValueError。 --> Fixes # (issue) #5396 https://github.com/hwchase17/langchain/issues/5396 --------- Co-authored-by: gaofeng27692 <gaofeng27692@hundsun.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_base_output_parser.py | ||
test_boolean_parser.py | ||
test_combining_parser.py | ||
test_datetime_parser.py | ||
test_enum_parser.py | ||
test_json.py | ||
test_list_parser.py | ||
test_pydantic_parser.py | ||
test_regex_dict.py | ||
test_structured_parser.py |