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