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