Parses the given text and returns an AgentAction
or AgentFinish
object. If an OutputFixingParser
is provided, it is used for parsing;
otherwise, the base parser is used.
The text to parse.
A Promise that resolves to an AgentAction
or AgentFinish
object.
Generated using TypeDoc
A class that provides a custom implementation for parsing the output of a StructuredChatAgent action. It extends the
AgentActionOutputParser
class and extracts the action and action input from the text output, returning anAgentAction
orAgentFinish
object.