langchain/langchain/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
2023-06-22 21:32:36 +02:00
..
multi_strategy feat: add MultiStrategy output parser 2023-06-22 21:32:36 +02:00
__init__.py Fix class promotion (#6187) 2023-06-18 16:55:18 -07:00
boolean.py convert the parameter 'text' to uppercase in the function 'parse' of the class BooleanOutputParser (#5397) 2023-05-30 16:26:17 -07:00
combining.py Replace list comprehension with generator. (#5526) 2023-05-31 15:10:43 -07:00
datetime.py Harrison/datetime parser (#4693) 2023-05-29 07:52:30 -07:00
enum.py add enum output parser (#5165) 2023-05-27 20:58:23 -07:00
fix.py Add _type for all parsers (#4189) 2023-05-11 01:27:58 -07:00
format_instructions.py Removes unnecessary backslash escaping for backticks in python (#5751) 2023-06-05 13:30:11 -07:00
json.py feat: add MultiStrategy output parser 2023-06-22 21:32:36 +02:00
list.py Nc/combining output parser (#3014) 2023-04-17 20:29:53 -07:00
loading.py move output parsing (#1605) 2023-03-11 16:41:03 -08:00
openai_functions.py changes to llm chain (#6328) 2023-06-18 22:49:47 -07:00
prompts.py Harrison/guarded output parser (#1804) 2023-03-21 22:07:23 -07:00
pydantic.py Harrison/json new line (#4646) 2023-05-13 21:46:33 -07:00
rail_parser.py Guardrails output parser: Pass LLM api for reasking (#6089) 2023-06-18 10:50:20 -07:00
regex_dict.py Removed duplicate BaseModel dependencies (#2471) 2023-04-06 12:45:16 -07:00
regex.py Removed duplicate BaseModel dependencies (#2471) 2023-04-06 12:45:16 -07:00
retry.py Fix typo in docstring of RetryWithErrorOutputParser (#5244) 2023-05-25 09:59:31 -04:00
structured.py added support for different types in ResponseSchema class (#5789) 2023-06-06 22:00:48 -07:00