Skip to main content

Function: getResponseSynthesizer()

getResponseSynthesizer<Mode>(mode, options?): InstanceType<typeof modeToSynthesizer[Mode]>

Type Parameters

Mode extends "refine" | "tree_summarize" | "compact" | "multi_modal"

Parameters

mode: Mode

options?: BaseSynthesizerOptions & object

Returns

InstanceType<typeof modeToSynthesizer[Mode]>

Defined in

packages/core/response-synthesizers/dist/index.d.ts:112