Saltar al contenido principal

Interface: BaseSynthesizer

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

Implemented by

Methods

synthesize

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

Parameters

NameType
paramsSynthesizeParamsStreaming

Returns

Promise<AsyncIterable<Response>>

Defined in

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

synthesize(params): Promise<Response>

Parameters

NameType
paramsSynthesizeParamsNonStreaming

Returns

Promise<Response>

Defined in

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