Class: SubQuestionOutputParser
SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.
Implements
BaseOutputParser
<StructuredOutput
<SubQuestion
[]>>
Constructors
new SubQuestionOutputParser()
new SubQuestionOutputParser():
SubQuestionOutputParser
Returns
Methods
format()
format(
output
):string
Parameters
• output: string
Returns
string
Implementation of
Source
packages/core/src/OutputParser.ts:80
parse()
parse(
output
):StructuredOutput
<SubQuestion
[]>
Parameters
• output: string
Returns
StructuredOutput
<SubQuestion
[]>