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/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
11 months ago
..
multi_strategy feat: add MultiStrategy output parser 11 months ago
__init__.py Fix class promotion (#6187) 12 months ago
boolean.py convert the parameter 'text' to uppercase in the function 'parse' of the class BooleanOutputParser (#5397) 1 year ago
combining.py Replace list comprehension with generator. (#5526) 1 year ago
datetime.py Harrison/datetime parser (#4693) 1 year ago
enum.py add enum output parser (#5165) 1 year ago
fix.py Add _type for all parsers (#4189) 1 year ago
format_instructions.py Removes unnecessary backslash escaping for backticks in python (#5751) 1 year ago
json.py feat: add MultiStrategy output parser 11 months ago
list.py Nc/combining output parser (#3014) 1 year ago
loading.py move output parsing (#1605) 1 year ago
openai_functions.py changes to llm chain (#6328) 12 months ago
prompts.py Harrison/guarded output parser (#1804) 1 year ago
pydantic.py Harrison/json new line (#4646) 1 year ago
rail_parser.py Guardrails output parser: Pass LLM api for reasking (#6089) 12 months ago
regex.py Removed duplicate BaseModel dependencies (#2471) 1 year ago
regex_dict.py Removed duplicate BaseModel dependencies (#2471) 1 year ago
retry.py Fix typo in docstring of RetryWithErrorOutputParser (#5244) 1 year ago
structured.py added support for different types in ResponseSchema class (#5789) 12 months ago