Class: RouterQueryEngine
A query engine that uses multiple query engines and selects the best one.
Extends
Implements
Constructors
new RouterQueryEngine()
new RouterQueryEngine(
init
):RouterQueryEngine
Parameters
• init
• init.queryEngineTools: RouterQueryEngineTool
[]
• init.selector: BaseSelector
• init.serviceContext?: ServiceContext
• init.summarizer?: TreeSummarize
• init.verbose?: boolean
Returns
Overrides
Source
packages/core/src/engines/query/RouterQueryEngine.ts:64
Properties
metadatas
private
metadatas:RouterQueryEngineMetadata
[]
Source
packages/core/src/engines/query/RouterQueryEngine.ts:60
queryEngines
private
queryEngines:QueryEngine
[]