Skip to main content

Function: getResponseSynthesizer()

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

Type Parameters

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

Parameters

mode: Mode

options?: BaseSynthesizerOptions & object

Returns

InstanceType<typeof modeToSynthesizer[Mode]>

Defined in

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