You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/unit_tests/output_parsers
blob42 55e0e2d6ac feat: add MultiStrategy output parser
- A type of parser where many strategies can be tried before exception
- A strategy is a tuple like class of (parser, predicate, name=None)
- Strategies are tried if predicate is True
- Strategies are tried in order, allows for fallbacks
- Base interface allows existing parsers to use multiple strategies
- New strategies can be added for new output errors and covered by tests
11 months ago
..
__init__.py Add regex dict: (#1616) 1 year ago
test_base_output_parser.py Fix class promotion (#6187) 12 months ago
test_boolean_parser.py convert the parameter 'text' to uppercase in the function 'parse' of the class BooleanOutputParser (#5397) 1 year ago
test_combining_parser.py Nc/combining output parser (#3014) 1 year ago
test_datetime_parser.py Harrison/datetime parser (#4693) 1 year ago
test_enum_parser.py add enum output parser (#5165) 1 year ago
test_json.py handle json parsing errors (#5371) 1 year ago
test_list_parser.py Add unit test to output parsers (#3911) 1 year ago
test_multi_strategy.py feat: add MultiStrategy output parser 11 months ago
test_pydantic_parser.py Harrison/json new line (#4646) 1 year ago
test_regex_dict.py Add regex dict: (#1616) 1 year ago
test_structured_parser.py Add unit test to output parsers (#3911) 1 year ago