Ask a question to get started
Enter to send•Shift+Enter new line
Get the appropriate function output parser given the user functions.
get_openai_output_parser( functions: Sequence[dict[str, Any] | type[BaseModel] | Callable] ) -> BaseOutputParser | BaseGenerationOutputParser
functions
Sequence[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 OpenAI function.