Overview / ProceduresOutputParser
ProceduresOutputParser
Extends
AgentActionOutputParser
Constructors
new ProceduresOutputParser()
new ProceduresOutputParser(
kwargs?, ..._args?):ProceduresOutputParser
Parameters
| Parameter | Type |
|---|---|
kwargs? | SerializedFields |
..._args? | never[] |
Returns
Inherited from
AgentActionOutputParser.constructor
Properties
Methods
getFormatInstructions()
getFormatInstructions():
string
Return a string describing the format of the output.
Returns
string
Format instructions.
Example
json
{
"foo": "bar"
}Overrides
AgentActionOutputParser.getFormatInstructions
parse()
parse(
output):Promise<AgentAction|AgentFinish>
Parse the output of an LLM call.
Parameters
| Parameter | Type |
|---|---|
output | string |
Returns
Promise<AgentAction | AgentFinish>
Parsed output.
Overrides
AgentActionOutputParser.parse