Interface: BaseSynthesizer
A BaseSynthesizer is used to generate a response from a query and a list of nodes. TODO: convert response builders to implement this interface (similar to Python).
Implemented by
Methods
synthesize
▸ synthesize(query
, nodesWithScore
, parentEvent?
): Promise
<Response
>
Parameters
Name | Type |
---|---|
query | string |
nodesWithScore | NodeWithScore <Metadata >[] |
parentEvent? | Event |
Returns
Promise
<Response
>