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

Interface: BaseOutputParser<T>

An OutputParser is used to extract structured data from the raw output of the LLM.

Type parameters

Name
T

Implemented by

Methods

format

format(output): string

Parameters

NameType
outputstring

Returns

string

Defined in

packages/core/src/types.ts:47


parse

parse(output): T

Parameters

NameType
outputstring

Returns

T

Defined in

packages/core/src/types.ts:45