Class: SubQuestionOutputParser
SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.
Implements
Constructors
constructor
• new SubQuestionOutputParser(): SubQuestionOutputParser
Returns
Methods
format
▸ format(output
): string
Parameters
Name | Type |
---|---|
output | string |
Returns
string
Implementation of
Defined in
packages/core/src/OutputParser.ts:82
parse
▸ parse(output
): StructuredOutput
<SubQuestion
[]>
Parameters
Name | Type |
---|---|
output | string |
Returns
StructuredOutput
<SubQuestion
[]>