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