response = query_engine.query(...) for resp in response: print(resp) # This will show the nodes used to generate this response.
query_engine = SubQuestionQueryEngine.from_defaults( query_engine_tools=query_engine_tools, use_async=True ) response = query_engine.query(...)