Class: SubQuestionOutputParser
SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.
Implements
BaseOutputParser
<StructuredOutput
<SubQuestion
[]>>
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:80
parse
▸ parse(output
): StructuredOutput
<SubQuestion
[]>
Parameters
Name | Type |
---|---|
output | string |
Returns
StructuredOutput
<SubQuestion
[]>