Skip to main content

Class: SubQuestionOutputParser

SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.

Implements

Constructors

constructor

new SubQuestionOutputParser()

Methods

format

format(output): string

Parameters

NameType
outputstring

Returns

string

Implementation of

BaseOutputParser.format

Defined in

OutputParser.ts:97


parse

parse(output): StructuredOutput<SubQuestion[]>

Parameters

NameType
outputstring

Returns

StructuredOutput<SubQuestion[]>

Implementation of

BaseOutputParser.parse

Defined in

OutputParser.ts:89