Skip to main content

Interface: BaseOutputParser<T>

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

Type Parameters

T = any

Methods

format()

format(output): string

Parameters

output: string

Returns

string

Defined in

packages/core/schema/dist/schema/index.d.ts:196


parse()

parse(output): T

Parameters

output: string

Returns

T

Defined in

packages/core/schema/dist/schema/index.d.ts:195