add NumberedListOutputParser to output_parser init (#10204)

`from langchain.output_parsers import NumberedListOutputParser` did not
work, needed to add it to the init file
This commit is contained in:
vintro 2023-09-05 04:12:41 -04:00 committed by GitHub
parent 8b95dabfe3
commit ac2310a405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ from langchain.output_parsers.fix import OutputFixingParser
from langchain.output_parsers.list import ( from langchain.output_parsers.list import (
CommaSeparatedListOutputParser, CommaSeparatedListOutputParser,
ListOutputParser, ListOutputParser,
NumberedListOutputParser,
) )
from langchain.output_parsers.pydantic import PydanticOutputParser from langchain.output_parsers.pydantic import PydanticOutputParser
from langchain.output_parsers.rail_parser import GuardrailsOutputParser from langchain.output_parsers.rail_parser import GuardrailsOutputParser
@ -36,6 +37,7 @@ __all__ = [
"EnumOutputParser", "EnumOutputParser",
"GuardrailsOutputParser", "GuardrailsOutputParser",
"ListOutputParser", "ListOutputParser",
"NumberedListOutputParser",
"OutputFixingParser", "OutputFixingParser",
"PydanticOutputParser", "PydanticOutputParser",
"RegexDictParser", "RegexDictParser",