0:03 Yeah. So, Lohit, you’ve deployed many many chat bots conversation AI products in the past. So, let’s say uh I run a team and we are overwhelmed by ad hoc questions, just random questions left and right about uh our business and we really want to invest in a chatbot. How do I go about doing that? What needs to get right in order for something like this to to actually be possible? Yeah, I think that that’s a that’s a great question. uh I think a lot of startups should be already working on these stuff. So I’m going to give my my understanding and how I probably will build this system. So so I think the most important part is I can see it being something like that with like AI feature that can be hooked up but you have to have all of your
0:45 underlying data and stuff and implemented in a certain way for the AI to actually work well with it. That’s probably an entire job in itself. Exactly. Exactly. Because just think about this how dangerous it can be. So, so you go you go with a data set which is uh comparing quarter 2 and quarter 3 sales data and I don’t know because of hallucination if the number came opposite you go and present the same information to the executive guarantee we I guarantee there are going to be some stuff where it’s like someone did their earnings report publicly they did the AI got it all up their stock went crazy and then they have to come out and just like oh man like false false report CFOs fired like there’s going to be like that.
1:36 On the podcast today we have Lohit Yogi. He’s a technical principal product manager at Service Now building agentic systems and has spent time building AI agents at Adobe. In this episode we talked about chat bots versus conversational AI. See the LM revolution firsthand. Natural language business intelligence. Our AI agents ready to answer your data questions. Real world AI deployment challenges, hallucinations, inconsistencies, and data governance. Building AI data agents, strategies for success from UX to managing errors. Be sure to subscribe to Data Neighbor in your favorite podcast app and YouTube. Let’s dive into our conversation with Lohit Yogi.
2:20 No. Hey everybody, welcome to another episode of the data neighbor podcast with hi Shravia and Sean. Today we have Lohit Yogi with us. Welcome Lit. Welcome. Hey long time and uh yeah certainly we’re going to have a really good conversation with you about conversational AI. So before we jump into our topic, you’ve been involved in the whole AI space specifically on the product side since even before the chat GBT moment came out. Um what’s can you tell the audience kind of like your journey and how you got into this whole thing from the very beginning?
2:58 Yep. Yep. Yep. Sure. Uh and then that’s a great question. So and thanks thanks for inviting me to share my insight what I learned with my career. So like my journey into AI product leadership started just after my school. So when I finished my school, I started working as a machine learning engineer. Fortunately, I got a lot of opportunity where I can showcase my technical skills and leadership skills. I started with a very like midsize company like called Ashuran. It was like 2018. So like that time we were building chatbot for the insurance uh company. So that particular experience taught me the importance of like how do we understand the customer? How do we use that knowledge that okay why customer is coming to us? How do we help them? How do we understand their problems and provide them the right resources? So
3:49 like just think about that at that time we started with like very simple basic regex models move from reg x to machine learning models then deep learning models and like the main idea was that okay how do we help them? I worked there like for like a year or something and then I moved to Adobe. I stayed in Adobe like five years. Similar type of like things, right? So I started with uh like a single textbased conversation AI where you enter a text, we understand the text, use that text to write identify the intent and give you right resources.
4:19 Mhm. We successfully did a lot of good things and then we slowly uh made it omni channel. So if you call us, we will also understand you provide you the right resources. It’s very hard on the phone nice for everything. Yeah. And then we move from that deep learning transformer type of model to a large language type of models. Right now I’m working with service now. We are like very very dedicated to the how do we develop agentic workflows and then automate this. So the main important part where like I moved from from a from a from after my school to a very specific product uh thinking is when you start using like I’m very very passionate about machine learning. So anyhow I wanted to use machine learning for the real people when I started my career and when I worked first time in a company
5:03 where they were using machine learning to help customer that was amazing. So so just think about this when you have a limited resources as like a smalls size company and someone is trying to reach as a consumer like I’m a I’m a pure consumer I’m trying to reach out to you can you guys help me with this and if I don’t have enough uh human support then all of those customer will be waiting in the line. Yeah. like a basic teller example when you use machine learning in all of those scenario to reduce that overhead that’s amazing like amazing like you feel so awesome here like I don’t know if you guys also go into the bank and if there’s a one teller and there’s a big line you will be like oh and but if you have an app which can do the simple
5:45 things you’re good I only go into the bank once every four or five years now though I feel it’s like it’s all digital and and now I’ve the last couple times I’ve gone in there it’s been like I have to Like I get like a check from like another currency and I have to go to the bank to get it deposited and I’m always like how do I do every everything? Exactly. Right. So just think about that even even that’s a one basic example. So the bank apps used to like they don’t allow they used to not allow to deposit a check using app.
6:16 Mhm. Now you can actually use the mobile app take a screenshot of your check and then deposit it. You don’t need to go bank at all if if there is something you don’t need cash and all of this is happening like sometime with the business intelligence because you are taking a screenshot they are verifying the screenshot they are doing some backend system to verify that okay the signature is correct that’s definitely coming from like some ecosystem which compared both signs and machine learning and then say oh yeah this is the right person who are depositing the check so we are good let’s deposit this so so like these are the basic examples so my true like motivation was that okay Machine learning is awesome like really really awesome and how do we really use this to build products feature or
6:59 different things which can really help the customer in the real world. Yeah. No, that’s awesome. So I picked up two key terms that you kind of alluded to in uh in in that in that answer that you just gave which is chat bots and conversational AI. So what’s the difference between the two? Is one are they synonymous? How should we how should the audience be thinking about them? M I think they they are like pretty similar like it’s just a different terms. So the conversation AI in general we call as a broad broader scope because like chatbot in general is developed because it was chat and there is a bot to help you in the chat.
7:35 Mhm. Whereas the conversation AI is kind of like the overall modality conversations between voice image video everything understand and like use it. So, so I think this is a basic difference, but like it’s a very interchangeable like people should be able to understand both if you’re using an as a vocabulary. Okay, that’s fair. So, this this this may be a obvious question to you, but uh hopefully you can paint a picture. What are the limitations early on with chat bots that you build with machine learning models versus now in terms of the large language model powered ones?
8:07 I think that that’s a great question like I’m going to like try to give some real world example in this. So, so just think about that the earlier stages the chatbot was very very uh specifics like they they they were very limited in terms of understanding they were very limited about uh that okay you have to write in a certain fashion to get the right response but if you miss that that what you’re writing even misspelling can make it make it bizarre right so for example even just like you say what’s like your written policy and if you misspell return in some fashion which can translate some other word or it’s closest match to other word it will automatically start like it will not understand you it has to be like oh I don’t know what you’re saying can you just say it again
8:53 yeah especially like the phone ones when you’re just like yelling at them to like trying to pronounce the word correctly one you’re like I know I said cancel subscription human exactly right so and then it’s like and and this is very frustrating right so it’s not like a simple that okay yeah we are just repeating but they had a like limited uh understanding about the context they were very very like basic to just like matching what you’re saying use that information to like find if we can if we cannot just like say something the second one I think I failed is like they were also very rigid right so rigid means is kind of like they never maintained uh any context like when you like you just made an example that you were saying cancel and then what if you say my plan
9:40 they will take both of them in a different as a input, right? They will think cancel was something else. Now my plan is something else and it will automatically give you some weird result about your my plan and and it will generate like lot of uh like frustration for the customers because like what you’re doing is that you’re not keeping any context. You are just like thinking that every word is coming like a brand new question and then you use that information to find the relevant resources which is totally wrong because no one talks like this like they they don’t have a tendency to just say everything in one line.
10:17 So sometime people pause sometime people just say okay yeah like it’s kind of like they think and they type and which actually break all of these older type of ecosystems or conversation or like chat bots. A third thing what I feel like is like more or robotics right so before the generative models everything was handwritten you find a intent and then that intent supposed to trigger a workflow which is defined by us or the people or the engineers and everything. So, so exactly one-on-one mapping if you take this decision then only we take could go to the this decisions very very robotic very very predefined notions very very like there was no intelligence behind it this was just like okay they are saying cancel show this line they are saying buy show this line they are saying billing show this line that’s that’s
11:05 like like a magic eightball right so you ask the question they have like some repeated number of things and they will just keep on showing that so so it was like pretty pretty bad. And now if you compare all of this like older decision tree level or reg x level chatbots to another current ecosystem you will like you will be so fascinated to just see like it happens all of this happens in like last four years. So the rule base is gone. Now we have like large language model which is not just understanding the customer intent it’s also generating the responses what customer wants to see there like we are also keeping the context of the overall customer conversation. We don’t need to actually just like think about oh everything is happening in a behind the scene and like handling ambiguities handling the
11:49 multi-turn conversations taking action behalf of the customers and then how they’re thinking what they’re thinking like a basic example is that if I go to a chat GP day today and then say I’m planning a trip to Seattle next weekend. So just think about that now the system is so intelligent that they next weekend is also a context for them. So they will not ask you the dates. They may ask you okay are you going on Friday and coming back on Sunday is that you’re saying or are you going on Saturday or coming back on Sunday because they already understand that the next weekend is it’s a context. It’s not just about that they are just saying some random information.
12:27 So like this is pretty pretty incredible. I don’t know like if you guys want I can also give you like some context that how what’s happening behind the scene. So like when you ask these type of question assistant understand the context they try to build this relation between your query and the context. Okay and then they try to see that if there is an ambiguity what we are doing. So for example what I said is that next week kind of like or or weekend is kind of like a specific date range. So and then I’m saying that I want to book a trip. So my intent is really that okay I want to book a flight or something. So asking something they’re okay yes I can find you a flights or or car or anything like different option how they want to
13:11 travel and giving that option back to the customer will help them okay yeah that makes sense that okay I am doing this and this is the way I’m adapting all of this conversation and then building the conversation according to the customer inputs instead of like a predefined notions that you click on car or you can click on flight then go to the flight mode it go to the hotel mode and stuff like this. So, which is like quite amazing to see that all of this has happened in very short time of period.
13:38 Oh, yeah. I feel like I’ve gotten so used to just like anytime I’m working with like an AI, whether if it’s in like a chat bot or if I’m like writing code through some sort of like aentic coding tool or if I’m just like chatting with like chat or something. It’s like I am now just like brain dump everything. I’m like stream of consciousness like full of spelling errors and then it’s like okay yeah I I think this is what you’re trying to get at like I could send that to my wife and she will not know what I’m talking about. She’d be like I don’t know how to interpret this. We need the AI to interpret this. Um, but it was just so crazy like you were saying before whereas before if you just like misspelled a couple words it was like I
14:25 don’t know what you’re trying to ask when to ask it again and now it’s like hey I think you’re yeah like you just said you’re trying to plan a trip here’s all the workflows we could do together like clarify it’s pretty cool exactly exactly and then being intelligent is exactly like this right even small things I don’t know like most of the time uh I used to do all the math with my hands. Now, a lot of things you can just like put it there. Yeah. And and like you can just say, “Oh, 20% of this or 50% of this or calculate the 90th percentile of this or or like things like this like it’s pretty pretty awesome what we have right now. It’s very very powerful.
15:04 Yeah. Yeah. No, for sure. That’s that’s really cool. Hey, I think we’re going to get into this really fun se section here, this really fun segment here, which is you have mentioned you’re really passionate about building chat bots or you’ve been very passionate about having developing chatbots to help customers and obviously on this podcast our a lot of the customers here are data professionals. So whether they’re they’re uh so let’s pick maybe like one segment of them for example like data scientists uh they do a lot of uh they get a lot of questions throughout their day like hey what uh you know like can you plot me this can you pull me this number can you do x can you do y that would seem to us to be a very perfect situation to use some sort of chat bots
15:48 to to help resolve those sort of questions. So a question in this vein for you Lohit which is how close are we to natural language business intelligence where we can just ask questions to a chatbot and then it will be able to provide us with answers according to our databases our own data and it knows what to do and what to compile. Yep. I think I think that that’s a great question and and my my response on this is that we are almost there. Just think about this the the overall conversation AI is evolving so rapidly and it’s just not like helping about the data scientists data analyst or nontechnical stakeholders.
16:32 Yeah. How do we actually put all of that information in a fashion that can be like leveraged using the conversation AI? It’s kind of like that integrating both of these ecosystems. And if you see in the back end side NoSQL or the graph SQLs, right? What they’re doing actually is they’re using all of this data tables in in such fashion and building those intelligence around it like those those different like older SQL was like very limited. they have tables and table have like maintained their own key value pairs and all of those things and unique value and all of thing. Now the GraphQL is not just like a basically just maintaining those ecosystem and tables they’re also actually building the relationship between the entity and nodes and then like how do we traverse the nodes and entities. So, so like just
17:17 think about this like this ecosystem when connect with the ecosystem where you’re asking things in the natural language processing or like a simple text or voice anyways it will take that query translate that query with a very similar or generate SQL query uh and then find out what should be the right things they need to fetch out of these tables. Yeah. use that information to summarize and build the insight. That’s pretty awesome. I know there are a lot of challenges behind it. Yeah, just think about this is like a brand new junior analyst which can make uh mistakes but still it’s kind of like can do the 70% of job there. So you need a supervision on top of it definitely but it’s kind of like a junior analyst which can write a simple SQL query for you find out the right information build
18:07 that information behind the scene and then you can just ask him can you give me the total sales revenue between X year to Year and that should be able to give you the information again lot of challenges behind the scene but still that’s doable in some fashion with some accuracy. Yeah, I I agree. I think we’re getting pretty close. I mean, we had I remember it must have been like two years ago or something. I don’t know if you remember this high. We’re at Next Door and we had the like uh like head of sales for Open AI came in and gave a talk to like all the data people and I remember at one point she was like showing off OpenAI’s. This was like I don’t know if it was maybe it was three years ago. It was like a year
18:49 after like 3.5 came out, maybe even six months after, not it was probably six months. And she was like showing off like, oh, and you can upload an X CSV and like now it’s like having a data scientist in your back pocket. And I remember being like, hey, first you got to know your audience. Like you’re just telling us that we’re going to lose our jobs. But second of all, I was like, no, I’ve used it like it sucks. like and then but now like when I’m like building out I’m like building out this like evaluation pipeline at work and a lot of the way I’m building it is I’m using like cursor and I’m using claused code and so it’s actually like it understands a lot of the pipeline itself like you were saying and it understands a lot of
19:32 the relationships and the tables it’s actually building and writing to snowflake on its own. And so later on what I’m asking you, okay, now help me build a streamllet app that like analyzes these results in this specific way. By the way, go look at like the like build table function that you wrote before to understand exactly all the input data into it. And I can actually do a pretty good job because it understands all the context of what’s how how it’s been built behind it and some of the business logic. I think what’ll be interesting to see though going forward is like that business logic piece for like all these established like data warehouses and stuff where someone’s trying to like plug an agent into it but it might not have all the context of like what everything means. Yeah. I don’t know if
20:23 you have any advice in terms of like I don’t for people who are trying to annotate or what they got to do to basically make this stuff as easy as possible for AI to understand. Yes, I think that that’s a great point and like so my suggestion is that like it’s not about losing job. I think the most important part this advancement is that how do we use AI to fasten the stuff and do more like effectively like that’s that’s the way I always see. So just think about that like in three years ago if someone asked me go and find out the key trends in the sales report that may take like a week two week or 3 week depend upon so many factors that what are the different types of joints you need to do different types of exploration you need to do what
21:10 are the different tables they are using what are the what are the right value you need to use and all of those things right so finding out like these type of things oh why like next question that once you have like okay key trend and Now the next question is if the leadership ask in the same meeting where you’re presenting what are the revenue drop in Q2 why that happened so that’s kind of like generating a new question and then takes like one more month to just come back and then it’s like so so slow right so it’s not about losing the job it’s just more about that how do we use this now to get the better insight faster so we are not hung up on on just like just doing some data stitching to find out the right information right so
21:49 it’s not it’s about this right and Think about this even like in all of those times I had to clean the data, transform the data and then if something is missing in the column that could just like add the noise and and so many normalization other type of like exploratory analysis on top of all of those things can just like just change the result dramatically because like sometime you think that you are doing the right things and then you go and present and then later we say hm I’m looking this data from last 3 years I don’t see this this is right and that’s can totally happen And new question is like totally different thing. So how do we use these advanced model to just like bring all the knowledge on the table.
22:29 So when the executive is making those decision related to the product they are like very confident. Yeah this looks seems fine and we should do this. But again again this all of this come with the challenges like I don’t know it’s it’s not very simple. It looks very dreamy. Yeah I can I can understand that. Oh, when we are selling these things when we are asking oh it’s amazing looks pretty simple but it’s not very simple because there is no one solution on this right for example just like basic one challenge I feel like there are a couple of different channels but yeah one channel is my system is working with the 85% accuracy or 95% accuracy or maybe 99% accuracy still there can be schema ambiguities like for example for me chun could be different versus you could be
23:11 using chun in a different fashion yeah totally Right? The table name you are using, the table field or the column name you’re using could be totally different, right? They can be like, okay, what’s my active user? An active user can be distributed in different segments, right? Daily, weekly, monthly and blah blah blah. An active user just who log in, what’s the definition you’re using with your table still relies on the people like data engineer, data analysts to own those metadatas. They just like using this tool to fasten this process. So this ambiguity cannot be resolved without a real human because machine will not know what revenue defined according to you. If it’s a quarterly numbers, it’s a weekly number, is a monthly number, like what are the different things like you still need to define all of those things and and the
23:54 other things is like inconsistencies, right? So these model will not fix the inconsistencies. They may remove them, but they need to specifically tell them, okay, if you find something is missing, fill it with the average, right? like still a human needs to say this they won’t be able to take my this decision without a real human at this at this moment I don’t know about the future again like things are moving very fast but these type of things still require someone to understand what makes a lot more sense when we are training the data building these model using these tables so so like all of these things and and I don’t know like uh so these are the couple of things what I remember which we see as a inconsistency even though all of this Still LLM can be so confidently say wrong things.
24:41 I know. Yeah. The humans you’re safe for you’re safe for a while. It sounds like Yeah. It’s like I mean like reiterate what you said like I totally agree with you like but like you’re not going to lose your your job kind of thing. It’s more about like getting things fast done, getting things done faster or getting things done that you just couldn’t do before. Like every time I leave a company, I’m like, “Hey, here’s my like Excel or Google sheet of like the 200 things people asked me to do over the last three years that I never got to cuz like there’s not enough hours in the day.” Um, so like now maybe we’ll have time to do that. And I really like your response around like yeah, what happens when you get like a question from an exec, go spend three weeks, try
25:22 to figure it out, come back, and they’re like, “That’s not exactly what I was asking.” And then you come back again. It’s like now you can do that so much. Exactly, professor. And then but I do Yeah, I really like what you’re saying. It makes a lot of sense in terms of like the like business logic and definitions. Like that’s such a key part of like why data analysts, analysts engineers, and data scientists exist is to like talk to all of the right people and people they partner with and teams to like come up with these definitions.
25:53 That’s like the hard that’s like probably the hardest part of the job. every company I’ve worked at with like especially when you’re working with stuff that’s like the executive level is is looking at or or if you’re at a public company and you’re reporting stuff to the street and it sounds like we really have to like in the data profession like double down on that to make it even more transparent for an AI to be able to like understand it beyond even just like ourselves and our stakeholders if we want this stuff to work. And then the stuff that gets offloaded is like yeah the complex querying and joins and that kind of stuff like but it has to know that business context in order to work.
26:31 Exactly. And and then if you think about this like this also like give one more opportunity of data governance right. Yeah. So right now if you put everything inside the large LLM models what they will they will analyze all of these things and then they will generate insight but they will not think about that something sensitive and nonsensitive. Right. M data governance whole data governance privacy and everything still needs to be defined someone who understand all of this. So, so they will not know okay if what is PII versus what nonPI they can expose anything right for example recently we are working on a problem statement where like actually we release something so the idea is that if I ask to my chatbot like who is my manager it should be able to give me an answer that who is my manager because of course
27:16 that’s a public information between my or but if I’m asking what’s my manager’s salary the table is there oh man oh that’s cool I got to start asking that stuff once that gets released wait for this is this is not like a like that’s why I’m saying like this is not about like because like why would I would not answer this to you but this is like a sensitive information and still the table has somewhere this information and can be fetched but building data governance around it’s very very important because you cannot just expose anything what you think about this and and this like the overall like whole PI things and if I give you like more smaller examples is that You say okay analyze this data like a small table just think about the very small table you say okay take this data and
28:04 build a insight for me and build a data visualized uh some kind of like maybe bar chart or anything if you don’t tell them which type of chart you need to build they will still be confused what they’re talking about so it’s like very very simple things it’s not like you need to a person needs to know that okay this type of data looks better if I build this type of charts. Yeah. And you need to make them learn with the time that okay like for example type time series require line chart category comparison maybe require a bar chart like distribution require pie chart or histogram and stuff like this. So so all of this is like a knowledge which actually depend upon that what type of analysis you’re doing and how you want to present this data and L&M is always
28:50 confident even though they are wrong. So yeah, they will find out a response which is like you lick okay maybe I am wrong I need to figure that out. Yeah, I have I have found that where you’re saying with the charts like if I’m building like a stream app or something, even if I give it like a prompt that like I’ve had like another LM tell me a bunch of like data visualization B best practices, like if it tries to oneshot the app, it’s just like the color. One thing it’s always happens actually is the colors. It’ll be like white text on like a light green and you can’t even read it or anything.
29:23 Like it’s like human readability isn’t quite there. And then just like you were saying, like weird chart selections and it’s kind of like you do still have to go through and be like pretty specific about like your design. One thing that is really cool though with like cursor, you can like upload images to it. And what I have done is I’ve sketched out what I want it to look like after it did like a first pass and I put some labels on it and then I took a picture of it and I was like, “No, make it more like this.” And it still didn’t get perfect but it like got a lot better which that was pretty cool. like the multimodal uh interpretation and then like creating an app out of it.
30:02 I agree. I agree. And and that’s why I’m saying like so like thinking in a like a different level it’s very important like how do we use this for faster delivery discovery? How do you use it for better data cleaning or experimentation? How do we do a better like a quick EDAS like exploratory data analysis? How do we find out the patterns? How do we find out reusabilities like all of those things is pretty important right? So like and then then like with the time of course like we are learning all of this and then you will like all of this workflow will make it faster and faster which is reduce the effort what you has like in the older time you have to read everything to find out the insight. Just a basic example is that any chatbot like
30:47 for example even uh dedicated company chatbot has millions of conversation every year millions. If you ask me to go and do a analysis on all of those, I would be choosing like thousand maybe right like that’s the only way I can actually use this data set to build a 90% style confidence that okay what’s happening with a customer customer journeys and that will not still represent the overall picture of those millions of conversation with these type of tools actually you can do all of this and build a like a better confidence that what’s happening there again it’s not perfect still it’s give you garbage which results. I’m not saying that you should not read the conversation. You should always double check what’s happening.
31:28 Hallucination isn’t real. It can confuse you. It’s so confident. That okay, you don’t need to always always double check. And that’s why I don’t know if you see that a lot of ecosystems, they give you the query and the insight. So they give you a query which can you can understand what the system did and why this these insight was generated. Very very useful. But that query also can be wrong. So like still you need to use the human supervision to understand what’s happening there. Yeah. No that makes sense. So Loit you’ve deployed many many chat bots conversation AI products in the past. So let’s say like hey uh I run a team and we are overwhelmed by ad hoc questions just like what we just talked about in terms of data requests and just random questions left and right about uh our
32:17 business and we really want to invest in a chatbot. We understand there’s hallucinations and things like that but we’re like hey we we we got to kind of stop the bleeding if you will and have a chatbot help us out going forward. uh at a high level, how do I go about doing that? What needs to get right in order for something like this to to to be in place to be to to actually be possible? Yep. Yep. So, just just to like collect clarify that what you’re saying that you’re getting a lot of requests about the data and you want to build a system which can take all of those ad hoc requests and respond back. So, how do we build a system around it?
32:55 Yeah. So, instead of like Yeah. instead of getting the questions to the data people and they have to go figure out the answer. It’s like, hey, the bot just helps us kind of shield all like they they they would just be instantly uh instantly smart enough to to to help with u 24/7 sort of uh questions around the clock. Yep. Yep. I think that that’s a that’s a great question. Uh I think a lot of startups should be already working on these stuff. So I’m like my my understanding and how I probably will build this system. So, so I think the most important part is that uh like there are a lot of pitfalls and there are a lot of challenges but I’ll go with the ideal scenario.
33:33 Yeah, that there is a table which is awesome. Uh they are built with a very new technology and there is no latency. Uh and the best way is that you build a UI or power BI dashboard which is connected with a chat ecosystem where you can see some dashboards you can see some information. So whenever a end user start interacting, they also understand what’s available behind the scene instead of just like just giving them only a single bar right for example chat GPT gives you a bar where you can ask anything that’s like very very open space to do everything. I don’t think so that’s a system we need for data ad hoc system. We need a system where you expose certain matrix in front of that chatbot or conversation AI or BI conversation whatever we call it. M so
34:19 the consumer at least gets some hintups information. they see some chart they see some high number of conversation or number of question asked by customers most frequently asked questions and all of those things they know that okay this has already been asked or this has already been there or this type of information exists like I’m not saying that expose everything but some some type of information it’s very very important the second part is that why it’s important because like if you give them the open ground they will ask so complex query and then you will just break the system in very very simply right so just think like is that already defined ecosystem some uh knowledge about the existing KPIs testing joints existing data where you can fetch the information directly so all of this showing this it’s very very helpful uh
35:05 the second thing I think probably I will think about this like as you said that a lot of customer is coming there and asking ad hoc queries so how do we provide uh a chatbar where customer start asking questions and how do we translate those question into a query and then use that query to fetch the data from the backend tables. Yeah, this is the way I will think. Now the part is that when you are fetching like so converting text into SQL looks like a moderate to difficult problem. Mhm.
35:40 Fetching data with the SQL query is also like a moderate moderate issue. Fetching the right information that’s kind of like a difficult problem to solve here. Yeah. So, so converting SQL maybe SQL query is right or wrong or maybe partially right versus partially wrong that still require a human like intervening like okay how do we like and and again just think about that we are building a new system so we are also thinking about that okay with the time how do we improve this right so so thinking about this in like a four bucket that okay it was absolutely correct worth it absolutely wrong versus partially correct worth it partially wrong and this is the cue we add when we fetch the data and show to the realtime user versus that how do we also define that okay when we started fetching the
36:23 information where was the occurred. So so for example I used an a field which does not exist in the database at all. For example, if I say give me information about distance or maybe something like sales numbers from a product which is not your art like okay give me the number of Uber like that’s like you are working in a different company and you’re asking number from a different company and maybe information doesn’t exist so it will just like still the we will fetch some information because there will be some table which is talking about sales there will be some table which is talking about the revenue there will be some table which is talking about all of this information we’ll still fetch that information and show it and which could be wrong. So how do we actually find these pitfall that
37:05 if certain thing doesn’t exist how do we handle this informations? Mhm. So thinking like this and and you start building like around the guardrail that said okay make it simpler for error state whenever these type of error occur we show off this information to a data engineer or data analyst that okay when this query were occurred there was a exceptional handling or I don’t know there are some error occur occur behind the scene which showed that the right information is not available because of this field doesn’t exist. So next time when someone is asking there we can actually hint them that okay if you’re asking this and we try to translate in a fashion so we have a correlation between the customer query and the data tables field name and everything. So so thinking like in this fashion is very
37:48 very important. Yeah. Uh and again all of this system will grow with the time and and with as you expose this maybe the accuracy rate where we start with the her 30% 40% and with the time it will automatically improve and you will feel it because the jump between 40 to 80 will be very fast and then it will slow down again from 80 to 90 and 90 to 91 going to take the exact same amount of time what took 40 to 80. So as you progress with the accuracy, it will automatically move in a direction where uh like more effort required to improve the ecosystem.
38:20 Got it. Okay. So that’s interesting. Okay. So let me recap a little bit. It sounds like I like how you uh kind of infuse that with a lot of user experience sort of design so that uh so that it’s not just like a black and white like hey did we get the answer right or wrong but you have the like hey initially you have a query initially in the chat interface you are giving all these cues about hey this is a a place to ask questions about data and here are successful questions that we’ve been su satisfactory in a satisfactory manner. We’ve been able to provide answers to and so that kind of gives a cue to the user that this is type of the qu this are the these are the types of questions that we are pretty confident about. So like to
39:07 nudge them to like hey don’t get too crazy in your in your questions and then once they actually ask something pars that somehow translate it to queries and so we have to figure that part out and then passed it off to the warehouse and we have to figure that part out and then at the end kind of like the your your eval there is like hey give it a gradient of uh the extreme cases and like somewhere in the middle and kind of give custom logics to what happens when it encounters There’s those and then over time as more volumes as more examples are given to the bot then we have in place a better and better system for just over the longer run. Is that roughly kind of what uh what what your suggestions was?
39:52 Yep. Yep. Absolutely. I think that that’s a like absolutely what I was saying and and I think like one more point if I add this that we can also start with the data engineer reuser only. Yeah. So, so they they understand the back end in a fashion that what are the different tables exist what are the field name exist. So also like using these type of like a better version with the data engineers, data analyst, data scientists to start exploring like add one more layer of perfectness that okay whenever we are getting response back we have a query and the query was right or wrong and how the system was acted. what are the different thing they called like what are the different responses we got back what was wrong is right so all of these like uh starting with that this
40:36 point makes a lot more sense than directly giving to the end user because end user like again end user has a like very different expectation and they always think that every product is a very ideal product they just like start asking things which is unrealistically you will never ask in the real world scenario so I feel like in the first couple iterations of this project Now that I’m thinking about is like the goal is not to solve the this like pain point of getting these stakeholders or business users or whatever or managers, engineers, whatever the information they need for their job. The goal I think is actually for like start collecting data on uh what kind of questions we can answer and what kind of questions we can’t answer. It’s almost like and like like you said do it internally first in the
41:26 data team and then maybe go out and be like hey like this thing kind of sucks but like just start asking questions because like we need to like figure out like where it fails and we need to like kind of set it up in a way like when you I think when you have the goal of like our goal is to like evaluate and see what it can and can’t do then you start building in the mindset of like from the very start like what data you need to track to do that rather than with B building in like hey we’re just trying to get something that answers someone’s question for their for like the actual like impactful use case you might kind of skip over all this data you need to be tracking to make it better agreed agreed and I think as we are
42:08 discussing this I got one more insight on this is uh like for example if as a stakeholder I say that I’m 95% confident that the this is the quarter 2 insight for for like the stakeholders they probably will not understand this like the executive will not understand okay what does 95% means that it’s either a right insight or say what’s a wrong insight right so if you say this to a data engineer or data analyst they will understand okay that most of the facts are correct but I may need to just see if something is missing right so so these type of things like maybe need a data analyst and data engineer to verify once that okay this confidence scores or cues with what does this means and then you also need to like talk this that okay I’m 99% sure
42:58 that the response is correct right so so adding these things will also help to to know what’s happening with the ecosystem yeah I feel like that’s a new job on the data team it’s like not even some of the work I do around AI evaluation is like evaluating AI in our product there’s probably like some role that’s going to get created that’s like you are the AI evaluation person for your internal data tool or it’s even like you know how there’s like uh like Salesforce engineers like they like just work on like the Salesforce data for within a internally within a company.
43:30 Like I could see it being something like that with like Snowflake or data bricks or whatever. It has this like AI feature that has to that can be hooked up, but like you have to have all of your underlying data and stuff and implemented in a certain way for the AI to actually like work well with it. That’s probably like an entire job in itself. Exactly. Exactly. Because how do you like just think about this how dangerous it can be? So you go you go with a data set which is uh comparing quarter 2 and quarter 3 sales data and I don’t know because of hallucination if the number came opposite you go and present the same information to the executive guaranteed we I guarantee there are going to be some stuff seems in the future where it’s like someone did their
44:16 earnings report publicly they did the the AI got it all up their stock went crazy and then they have to come out and just like oh man like false false report CFOs fired like there’s going to be like that and they will not say anything to you maybe they will say to you after the meeting but your manager will get going to ping that okay why didn’t you verify once before presenting it so like I’m saying like really uh hallucination is real like everyone knows this for example like I am it’s so real that like sometimes when I’m using chat GPT copilot and I ask okay what’s the stock price of Adobe or service now they come back with the wrong response and then I tell them okay you are wrong so they go back and then find the right
45:07 information and still sometime it’s wrong so that’s like I’m not asking very difficult question it’s a very simple question but still there is a like a very high probability to get the right right information versus wrong information so like we still need someone to verify that okay when we are presenting this numbers when we are presenting this or we are finding out finding like even not presenting even if we are using these numbers to take decision for the next iteration or or next product decision all of those are true it’s not wrong so things like this right so definitely it’s very very important someone to actually verify all of this yeah I feel like go ahead go ahead go ahead no go ahead I I was going to follow up with a with a pretty big bucket of questions there
45:51 I was just going to make a point one more other thing that now thinking of is for our data agent thing that we’re making that the three of us have talked about here. Um yeah, it’s like there’s probably some balance between like where is the area where you’re getting a bunch of questions that are just like sucking up people’s time, but it’s also very low risk if you get them wrong. Like it’s probably not that probably the last thing you’re going to do is what we’ve been talking about, which is the executive like stuff to the execs. It’s probably like whatever the like lowest risk stuff, but there’s like just like it’s sucking up time. Try and nail it there first. Then yeah, when you’re ready to do some like stuff that could someone important, really important is going to see your that’s going to be
46:39 like in a Yeah. financial report externally for like a public company. You got to have it locked in before you get to that level. Agreed. Agreed. Right. Like and and I think Exactly. Right. So that’s why I was saying that giving them most frequently asked things. Yeah. Like a easier way to just like say, “Oh, I love that. Oh yeah, this this is like my question.” Yeah. Just like let’s click on it and just use it. So instead of like thinking about like a very difficult because if you give them open ground, the probability of getting different style of question is very high.
47:08 Yeah. Yeah. That’s so interesting. Okay. So here’s here’s the here’s the question I have for you Lohit. In the spirit of this chatbot that we were that we’ve been talking about call it uh the all knowing data agent like what Sean just said the spirit of it is such that for example like customers or stakeholders instead in instead of going to a data analyst instead of going to a data scientist they have access to it and they can ping it whatever they want. The one thing that worries me a bunch and we kind of talked about a lot about the mitigations here is uh you know like hey it gives up the gives the wrong answers and things like that. There’s the other side of it, which is if the agent or the chatbot gives wrong answers once or twice or three times, most likely the
47:57 stakeholder is going to kind of certify it to be ineffective. Meaning like, hey, I’m never going to use it again and like it’s game over for the spirit of, you know, hey, buy like like give us a little bit more time so that we can improve it and it will become really useful in the future. How do you kind of think about solving for that aspect as well knowing that hey there’s risk if there’s hallucinations but there’s also you only get one shot sort of first impression with any technology out there.
48:29 I I think that’s that’s a very very valid question and very valid concern. So my opinion is exactly that’s what I say that releasing beta version internally and trying to break the system is very very important before sharing this to executive really deep understanding that where the system failed is very very important because just think about this is not like again you can automate some of these things but really understanding where you got the wrong responses is very important. There are lot of factor you can get the wrong responses. Data was missing. The name of nominure of the data field was different. Defined definition of metadata was different. Fetch the right information because but some table was unresponsive. So we just only got one part of the information. Um and and like just think about the or again like hallucination or different modality,
49:21 right? Some was text, some was numbers. Couldn’t find out right relevance between numbers and text. So so many ways this can actually break the system. The ideal scenario is that like I have some like again this is I’m going to share some strategies but these strategies like depend upon how do we improve hallucination between ecosystem but this totally depend upon the domain depend upon the problem statement depend upon how you’re implementing and how the ecosystem works. So it’s not like a one arrow which can solve everything. There are bunch of thing you need to do and that’s why the data engineer and data anal is required to know where we are failing because like before even going to the executive we need to just do a like a smoke test to understand okay like if this is like a even version one like can
50:04 we just answer top 15 most asked question in all different fashions executive can change their words till we should be able to find out the responses very very important second thing is that once you have the top number of queries which you are responding properly what was the different outliers which exist when you were responding that or how do we build more trust between the responses and then a person who are using those responses so for example if as I encountered that when I’m asking the stock information with the co c co-pilot now I always have this notion in my head that okay the response what you’re sending is not right can you double check the response and double check the fact so how do we build this confidence score ecosystem that okay how confident we are that we are responding
50:50 and it which is a very difficult problem to solve right now. Yeah. Like very very difficult problem for LM finding like this multi-layer strategy which has model level improvement, system design improvement and user experience improvement. All of those all together require some work before you share this with anyone. Yeah. And and if you want like I can share some like standard things like different people do like for example using rag to confirm the definitions and the like uh just going on the web and finding more resources fine-tuning prompt engineering like these type of things or query transparency like I don’t know like how useful is this for exeutor but at least like when you show the query it build a little bit more confidence in the terms of like user experience queue that this was a query and this was that’s why the
51:41 response was generated or I don’t know like or or like putting human in loop that’s very very important like very very important so and I I don’t know like if we some way we can also generate live data fact check that would be so awesome to see that that you have a response and then once you get the response there is a different system who just verify that if it’s accurate so like I don’t know like something like this could be very very helpful before we go in real world and and start sharing this with the leadership or executives or even like exposing to the to the uh real customers.
52:16 Yeah. I think like listening to you and and kind of thinking about it too while you’re while you’re talking to it’s like there’s there’s what you’re saying where it’s like in terms of instilling confidence in what you’re working on and so people don’t just get scared away when it doesn’t work their first first like those tactics around like transparency just like you’re saying rag and and showing the query. There’s having a human in the loop as like another risk mitigation. I think those things are like around like how can we do as much as possible to like show that this is working or why it’s working the way they’re working. I think the other part of it is just like a kind of mindset and investment decisions like from your company, from your team where it’s like, hey, if you’re going to go in
52:56 and you’re going to try and build this thing, like it’s not going to be perfect the first time like we were talking about where like new rules will probably be created on this stuff and it is like so like think about it before you go into it if you’re going to be willing to like make the investment on implement on iterating on it and maintaining it cuz it’s probably going to be like a forever thing that but it would but it could save massive on resources to to invest in that. So it’s not like a a little hacky short turnaround thing. And then I think the other thing that I think is just like a mindset for using AI in general, whether you’re using like chaty PT for just like I don’t know planning your vacation or you’re making a product
53:39 or like using it to code or whatever is just be in the mindset constantly that today is not the limits of what it can do. It’s like I think like Kevin Wheel was on Lenny’s podcast and he said something like if you’re doing something right now and it’s like 60% there. It’s going to work in 3 months. Like just chill. Like it’s going to be good. Like my wife like a year ago or two years ago used Chat GPT. She’s in digital marketing and she was trying to use it to automate some of her or help with some of her reporting and it sucked. Like it was all the calculations were wrong. It was like back when it hadn’t really like used Python to do math yet. And then I am always like, “Dude, you need to use AI or you are not going to have a job in
54:26 the future. We need dual income.” And so she tried it out like a couple months ago again and she’s like, “Wo, it’s way better now. Like it works for all these use cases.” I’m like, “Yeah, like it progresses like crazy. Don’t get like caught up just cuz it’s like get some stuff wrong right now.” Like even if it gets some stuff wrong, like it’s still useful right now, but it’s going to This is the worst it’s ever going to be. It’s so much better than it was a couple years ago. So, I don’t know, just going that mindset to the to the users also.
54:55 It’s like, hey, if you’re going to use this and you want to use AI to like automate some of your like data requests, just go into it with like it’s not going to work totally. In order to get it to work, we need people to use it and track the data. Yep. Yep. And I I think like again, yeah, this is kind of like a transition period like learning about these technologies is important. Very very important because it saves time. That’s a very very important part is like really if you think about this uh I know it’s like sometime it could be daunting sometime it could be oh just think about this like for everyone don’t need to learn everything behind the scene.
55:31 Mhm. That’s why the engineering and the product and the companies working so hard to actually give you a user experience which is simple enough to just consume it. So like all the companies not going to try to solve what you ask right right now that how do we build a system which can use the tables and generate a conversation AI format insights there will be some companies who will be working on this focus on this and other companies probably will be using this so like all the problem like everyone’s not going to solve the all the problems different company will focus have different agendas Adobe has like a design perspective right so they will think about that how do we use AI in design and creativity service now has like a like how do we use AI to improvise the overall workflows what
56:16 different companies are using and this is the way it works right so like not every company will be focusing on all the problems to be solved there will be some problem will be solved in a different companies and and again like this is daunting but this is like very very useful if you see the positive side of it oh yeah yeah no absolutely I mean all the data warehouses like snowflake data bras they’re all trying to come up with like text to text to answers sort of uh uh sort of paradigm. I think I think they’re definitely at the edge of capability right now for the LMS, you know, like they don’t hallucinate a bunch and everything that we just talked about. But yeah, I think the good reminder is it’s certainly coming. If you want to build it yourself, it’s
56:59 absolutely possible as well. If you want to wait for others to build it such that then you can just leverage instead of investing resources to it, that’s an option as well. My takeaway is we’re still need to be a little bit patient to uh to get at something that’s uh that’s that’s uh that’s that’s really really really helpful. And then certainly it’s an investment. It’s not a one-off like hey let’s click this AI mode and click enable and then you’re good to go. So that’s uh that’s awesome. Cool. Hey Loit, thank you so much for your time.
57:29 We’re coming up on an hour of recording. That went by really fast. So uh uh yeah, I think uh our audience really can uh can benefit a lot from uh just hearing the you know like product leaders who are actually deploying real agents in in the world and how that would affect even the people who are doing a lot of the data work from the audience from this podcast. Cool. Sean, do you want to close it out? Uh yeah, thanks everyone for Yeah, as Hi said, thanks for joining us. Uh I definitely learned a lot. That was pretty fun walking through just like potentially how we could uh build out some sort of agent to do some of these data analyst tasks. I feel like there’s a lot of people who are kind of like talking about this and talking about the
58:12 possibilities, but I actually don’t see that many people who are like actually doing it yet. So, it was really cool talking to you since you have done a lot of this stuff in the past and and getting kind of your input on the pitfalls and risks and mitigations and also like the solutions to those. Um, yeah, and to our listeners, thank you so much for following along. If you enjoyed this episode, please like, please comment, and subscribe. It really helps uh get our video in front of more users like you um that enjoy this type of content. Loit, my last question for you is like anywhere that our listeners can follow along or if you have like I don’t know if you if you’re on like Twitter X like or LinkedIn or if people want to follow along with like kind of what
58:56 you’re working on. Yeah. So, okay. So, first thing, thanks for having me. It’s always great to share with the community. If you guys if you guys have any other question you would like to know more, feel free to reach out to the the folks. uh and it’s a great great podcast to actually talk about the real world problems and how the different communities using it. So please uh like and subscribe the folks and always good to share the words with audience so they can also like progress in their own career and build their own path. Uh you can follow me on the LinkedIn. I’m on LinkedIn so my still name is Lyakogi. You can find it. I think it’s uh should be very easy to find me.
59:38 But yeah, but anything anything else? Uh it was amazing talking to you guys. Great great uh questions there. Amazing insights. Uh it was it was fun talking to you. Yeah. Thanks so much. Bye everybody.