Class: RetrieverQueryEngine
A query engine that uses a retriever to query an index and then synthesizes the response.
Extends
Implements
Constructors
new RetrieverQueryEngine()
new RetrieverQueryEngine(
retriever
,responseSynthesizer
?,preFilters
?,nodePostprocessors
?):RetrieverQueryEngine
Parameters
• retriever: BaseRetriever
• responseSynthesizer?: BaseSynthesizer
• preFilters?: unknown
• nodePostprocessors?: BaseNodePostprocessor
[]
Returns
Overrides
Source
packages/llamaindex/src/engines/query/RetrieverQueryEngine.ts:24
Properties
nodePostprocessors
nodePostprocessors:
BaseNodePostprocessor
[]
Source
packages/llamaindex/src/engines/query/RetrieverQueryEngine.ts:21
preFilters?
optional
preFilters:unknown
Source
packages/llamaindex/src/engines/query/RetrieverQueryEngine.ts:22
responseSynthesizer
responseSynthesizer:
BaseSynthesizer
Source
packages/llamaindex/src/engines/query/RetrieverQueryEngine.ts:20
retriever
retriever:
BaseRetriever
Source
packages/llamaindex/src/engines/query/RetrieverQueryEngine.ts:19