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
Name | Type |
---|---|
params | SynthesizeParamsStreaming |
Returns
Promise
<AsyncIterable
<Response
>>
Defined in
packages/core/src/synthesizers/types.ts:23
▸ synthesize(params
): Promise
<Response
>
Parameters
Name | Type |
---|---|
params | SynthesizeParamsNonStreaming |
Returns
Promise
<Response
>