Class: RetrieverQueryEngine
A query engine that uses a retriever to query an index and then synthesizes the response.
Implements
Constructors
constructor
• new RetrieverQueryEngine(retriever
, responseSynthesizer?
, preFilters?
, nodePostprocessors?
): RetrieverQueryEngine
Parameters
Name | Type |
---|---|
retriever | BaseRetriever |
responseSynthesizer? | BaseSynthesizer |
preFilters? | unknown |
nodePostprocessors? | BaseNodePostprocessor [] |
Returns
Defined in
packages/core/src/QueryEngine.ts:33