Logo
Classes

SubQuestionOutputParser

Defined in: llamaindex/src/OutputParser.ts:72

SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.

Implements

Constructors

new SubQuestionOutputParser()

new SubQuestionOutputParser(): SubQuestionOutputParser

Returns

SubQuestionOutputParser

Methods

parse()

parse(output): StructuredOutput<SubQuestion[]>

Defined in: llamaindex/src/OutputParser.ts:75

Parameters

output

string

Returns

StructuredOutput<SubQuestion[]>

Implementation of

BaseOutputParser.parse


format()

format(output): string

Defined in: llamaindex/src/OutputParser.ts:80

Parameters

output

string

Returns

string

Implementation of

BaseOutputParser.format

On this page