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 <any >[] |
init.questionGen | BaseQuestionGenerator |
init.responseSynthesizer | BaseSynthesizer |
Returns
Overrides
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:33
Properties
metadatas
• metadatas: ToolMetadata
[]
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:31
queryEngines
• queryEngines: BaseTool
<any
>[]
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:30
questionGen
• questionGen: BaseQuestionGenerator
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:29
responseSynthesizer
• responseSynthesizer: BaseSynthesizer
Defined in
packages/core/src/engines/query/SubQuestionQueryEngine.ts:28