Class that represents an output parser for the ChatConversationalAgent class. It extends the AgentActionOutputParser class and provides methods for parsing the output of the MRKL chain into agent actions.
Returns the format instructions as a string. If the 'raw' option is true, returns the raw FORMAT_INSTRUCTIONS.
Format instructions as a string.
Parses the given text into an AgentAction or AgentFinish object. If an output fixing parser is defined, uses it to parse the text.
Text to parse.
Promise that resolves to an AgentAction or AgentFinish object.
Generated using TypeDoc
Class that represents an output parser for the ChatConversationalAgent class. It extends the AgentActionOutputParser class and provides methods for parsing the output of the MRKL chain into agent actions.