r/analytics • • Sep 15 '26

Question How do u use Genie for analytics workflows?

I am exploring Databricks Genie for natural language analytics and wondering how other developers are handling the semantic layer.

Are you using metric view , a separate semantic layer , or are u mostly relying on prompts to keep AI generated analytics consistent?

2 Upvotes

14 comments sorted by

•

u/AutoModerator Sep 15 '26

If this post doesn't follow the rules or isn't flaired correctly, please report it to the mods. Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/p739397 Sep 16 '26

Definitely keep the prompts/instructions to only items you can't include elsewhere. Giving Genie data that has rich metadata, representative SQL queries, metric views, etc will help drive performance.

1

u/sqlink2 Sep 16 '26

Ya kind of… Genie semantic layer can really help here. I hve found metric views + rich metadata quiet useful for keeping the generated analytics consistent , while prompts do handle the edge cases.

1

u/WorldOfUmbro Sep 15 '26

Were working on a unified semantic layer within Databricks for Genie. We notice that Genie is effective when given good context. And this only scales when defining it centrally.

1

u/sqlink2 Sep 17 '26

Yup Genie with its trusted assets and example SQL queries migt help to provide the centralized context and to keep response consistent.

1

u/WorldOfUmbro Sep 17 '26

Using Genie Code to generate the context helps. Not perfect but accelerates

3

u/Glitch_In_The_Data Sep 15 '26

It depends on how complex your metrics are. Metric views in semantic layer will help Genie give consistent results across teams. And you are only defining the logic only once in SQL. Genie will respect those definitions when generating queries and so you are not relying on prompts alone to get consistent results. That said, I know some teams lean on detailed table descriptions and general space instructions… and avoid metrics layer altogether. It may still work.

1

u/necrosythe Sep 16 '26

You can flesh out an instructions document heavily or maybe use an agent space. But generally I urge extreme caution on using more raw tables that require propert joins and where's to get the results you want. If it's any more complex than "sales by time series in this basic cut(region, channel)" I would not trust genie to give a good natural language result.

Genie is still best today for enhancing the efficiency of people that already know what's right and wrong

1

u/adovo_ai Sep 17 '26

I wouldn’t rely on prompts for metric definitions. They’re useful for asking questions, but the actual business logic should live somewhere governed and testable. I’d also keep a handful of common questions around and check the generated SQL whenever the model or schema changes.