Parses the result of an LLM call. This method is meant to be implemented by subclasses to define how the output from the LLM should be parsed.
parseResult(generations: ChatGeneration[]): Promise<T>| Name | Type | Description |
|---|---|---|
generations* | ChatGeneration[] | The generations from an LLM call. |