Parses the output and returns a JSON object. If argsOnly is true,
only the arguments of the function call are returned.
parseResult(generations: Generation[] | ChatGeneration[]): Promise<Output>| Name | Type | Description |
|---|---|---|
generations* | Generation[] | ChatGeneration[] | The output of the LLM to parse. |