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