Sub-Question Query Engine
🚀
Enhanced
Direct integration with Langfuse tracing
A query engine designed to solve problem of answering a complex query using multiple data sources. It first breaks down the complex query into sub questions for each relevant data source, then gather all the intermediate reponses and synthesizes a final response.
 (1) (1) (1) (1) (2) (1).png)
Inputs
- Query Engine Tools
- Chat Model
- Embeddings
- Response Synthesizer
Parameters
| Name | Description |
|---|---|
| Return Source Documents | To return citations/sources that were used to build up the response |
Outputs
| Name | Description |
|---|---|
| SubQuestionQueryEngine | Final node to return response |