Using Genie in Multi-Agent Systems — SQL Query Missing from Output

Karthik_Karanm
New Contributor III

Hi Community,

I’ve implemented a multi-agent system using Genie in Databricks, following the guide on "Use Genie in multi-agent systems | Databricks Documentation". The system integrates well with vector indexes, and everything works fine during model logging and prediction phases.

I’m receiving all the expected results from the agents, but I’ve noticed that the SQL query is missing from the output. My expectation was to retrieve the generated SQL query from the Genie agent, but it doesn't appear in the response.

I have seen SQL queries in my poll results on MLFlow traces. How do I get this on the output.

Thanks in advance for your help!

#Databricks #GenieAgent #MultiAgent #SQLGeneration #VectorSearch #LLM #DatabricksGenAI #AIIntegration #GenAI #DatabricksCommunity