Class: SubQuestionQueryEngine
SubQuestionQueryEngine decomposes a question into subquestions and then
Extends
Implements
Constructors
new SubQuestionQueryEngine()
new SubQuestionQueryEngine(
init
):SubQuestionQueryEngine
Parameters
• init
• init.queryEngineTools: BaseTool
<any
>[]
• init.questionGen: BaseQuestionGenerator
• init.responseSynthesizer: BaseSynthesizer
Returns
Overrides
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:32
Properties
metadatas
metadatas:
ToolMetadata
[]
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:30
queryEngines
queryEngines:
BaseTool
<any
>[]
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:29
questionGen
questionGen:
BaseQuestionGenerator
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:28
responseSynthesizer
responseSynthesizer:
BaseSynthesizer
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:27
Methods
_getPromptModules()
protected
_getPromptModules():Record
<string
,any
>
Returns
Record
<string
, any
>
Overrides
PromptMixin
. _getPromptModules
Source
packages/llamaindex/src/engines/query/SubQuestionQueryEngine.ts:46