Force the LLM to make a plan and outputting it before actually building the query. Use that plan in query evaluation in later steps.
Force the LLM to make a plan and outputting it before actually building the query. Use that plan in query evaluation in later steps.