Ask a question to get started
Enter to sendā¢Shift+Enter new line
Get the appropriate function output parser given the user functions.
get_ernie_output_parser( functions: Sequence[Union[Dict[str, Any], Type[BaseModel], Callable]] ) -> Union[BaseOutputParser, BaseGenerationOutputParser]
functions
Sequence[Union[Dict[str, Any], Type[BaseModel], Callable]]
Sequence where element is a dictionary, a pydantic.BaseModel class, or a Python function. If a dictionary is passed in, it is assumed to already be a valid Ernie function.