Can TransformQueryEngine take multiple query engines (array of engines)? I asked the LLama chatbot and it provided a response that doesn't work:
from llama_index.indices.query.query_transform.base import HyDEQueryTransform
from llama_index.query_engine.transform_query_engine import TransformQueryEngine
# Initialize your index and query engines
query_engine_1 = YourQueryEngine1()
query_engine_2 = YourQueryEngine2()
# Define your query transformation
hyde = HyDEQueryTransform(include_original=True)
# Create an array of query engines
query_engines = [query_engine_1, query_engine_2]
# Create a TransformQueryEngine with the array of query engines and query transformations
transform_query_engine = TransformQueryEngine(query_engines, query_transforms=[transform_1, transform_2])
# Query the index using the TransformQueryEngine
response = transform_query_engine.query("Your query")
# Process the response
# ...