Retail Genie: No-Code AI Apps for Empowering BI Users to be Self-Sufficient
Summary
- No-Code AI Applications: This video showcases how Retail Genie enables business users and BI analysts to build AI-powered applications without coding on the Databricks Data and AI platform.
- Retail Intelligence: Learn how Genie empowers retail professionals to create custom applications for demand forecasting, customer insights, and inventory optimization.
- Self-Service Analytics: Discover how no-code tools democratize AI application development, enabling non-technical users to be self-sufficient in creating business solutions.
Retail Genie: No-Code AI Apps for Empowering BI Users to be Self-Sufficient

Talk by Harish Rajagopalan, Solutions Architect, Databricks ; Siddhesh Pore, Sr. Solutions Architect, Databricks
Explore how Databricks AI/BI Genie revolutionizes retail analytics, empowering business users to become self-reliant data explorers. this video highlights no-code AI apps that create a conversational interface for retail data analysis. Genie spaces harness NLP and generative AI to convert business questions into actionable insights, bypassing complex SQL queries. We'll showcase retail teams effortlessly analyzing sales trends, inventory and customer behavior through Genie's intuitive interface. Witness real-world examples of AI/BI Genie's adaptive learning, enhancing accuracy and relevance over time. Learn how this technology democratizes data access while maintaining governance via Unity Catalog integration. Discover Retail Genie's impact on decision-making, accelerating insights and cultivating a data-driven retail culture. Join us to see the future of accessible, intelligent retail analytics in action.
Intelligent analytics for everyone: https://www.databricks.com/product/business-intelligence
BI meets AI: https://www.databricks.com/resources/ebook/business-intelligence-meets-ai
Explore the only unified platform for agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is Retail Genie?
According to this video, Retail Genie is a no-code AI application builder within the Databricks Data and AI platform that enables non-technical retail users to create custom applications.
What use cases can Retail Genie address?
This video demonstrates retail use cases including demand forecasting, customer insights, and inventory optimization that can be built with Retail Genie.
What tools let business users build apps on governed data?
This video showcases Genie on the Databricks Data and AI platform enabling business users to build applications through conversational interfaces without coding. Genie handles data access, permissions, and retrieval automatically. The platform democratizes AI and analytics application development.
Which tools maintain question context across follow-up queries?
This video demonstrates how semantic layers and ontologies in the Databricks Data and AI platform maintain context across conversational interactions. Users ask follow-up questions naturally knowing the system understands prior context. This conversational capability improves exploration and discovery.
How can business context improve AI question answering?
This video shows that grounding AI responses in business context from the Databricks Data and AI platform's catalog ensures answers remain relevant and accurate. Context includes metrics definitions, relationships, and business rules. Rich context enables AI to provide better guidance.
Full transcript
Okay, let's get started. Hi everyone, I'm senior solution architect at datab bricks and with me I have Arish who is solution architect at datab bricks as well. We both work in uh retail and consumer goods and we are very close with all the different use cases different customers we are having. So we wanted to go over how you can u build uh AIBI gen spaces and uh there are a couple of things on agenda. Uh at high level uh we'll talk about what are the traditional BI challenges.
U we will go over architecture of uh Genie in the back end. uh we'll cover the demo and de demo also include uh databics apps and we will deep dive into couple of RCG use cases and the architecture and then we can talk about what is next. We will have some time allocated at the end for any questions but uh if the session is over feel free to grab us outside if you have any questions. Now uh let's jump into uh the challenges.
So before we even talk about uh the challenges with the traditional BIS let's think about how the data is coming into data bricks. So your environment where you are gathering all the data. So data can come from different places. It can come from sales, it can come from CRM, you might be getting some customer data coming in and when all those data is coming in there are always issue around integration. Data can be inconsistent and there could be a data quality issue.
Now when you are loading all those data before your BI tools most of the time what we tend to do is uh do the batch processing and with batch processing many of the time people will end up waiting for BI reporting. Now BI tools are great. Uh they have many capabilities. You can build dashboard and charts but there are chances that uh you need some technical help when you are building some reports and dashboard. You need somebody who understands the data and build something for you.
As an example, uh let's say I am a sales analyst. I am uh reviewing the BI report build for me and if I want to add a new column which helps me to identify my different territories. It is not quick thing because everybody work in different organization knows that we follow the change management process and that change management process can take couple of days even to include a column in your report which is already available within your data.
Now with so many challenges with your traditional BI and if you want to build LLM onto your traditional BI you will you will be working with pre-built semantic models right so all the questions you are asking uh to your BI or your LLM are limited to what is in the semantic model and the questions you are asking and the queries are generated even if you build let's say text to SQL model it will be limited to the semantic model and if you want to do any changes in your semantics or within your data or if you want to have a follow-up questions on the dashboard it is very hard uh so we are working closely as I mentioned with many uh retailers and consumers and these are the top use cases we have found across so let's take an example of customer insight and segmentation right so what happens is marketing team wants to understand the customer behavior, how customers are purchasing your products and using those thing they want to build marketing campaign targeting to the audience.
So they can grow the product, they can grow the revenue, they can grow the sales. But if the report doesn't have the latest data and if you cannot do a deep analysis on your data and if you are just dependent on some chats then it will be harder to build a campaign quicker. Another example uh is financial health analysis where you are working in finance team. So finance team usually have to work with lots of revenue information.
Now that revenue information can come via some database table right there could be some app but at same time many of the places people still maintain all those data into CSV and Excels. So integrating everything and building insight for your finance becomes harder. Now uh when we work with genius spaces or AIBI think about how you can modernize your BI with the AI. So we spoke about couple of challenges uh including uh pre-built semantic model longer time to get into inside.
This moderning BI with AI will help you to build something which is continuously learning from your data. Your semantics are up to date. You have good control and guidance and oversight on your data and at the same time it is secure. Now this is all good right? But then what are the capabilities we think in AI can help BI users at there are ton of capability but couple of those I like is uh natural language interaction.
If people are taking longer time to write SQL queries then it is going to take longer time to reach to your analysis. So that is where enabling people to ask question in natural language helps to get inside get to the insight quicker. Now I also mentioned when I started with the discussion that you need some technical help when you are building codes right. So if we can reduce that technical gap and enable business user to ask question in English and then get result based on their question and do a better text to SQL conversion in the back end. you can do a real-time data analysis and that helps a lot telling your data stories.
So you don't want so when you are telling your story let's say your to your VP or to your boss about let's say your finance report you just don't want to present some chart you need to have some story you need to have answers for questions around why I am seeing this data what is happening in specification what is happening with my sales directory u and when you are doing those you also need something which is learning continuously and you can see the improvement continuously So Chenny can do magic.
Uh but what about governance? I hope all of you have attended keynotes today and having governance within AI plays very important role. Uh so let's talk little bit about how Genie works in back end many of the time. So I was uh uh working on a deops yesterday for AIB and apps and many people asked me this question. Okay, how geni works in the back end. So the idea flow is user ask a question which is in natural language.
Unity catalog has understanding about the metadata. It understand what are those different columns and people are smart enough also to add some documentation. So those documentations are combined with instruction. U if you ask me what is instruction I can say it's prompt. So when you work with any chatbot you add some prompt. So those prompt and instruction get combined and then it is sent to the backend AI model which converts text to SQL and those SQL are executed on the SQL warehouse.
Now when we are doing all those thing security is maintained. So Genie always checks okay what are the authentication user has how it is interacting uh to the SQL warehouse and when you are doing everything everything all the data is encrypted. So that way you are not your data is not going out of your environment. Now this is all good. So let me hand it. He can walk over through couple of AI gener capabilities and also the demos.
Perfect. Thanks S. So now that we have seen the architecture on how Genie works and what's under the hood, let us look at some of the capabilities that makes it effective for a BI user. Um the basic premise of Genie is that it is built on an a system called as compound AI architecture. What that means is it it has specialized uh models that is trained for SQL generation based on the language that you talk the English sentences that you write and also combine that with models for data visualization.
So when the user asks for an answer question uh the answer is almost instantaneous with uh relevant table information and visual insights for that question. And uh Genie also uh goes all the way to tailor the content specific to the question that you're asking. So, Genie has information around the data definitions that are specific to your business uh the business terminologies and the context in which you're asking the question and then it customizes the response uh to make it easy to understand for you and very relevant for the question that you're asking.
For example, uh a sales manager could ask what was my uh week overw week sales report, right? So that terminology of weak over week uh can be taught to genie and then it can learn from it and then give you relevant answers. And then uh there is this concept of trusted results. Uh just like um if you want some question answered uh in your company you would go to the person who is an expert on that field and ask the question right similarly genie has a concept where you can certify answers.
So if uh um if there is an expert on the field if the question keeps coming up you can u register it as a certified answer and then when the uh response comes back uh it will come with a flag saying that it's certified then the user can trust the results right and uh if a user has question or if they uh if if they are not fully trusting the responses they can flag that for expert review also. So when they flag it, it pops up on the monitoring dashboard and then the experts can go review it and then certify the answer so that next next time when someone else ask the same question, they'll get a certified response.
And uh we've also recently introduced this feature of file uploads uh where you can upload a structured file like a CSV uh on the Genie chat window itself and that lets you expand your analytics to adopt analysis. Let's say that you have your set of tables and then you get a weekly sales report from a third party vendor in the email responding. You could just save that CSV file and then upload it to Genie, combine that information with the tables that is already existing on the uh uh Unity catalog and do your downstream analysis to them.
And the key feature of Genie is the continuous learning. So, Genie gets smarter over time. So it uses the questions that you're asking and the follow-up questions it asks for clarity and then combines that with uh all the data definitions and it becomes smarter over time. So with every question, every feedback that you give uh uh for the response a genius respon genius presenting uh it learns from that and it becomes smarter and more familiar with your business terminologies uh as as uh the usage increases and uh like mentioned all these things are built on top of uh uh Unity catalog.
So you get that inherent security uh with Genie. So um in order to use Genie you need to have access to the underlying tables. So just because someone has access to a chatbot what they cannot ask anything and get the information it validates in multiple stages. You need to have access to the genie room and then you need to have access to the underlying tables to get a response from the team. Right. Um and um you know generative AI is getting adopted in retail in a big way.
And if you look at some of the common use cases in uh retail uh we can classify into four common buckets. The first bucket is where every company starts uh their gener journey mostly. It's like the hello world of uh genai. uh it will be uh a rag agent on top of a PDF where uh something like an employee handbook where you can just query and get responses to uh employee policies or it could be uh for associate onboarding handbook where uh you want associates to ramp up quickly on uh training uh uh materials or it could be the internal policy documentations where you just uh keep the policy updated all the time and then the ragwalk fetches and then response to questions which which uh generally cuts down on the time you have to wait for answers for some experts to email or something like that and it drives efficiency.
Then the second category where people are um uh progressing towards is improving the efficiency. These are use cases like uh store manager agent where uh people on the plat floor uh for an industry or uh a a floor manager on a retail industry can have some handheld uh headsets where they can just ask question on the availability of a product in the store which aisle it is in and uh combine that with uh product manuals to understand how the product operates um or information regarding a customer and all sorts of things right And then uh the third stage is virtual agents where the genai agents are capable of doing the task for you.
These can be like uh call center agents where most of the work is now handled by the agents itself and only in case of escalation it goes to a human. Uh most of the answers are just being upfront u when the user asks for it or it could be something like a market image creation or enhancing personalization specific to the user. And then final um uh category is uh where there is an AI enabled innovation where you use genai to ideate new product concepts which goes into the from the stage of just using genai to help with your productivity to using genai to create something new for you.
Right? So this is the try me on apparel where you can try new dresses on a virtual environment generative way I can generate concepts and things like that. And uh while Genie cannot help with all the use cases uh that we commonly see in retail, it can help with most of them and that is highlighted here or should I just rephrase while Genie cannot help with most of the use cases yet uh it can help with uh some of them here that is called out.
So, Genie is really good at going and retrieving information that is stored in your enterprise data warehouses and combining that with other agents to give response analysis to use cases. Right? So, so far we have seen the Genie's capabilities and we also saw all the use cases that retailers are doing and what you can build with Genie and now let us see some of the deployment patterns. How are people adopting Genie on the retail? what do we see on the field?
Right? The first pattern is uh just using genie spaces. This is the vanilla thing uh where you will have uh data domain experts who are familiar with the data that your organization is using and then they build the genie spaces uh by giving instructions and then they add sample queries and then you usually roll it out to a small group of employees within the organization. They test it out, provide feedback on the responses, Genie learns and it becomes smarter over time and then you share the link for other users to consume.
For this mode, it's it's plain love. People have to just log into their data bricks console and then uh use the genie spaces that you have designed and then they'll be able to get the answers. And then once you have built this u the whole goal of Genie is for democratizing data, right? You want the data to be accessible from everyone in the front line to the sea level executives, right? So in order to do that, you need to take the data to them.
If you ask them to log into database environment, it's not going to work most of the cases. So you would want to embed Genie intelligence into the applications that people are already using today. So that is where the uh APIs come into play. So, Genie has API capabilities that you can use to integrate into your applications that you're already having today, right? It could be a uh customer 360 dashboard or a marketing campaign dashboard that you already have and you might want to add this gene intelligence to that, right?
When someone asks why is my sales dropping, then it has to go fetch the relevant information, combine that with other data and then tell you what what's happening, right? Uh so that's the second stage where people are progressing. they leverage the genie APIs and then um you can uh uh get the genie space and then embed that into your mobile application or web applications that you're using or dashboards also for that matter.
Right now let's just quickly jump into a demo of uh these two deployment models and then we'll come back talk about uh one more deployment model and then I'll hand back to for talking about uh real world use cases. So for this demo we are going to do two things. Uh one is we will set up a vanilla genie. uh we'll we'll take a a data set up a genie space on it and then we will teach Genie on uh what the data set is about and then we'll see how genie becomes smarter with our instructions and guidance and then uh that will be the genie space 2 and then we'll use both these genie and then uh we'll deploy them in an app that is the second pattern that you saw on deployment model on integrating genie into your own application Right.
This is a demo environment. Uh so for this demo what we have taken is a subset of the data sets from the customer 360 application. So if you see here uh we have uh the customer table which has the customer PII information. It has the customer ID, the name, age, gender, phone number, email address and all those things. And then we have the customer reviews uh table which has all the product reviews that the customer has done for uh different products that they have bought.
And then you have the interactions. Uh the this this will be any anything from a support interaction that the customer had to the product clicks. What have they added added in the cart and those sorts of things. And then you have the support cases uh that the customer has created uh with u uh the support team and then the transactions. Uh what did the customer buy? Uh what product did he buy? did he or she buy and what category it fell into.
Right? So this this is our data set today and in order to start Genie fresh from the data set two things are very important. One is that your data set should be very relevant to the genie space that you're trying to create. Uh just because you can click you don't want to add you know 20 different tables on a genie space and uh let the AI figure it out itself right that's why we need domain experts. you need to pick and choose what is relevant for that space.
Why this is needed is because it will shorten the learning curve that genie needs to learn about the data. If you just throw everything, it'll struggle to find the relationship. Eventually, it'll get there, but it'll be a long process. But uh so you need u more uh concise data uh and more relevant data to that uh genie space in the gene. And then the second important thing is the description. Uh so you have uh the table description here and you have the column descriptions also here.
This is how Genie understands what's in the table and what column it should combine to give you the results. Uh if you don't give it, Genie will try to make guesses using the table names which you don't want. Again, the whole goal is to shorten the learning curve. And uh if you have hundreds of tables, how do I update the definitions description and all those things? Uh there is this uh database assistant capability that you can uh use to autogenerate the descriptions of the tables and columns that you want to use.
It will come up with its own description and then you can add prompts to refine it or you can correct it and then save it. But these are the two key important things before you get started with G. You need relevant data and then you need descriptions around those uh tables that you're going to be using. And then you can create genie space on two ways. Uh one is there's a top right corner. Uh you can just click genace here and be done with it.
Or you can just navigate to the genie console and then click on new select all the tables that you want uh in the genie room and just say create. So what you just saw is with few clicks we were able to just add intelligence to your data right you were able to add that rag kind of an intelligence layer on top of your data set and um so this is your genie space uh this is the deployment model one that we saw in the presentation on the left is your playground this is where you can type questions see how Genie behaves and everything on the right is all the configurations that you can on top.
Uh so if you see here uh this is the data that I have added for this space. These are the tables and then you can click and see any of the metadatas description. You want to edit it can go ahead and do it. If you want to remove any of the data up here, you can just remove you can add new tables whatever you want to do from the site. And then you have the instructions. Uh think of these are like prompts that teaches Genie how to behave, right?
You're going to say that you are a sales agent so respond to only sales question don't respond to anything else or saying that when someone ask for customer information don't show the email address or phone number and show all the other details. So you're just teaching uh Genie in plain English on how to behave. So that is instructions and then you have the SQL queries uh table where you can record your uh SQL example statements and uh that would be used by Genie to uh answer questions.
So let us just quickly uh uh ask some questions and understand since I'm very new to this space I'm just going to ask Genie to explain the data set. Let's see what it comes back with. Um you can see that it's thinking and then it gave a response. Uh it it just showed us what are the tables that are in this space and one key call out here is the customer ID column. It says that all these tables are privately connected to the customer ID column.
So it's already able to understand the relationship between the different tables and how they are connected together. Right? And then uh you have some u uh sample questions. You can just try it out here. what are the uh common issue categories uh uh for support categories sorry for support tickets and then you can see in shipping you get the most tickets uh billing you have some tickets and things like that and then uh let me ask uh give me the top 10 customers by transaction and uh if you see here it's going to obviously give me the top 10 customers by uh the purchases that they have made.
But one important uh thing to note here is uh when I ask the question, the question gets converted into a SQL code, right? And that SQL is executed against your tables and that is how the results are populated. And if you want to edit the SQL, you can edit it. If you are proficient enough SQL, you can go ahead make changes and then save it. Otherwise, u we also have the assistant capabilities. uh to help you with editing that SQL.
For example, right here, the customer uh ID and transaction count is coming. I don't know what this ID means. I would ideally want uh a name of a customer there instead of an ID, right? So, I'm going to modify it in the file. Uh if the answer is relevant, you could say yes uh and provide a good feedback. Otherwise, I'll just say fix it. And then I'm going to say uh replace uh customer id with full name. So um what I've done is that I've asked Genie to modify the response and from every feedback that you give genie is going to learn and then it's going to change its course.
If you see here uh yeah so it it it gave the full name with it right and then you can add this as instruction um and just save it uh saying that uh yeah okay it's already there that's why it didn't come okay so you can just save it as a sample query next time when someone asks about the top 10 customers it will always give it the full name uh instead of the customer ID right So genie learns from how you define and then um you uh you can add your business terminology also through this uh you can say give me the wow uh reports and then it might not know what wow is and then you can define instructions say wow is this and then it will respond accordingly.
Uh in the interest of time I'll just cutshot some of the things. Um it it obviously asks three questions and then you'll have a monitoring tab uh where you can rate your queries. Again this will this feedback will help uh Genie learn from uh all the uh feedback you are giving and it comes smarter over time. Um and uh I'll go back to the demo uh sorry slides and uh one other pattern that we are starting to see in the field is using genie as a part of a uh agantic system.
So you will have a highle routing agent where people will come and ask questions and then that routing agent would be smart enough to call the genie agent or another language translation agent or whatever it is as a part of a broader ecosystem and sid will cover that in detail in before we go can we show app uh uh one other deployment pattern that we call is how you can use genie as a part of your uh applications. Uh so we have just uh and I built a sample app here.
The Genie rooms that you saw here uh are part of the Genie rooms here. This is all powered by uh uh lake apps that uh Benga G today. Uh if you see here uh the we use the databix uh tokens and then uh call a genie API and then start a conversation and every time you enter a chat it uses that to initiate a conversation and then poll for response and then display in the front end. And uh this is the high level app. Uh the benefit of this is that you can have multiple genie rooms and then you can use a front-end authentication to determine who is logging into the genie room.
If it's a salesperson, you can just show the sales room. If it's a CEO, you might want to show the revenue room, sales room, and so many other genies exposed uh uh based on their work. All right. Uh I'll hand it back to cover the RCG use cases. Oh, that's amazing demo. Uh we have very short time. So, uh but the app can help you build many things with the and you must have seen the announcement today. It is GA. So, you should be able to use that app.
Uh we have cookbooks available on the website. So you can search for database cookbook. Uh now let's talk about couple of use cases quickly. Uh imagine you know uh if I want to build a sales pipeline visualization. So what it will do is help you to identify what is happening in my each sales stage and when I'm doing that I encounter with the challenges like my data is premodel. I need to have licensing on my BI tools and many of the times uh I need somebody as a super user to build something for me.
How Jenny helps to do that is uh with the capability what we showed in the demo you can connect directly to various uh tables but at the same time imagine that people are also storing all the records in CSV file. So how the architecture will look like? So the architecture will look like where your genie spaces is connecting to your CRM data where you have all the information about customer. You'll have some sales data and then you'll also enable user to upload CSV files and then that genaces can help you answer any question.
Now as we were talking about multi- aent uh think about this perspective that if I want to extend this folder and if I'm let's say some store operator in midwest so I want to understand what is my inventory uh what are my sales and customer services how my cash is flowing and how I can uh promote uh do the promotion for my products right and here also with traditional VI you'll end up facing similar challenges where you still need somebody with skill gap app and uh somebody uh and overall the reporting will be slower.
So how can help and you can combine agent with that. So Jinny will definitely help you to run uh run the questions on let's say inventory and it will give you details about okay how my inventory is where is my inventory and then on top of that you can combine those with agent. So you can use Genie as one of the agent and when you try to build that the architecture will look like this. You can have a databix apps connecting to your inventory gen agent which is trying to identify okay where is my inventory.
Imagine your stores are located in uh multiple locations. So you can have a multilingual support and at the same time you also want to understand about your product. You want to know the compliance rule and policies within your store. So you can combine that show it on the app and you can have a store operation agent created where building genie is you know anybody can build and for agent things as we introduce AIX today most of the people be able to build that via UI now uh if I am a finance user right the finance user always have challenges where they want to have need accurate data again data is siloed and many of the time finance team enter their own Excel sheet.
As an example, if I want to calculate let's say cost of goods sold, then I will end up having going through multiple formulas. So what will be a natural step for somebody to build the end to end system including Genie building as an agent and then combining everything. So what I will do is I will create a finance gen space which will have finance data. I will have all my calculations stored in unity catalog under various functions and I will also allow user to do manual upro.
I will take this genie space and put it into an agent. So then I will have finance genation. I can still reuse let's say I am from a same department where where I have multilingual support I can also combine that agent and then one more thing for finance is important where all your quarterly report are usually on PDF format or some website. So you can build a vector index on those PDF file combine everything everything can run via a supervisor agent within databicks apps and then you can give a cohesive experience to users.
Now uh the demos are good architecture is good what are the steps to get into production or for success. So we saw how you can build Genie. We saw what are the deployment patterns. What is important is if when I went through all those use cases and around RCG I always define Genie with specific scope. So understanding what is the scope for Genie and what are the goals you are having for Genie are very important. You cannot have Genie for let's say entire organization.
So that is where even if you build agent, you try to build multi- aent system where you have different agent doing different jobs. Once those are done, make sure you are testing with smaller users because that is the part of your user acceptance testings and then iteration is important because every time user is uh giving some feedback to gen is learning. So having that iteration and then onboarding new user and then you can further expand to your organization uh the gen space.
What else? So the last two things I would like to quickly cover is one uh you can use jenny in any collaboration tool. So we I have customers who are already integrating Chenny with Microsoft Teams, you can integrate Chenny within your Slack environment and then it will be able to uh uh answer any question because many of the time uh rather than going and building another app can you have that thing built within your collaboration tool so people can directly ask questions and uh lastly Genie is also available in dashboard.
There is many of the time people have dashboards and they want to know okay if you have dashboard map of entire US and if you want to understand okay if you are a product company how much products are sold within LA area you cannot ask those question to map having Genie within dashboards you can ask question directly to Genie room and then it would be able to tell you okay how many products were sold within Leria now to uh end it out I want to just summarize is what we discussed so far.
We discuss about uh gen spaces so enabling user uh BI user on the AI making data accessible to everybody uh making uh sparter analytics uh giving user opportunity to have instant actionable insights so you can move forward you can improve your organization productivity and uh you can build a compound AI system using Genie and multiple agents. Uh that's it. Thank you.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.