본문으로 건너뛰기

Class: SubQuestionOutputParser

SubQuestionOutputParser is used to parse the output of the SubQuestionGenerator.

Implements

Constructors

constructor

new SubQuestionOutputParser(): SubQuestionOutputParser

Returns

SubQuestionOutputParser

Methods

format

format(output): string

Parameters

NameType
outputstring

Returns

string

Implementation of

BaseOutputParser.format

Defined in

packages/core/src/OutputParser.ts:82


parse

parse(output): StructuredOutput<SubQuestion[]>

Parameters

NameType
outputstring

Returns

StructuredOutput<SubQuestion[]>

Implementation of

BaseOutputParser.parse

Defined in

packages/core/src/OutputParser.ts:74