Method not implemented in the class and will throw an error if called. It is likely meant to be overridden in subclasses to provide specific format instructions.
Throws an error.
Asynchronous method that takes a string as input and attempts to parse it into an AutoGPTAction object. If the input string cannot be parsed directly, the method tries to preprocess the string using the preprocessJsonInput function and parse it again. If parsing fails again, it returns an AutoGPTAction object with an error message.
The string to be parsed.
A Promise that resolves to an AutoGPTAction object.
Class responsible for parsing the output of AutoGPT. It extends the BaseOutputParser class.