Optional
defaultOutputKey: stringOptional
defaultParses the given text using the regex pattern and returns a dictionary with the parsed output. If the regex pattern does not match the text and no defaultOutputKey is provided, throws an OutputParserException.
The text to be parsed.
A dictionary with the parsed output.
Class to parse the output of an LLM call into a dictionary.