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
Name | Type |
---|---|
output | string |
Returns
string
Defined in
packages/core/src/OutputParser.ts:8
parse
▸ parse(output
): T
Parameters
Name | Type |
---|---|
output | string |
Returns
T