メインコンテンツまでスキップ

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 <Response>>

Parameters

params: SynthesizeParamsStreaming

Returns

Promise<AsyncIterable <Response>>

Source

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

synthesize(params)

synthesize(params): Promise <Response>

Parameters

params: SynthesizeParamsNonStreaming

Returns

Promise <Response>

Source

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