Classes
SubQuestionOutputParser
Defined in: packages/llamaindex/src/OutputParser.ts:72
SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.
Implements
BaseOutputParser
<StructuredOutput
<SubQuestion
[]>>
Constructors
Constructor
new SubQuestionOutputParser():
SubQuestionOutputParser
Returns
SubQuestionOutputParser
Methods
parse()
parse(
output
):StructuredOutput
<SubQuestion
[]>
Defined in: packages/llamaindex/src/OutputParser.ts:75
Parameters
output
string
Returns
StructuredOutput
<SubQuestion
[]>
Implementation of
BaseOutputParser.parse
format()
format(
output
):string
Defined in: packages/llamaindex/src/OutputParser.ts:80
Parameters
output
string
Returns
string
Implementation of
BaseOutputParser.format