Class: SubQuestionQueryEngine
SubQuestionQueryEngine decomposes a question into subquestions and then
Hierarchy
-
↳
SubQuestionQueryEngine
Implements
Constructors
constructor
• new SubQuestionQueryEngine(init
): SubQuestionQueryEngine
Parameters
Name | Type |
---|---|
init | Object |
init.queryEngineTools | BaseTool [] |
init.questionGen | BaseQuestionGenerator |
init.responseSynthesizer | BaseSynthesizer |
Returns
Overrides
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:38
Properties
metadatas
• metadatas: ToolMetadata
[]
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:36
queryEngines
• queryEngines: BaseTool
[]
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:35
questionGen
• questionGen: BaseQuestionGenerator
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:34