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
Defined in
packages/llamaindex/src/OutputParser.ts:81
parse()
parse(
output
):StructuredOutput
<SubQuestion
[]>
Parameters
• output: string
Returns
StructuredOutput
<SubQuestion
[]>