BaseOutputParser
Defined in: .build/typescript/packages/core/src/schema/type/base-output-parser.ts:5
An OutputParser is used to extract structured data from the raw output of the LLM.
Type Parameters
Section titled “Type Parameters”T
= any
Methods
Section titled “Methods”parse()
Section titled “parse()”parse(
output
):T
Defined in: .build/typescript/packages/core/src/schema/type/base-output-parser.ts:6
Parameters
Section titled “Parameters”output
Section titled “output”string
Returns
Section titled “Returns”T
format()
Section titled “format()”format(
output
):string
Defined in: .build/typescript/packages/core/src/schema/type/base-output-parser.ts:8
Parameters
Section titled “Parameters”output
Section titled “output”string
Returns
Section titled “Returns”string