Skip to main content

Interface: BaseSynthesizer

A BaseSynthesizer is used to generate a response from a query and a list of nodes.

Methods

synthesize()

synthesize(params)

synthesize(params): Promise<AsyncIterable <EngineResponse>>

Parameters

params: SynthesizeParamsStreaming

Returns

Promise<AsyncIterable <EngineResponse>>

Source

packages/llamaindex/src/synthesizers/types.ts:22

synthesize(params)

synthesize(params): Promise <EngineResponse>

Parameters

params: SynthesizeParamsNonStreaming

Returns

Promise <EngineResponse>

Source

packages/llamaindex/src/synthesizers/types.ts:25