Saltar al contenido principal

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

packages/core/src/OutputParser.ts:98


parse

parse(output): StructuredOutput<SubQuestion[]>

Parameters

NameType
outputstring

Returns

StructuredOutput<SubQuestion[]>

Implementation of

BaseOutputParser.parse

Defined in

packages/core/src/OutputParser.ts:90