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