انتقل إلى المحتوى الرئيسي

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:80


parse

parse(output): StructuredOutput<SubQuestion[]>

Parameters

NameType
outputstring

Returns

StructuredOutput<SubQuestion[]>

Implementation of

BaseOutputParser.parse

Defined in

packages/core/src/OutputParser.ts:75