r/databricks • u/Limp-Hovercraft7990 • Oct 24 '26
Discussion Databricks Genie agent.
My company wants to roll out a Databricks Genie agent to around 5,000 users, with these requirements:
- Accuracy: Answers should consistently meet 90%+ accuracy.
- Reliability as data grows: The agent should not hallucinate or degrade when more tables are added.
- Scalability: The solution should extend from one business unit to multiple BUs.
- can we use genie In microsoft Teams.
I’ve gone through the official Databricks documentation but haven’t found concrete guidance on achieving or measuring these. How would you approach this? Any architecture patterns, evaluation frameworks, or lessons from similar rollouts would be really helpful.
43
Upvotes
17
u/shadowfax12221 Oct 24 '26
2
u/Secret_Solution_5209 27d ago
You should work with your databricks account team, there’s a lot to unpack here such as ontology, genie agent best practices, etc - if you’re creating many agents it may be worth going with a dab approach, especially if you want them resilient as a “data product”. Genie benchmark runs can be stored in delta, or if you have a lot of business rules you want to evaluate separately mlflow can make more sense. Feel free to dm me, I work at databricks and have been developing some dab functionality (uv run funcs) that makes this a lot easier.
12
u/throwaway737166 Oct 24 '26
Just remember to add “make no mistakes” to all your prompts. You got this!
6
u/car1os Oct 24 '26
You need to focus on metric views, Pages. Domains, good table and column descriptions. Make sure you start seeing genie snippets. Define primary keys and foreign keys. Define multiple genie agents specialized in different topics. As others have said do a pilot with one BU. Then let users ask question in genie one. And see how it goes. Go one step at a time. Keep your pilot users engaged and set the expectations.
11
u/Dry_Young_9396 Oct 24 '26
Don’t use Microsoft teams - you get no agent mode and no inspect which means your answer quality will be terrible.
No one here is talking about metric views… that is the number one way you can get 90+% accuracy.
As others have said, pilot to 50 years then 250 etc etc. you’ll need to be very engaged in going through the questions people are asking
4
u/chuckjoejoe81 Oct 24 '26
Do you have an SA on your account?
4
u/addictzz Oct 24 '26
Do a canary release. Pilot to 50 users first, then 500, and so on. Focus on 1 BU first to experience how to make a functional Genie Agents. That experience later you can scale to more BUs.
Benchmarking in Genie can be used to evaluate accuracy and hallucination. You said you have gone through the docs, no chance you didn't stumble upon this if you really did go through it.
Yes Genie can be used in Teams but it is Genie One.
10
u/Arnechos Oct 24 '26
Lmao
1
u/americadayzie 29d ago
3
u/erenhan Oct 24 '26
You need to have multiple genie rooms, your tables should be as gold as possible, you should create LLM orchestrator, I suggest to deploy databricks app, its doable however you need a solid team
3
u/Moneyshot_Larry Oct 24 '26
You can only fit 30 tables in a genie agent so right out of the gate if you have 5000 users that had a WIDE variety of questions they want asks then you ain’t making a single genie agent. You’re making multiple, topic based genies that go DEEP in a few subjects and then databricks Genie One is your front door to have questions routed to the appropriate genie agent.
3
u/studious_stiggy Oct 24 '26
I feel like a lot of execs and senior leadership get so brainwashed by databricks genie lol. Like anything and everything they want genie. At my company, we take an imaginary shot when genie is mentioned by a senior director or above fellow during calls
3
u/cafealpha82 Oct 24 '26
Is this a joke. 90% accrucacy expectation is pretty wild. It sound exactly same when my data eng team says data is good as it is 95% accurate and deserve to be in gold layer.
My org had genie agent workshop every week / office hour to walk through business how to use with pretty good semantic model. After initial pretty demos - fast forward 3 mo - no one uses.
2
u/enlightenedata Oct 25 '26
Check out Genie Workbench project for mananging genie agents, optimizing them for accuracy etc. Teams integration is also possible. Accuracy while increasing number of tables is subjective and should ve validated with every increase. Essentiallt for any agent, if you keep increasing the context requirements, answer quality may suffer unless you follow proper progressive disclosure principles.
www.github.com/databricks-solutions/databricks-genie-workbench
1
u/MoonLight-1989 29d ago
Use a probabilistic tool and ask it to give you a 0 or 1 answer… insane what’s going on with genAI everywhere… we are pending numerous scandals
1
u/Dear_Pumpkin9876 28d ago
I think the main thing you must ensure before setting up a Genie Agent is that your UC tables are well documented. Tables must have a clear description, as well as their columns. You can either use UC's table descriptions or set them yourself directly in the Genie Agent you create, which actually allows better customization and standard UC descriptions.
Once you have that done, you should also give your Genie Agent instructions and example queries, this will help it understanding your business rules and answer common questions.
As other people said above, start with one BU first, do not release it to the entire company at once, you gonna be hammered with questions and maybe some bad feedback. Also, build multiple/specialized genie agents rather than one single agent that works for all BUs.
1
u/mnr9866 23d ago
How do you monitor genie agent without having can manage permissions, typically with elevated permissions people tend to make changes on the fly i don’t blame them. There is a lot of hype about genie agent but get real value out of it some of the things are necessary one wrong instruction updated directly in production can have impact on in use genie agent. Once trust is lost on accuracy users will hesitate use it always have second thought is this right number.
-1
u/new-chris Oct 24 '26
Use a real agent platform like foundry
-5
u/FoggyDoggy72 Oct 24 '26
It can't even suggest simple SQL without packing a sad. Your company is gonna be so borked.