----------------------
Yes, you can use the Multi-Step Query Engine with the SQL Query Engine in LlamaIndex. The Multi-Step Query Engine is designed to decompose complex queries into sequential subquestions, which can be particularly useful when working with structured data like SQL databases.
In the context of SQL, this could involve breaking down a complex query into simpler SQL queries, executing them sequentially, and using the results of one query to inform the next.
Here are the relevant guides for each:
- Multi-Step Query Engine Guide ()
- SQL Query Engine Guide ()
Please note that while these guides provide separate examples of using the Multi-Step Query Engine and the SQL Query Engine, they don't provide a specific example of using them together. You would need to integrate them according to your specific use case.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------