parseResultWithPrompt(
generations: Generation[] | ChatGeneration[],
_prompt: BasePromptValueInterface,
callbacks: Callbacks| Name | Type | Description |
|---|---|---|
generations* | Generation[] | ChatGeneration[] | |
_prompt* | BasePromptValueInterface | |
callbacks | Callbacks |
Parses the result of an LLM call with a given prompt. By default, it
simply calls parseResult.
The generations from an LLM call.
The prompt used in the LLM call.
Optional callbacks.