WEBVTT

00:00:44.445 --> 00:00:50.234
<v Andreas Welsch>Everyone thinks the hard part is getting AI into your business, but what's even harder is keeping it there.

00:00:50.295 --> 00:00:56.204
<v Andreas Welsch>So today we'll talk about how MLOps and LLMOps help you drive better results.

00:00:57.045 --> 00:00:57.155
<v Andreas Welsch>So join me for this one.

00:01:15.525 --> 00:01:15.974
<v Andreas Welsch>All right.

00:01:15.974 --> 00:01:21.164
<v Andreas Welsch>Hey, welcome back to another episode for What's the BUZZ?, where leaders share how they have turned hype into outcome.

00:01:21.495 --> 00:01:29.034
<v Andreas Welsch>Today we'll talk about how ML ops and LLM ops help you drive better quality and better results from your AI systems.

00:01:29.064 --> 00:01:34.984
<v Andreas Welsch>And who better to talk about it than someone who's actively involved in that and who's been working on these topics for a long time.

00:01:34.984 --> 00:01:35.674
<v Andreas Welsch>Kristen Kehrer.

00:01:35.824 --> 00:01:36.964
<v Andreas Welsch>Kristen, thank you so much for joining.

00:01:37.685 --> 00:01:37.984
<v Kristen Kehrer>Hi.

00:01:37.984 --> 00:01:39.604
<v Kristen Kehrer>Thank you so much for having me.

00:01:40.295 --> 00:01:40.685
<v Andreas Welsch>Wonderful.

00:01:40.685 --> 00:01:43.594
<v Andreas Welsch>Why don't you tell our audience a little bit about yourself, who you are and what you do.

00:01:44.164 --> 00:01:44.524
<v Kristen Kehrer>Hi.

00:01:44.524 --> 00:01:45.304
<v Kristen Kehrer>Sure.

00:01:45.604 --> 00:01:46.604
<v Kristen Kehrer>So I'm Kristen Kehrer.

00:01:47.045 --> 00:01:49.265
<v Kristen Kehrer>I've been a data scientist since 2010.

00:01:49.384 --> 00:01:55.564
<v Kristen Kehrer>I started doing econometric time series and analysis and forecasting in the utility industry.

00:01:55.924 --> 00:01:58.439
<v Kristen Kehrer>I moved into healthcare doing things like helping.

00:01:59.795 --> 00:02:03.004
<v Kristen Kehrer>Motivate patients to get their colorectal cancer screenings.

00:02:03.064 --> 00:02:15.305
<v Kristen Kehrer>And then I spent, six or seven years in e-commerce doing your traditional ML type e-commerce use cases before going off on my own where I had the opportunity to.

00:02:15.905 --> 00:02:25.925
<v Kristen Kehrer>Work for a company who was specifically in ML ops, I've helped build an LLM powered application for a healthcare consultancy.

00:02:25.925 --> 00:02:29.615
<v Kristen Kehrer>I was the head of data science for MoneyGram.

00:02:30.129 --> 00:02:38.560
<v Kristen Kehrer>I, and I love building other types of things, like the computer vision example I built to detect school buses going by my house.

00:02:38.870 --> 00:02:44.829
<v Kristen Kehrer>So I absolutely live and breathe this space and couldn't imagine doing anything besides data.

00:02:46.034 --> 00:02:54.094
<v Andreas Welsch>we have a lot of good topics to to talk about today and I just came back from the Gartner Data Analytics Summit in Orlando a couple days ago, and.

00:02:55.115 --> 00:03:00.704
<v Andreas Welsch>I saw the conversation there too was still very much about data, obviously and analytics as you'd expect.

00:03:01.094 --> 00:03:09.234
<v Andreas Welsch>Where I feel a lot of times when we talk about AI, when we talk about agents these days, it's usually more at the business level or how do we use agents?

00:03:09.234 --> 00:03:10.284
<v Andreas Welsch>What do we use'em for?

00:03:10.435 --> 00:03:14.754
<v Andreas Welsch>So for me it was great to, to see that grounded in that reality of, hey, we actually still need data.

00:03:14.814 --> 00:03:15.685
<v Andreas Welsch>It doesn't go away.

00:03:16.284 --> 00:03:21.454
<v Andreas Welsch>But, having been to other conferences and vendor conferences, I, I know that there are lots of polished demos.

00:03:21.544 --> 00:03:28.324
<v Andreas Welsch>They look very shiny, they quickly put together, but really the crunching point is getting AI into production safely.

00:03:28.324 --> 00:03:29.344
<v Andreas Welsch>And that's a whole different thing.

00:03:29.854 --> 00:03:40.344
<v Andreas Welsch>What are you seeing, what do leaders need to keep in mind as they, they embark on this journey of bringing AI, bringing agents, bringing even machine learning and predictive into their organization.

00:03:40.965 --> 00:03:41.534
<v Kristen Kehrer>Yeah.

00:03:41.564 --> 00:03:47.174
<v Kristen Kehrer>So first of all, I had such fomo, seeing your photos from Gartner that looked amazing.

00:03:47.984 --> 00:03:58.664
<v Kristen Kehrer>I think what we're seeing, the big issue is that now I built my first LLM demo and it took me a couple hours, right?

00:03:58.715 --> 00:04:07.894
<v Kristen Kehrer>But when we try and take something like that to production, there is iteration in a way that is just more intense.

00:04:08.344 --> 00:04:14.794
<v Kristen Kehrer>Than we see with traditional ml, the amount of collaboration required is a lot higher.

00:04:15.144 --> 00:04:23.485
<v Kristen Kehrer>And I think that leaders aren't necessarily prepared for the amount of collaboration that is involved.

00:04:23.485 --> 00:04:34.355
<v Kristen Kehrer>They, hear that we're gonna do an AI project and they assume that it's gonna look like traditional ml where you scope it, you give it to a data scientist, they're able to grab the data.

00:04:34.925 --> 00:04:42.595
<v Kristen Kehrer>The metrics that they're working with are, trying to reduce false positives, trying to improve the, a UC or some loss function.

00:04:43.074 --> 00:04:45.444
<v Kristen Kehrer>And now the outputs.

00:04:46.150 --> 00:04:48.699
<v Kristen Kehrer>We have to be concerned with brand tone.

00:04:48.699 --> 00:04:50.920
<v Kristen Kehrer>We have to be concerned with accuracy.

00:04:50.920 --> 00:04:55.100
<v Kristen Kehrer>All of a sudden the amount of data that we're working with is different.

00:04:55.100 --> 00:04:57.019
<v Kristen Kehrer>It is not, data from a database.

00:04:57.019 --> 00:04:58.909
<v Kristen Kehrer>It might be our internal docs.

00:04:58.909 --> 00:05:04.379
<v Kristen Kehrer>It's some knowledge repository that might be text unstructured data.

00:05:04.379 --> 00:05:06.689
<v Kristen Kehrer>But then there's also the prompt templates.

00:05:06.709 --> 00:05:21.159
<v Kristen Kehrer>The retrieved context that we're getting before we send it to an LLM, the few shot examples that we're including, there's all of these pieces and all of them when they change, can change the model behavior.

00:05:21.759 --> 00:05:43.000
<v Kristen Kehrer>And so there's just so much more to manage and make sure that it's versioned so that what we're putting into production is actually auditable and that we have, some sense of confidence of what it is that we're putting out there that is becoming much more likely customer facing too than it was before.

00:05:43.939 --> 00:05:48.040
<v Andreas Welsch>See I see all these great demos on LinkedIn and people say, Hey look, this is what I'm building.

00:05:48.040 --> 00:05:50.740
<v Andreas Welsch>This is what I've white coded in an afternoon, but.

00:05:51.295 --> 00:06:05.444
<v Andreas Welsch>I'm pretty sure it looks a little different if you are trying to do something like that or bring this kind of AI into an organization, into an organization that's exposed to financial, legal, reputational risk, where it's not just, oh, let me fix this agent if it doesn't do what it's supposed to.

00:06:05.774 --> 00:06:07.865
<v Andreas Welsch>Let me tweak the prompt right here.

00:06:07.865 --> 00:06:16.300
<v Andreas Welsch>If, if this thing is in production, if it's live, if you're even in a regulated industry, financial services or life science, healthcare, that's a whole different ballgame, right?

00:06:17.219 --> 00:06:17.730
<v Kristen Kehrer>Oh yeah.

00:06:17.730 --> 00:06:19.050
<v Kristen Kehrer>No, it absolutely is.

00:06:19.050 --> 00:06:39.339
<v Kristen Kehrer>And because too, with the demo, or even when I was building something that the, goal was to get it live at some point, you can get some fantastic output and I've, I've created videos myself where I get fantastic output and I, I write it up or I put it up on YouTube and I'm showing, and I am helping others.

00:06:39.339 --> 00:06:40.480
<v Kristen Kehrer>I'm helping others.

00:06:40.824 --> 00:06:49.175
<v Kristen Kehrer>Understand how to build a rag system and you know what to think about when you're, creating embeddings when you're retrieving.

00:06:49.824 --> 00:07:01.754
<v Kristen Kehrer>So those are useful, but at the same time, if I'm creating something for real there's a ton of edge cases and, some of the things are really simple like.

00:07:02.685 --> 00:07:11.784
<v Kristen Kehrer>If I am going to be sending a communication to a cancer patient, I'm getting output and I know I'm gonna be, it's, a letter that may go off to a cancer patient.

00:07:12.264 --> 00:07:16.964
<v Kristen Kehrer>I know that I want, to not put a ton of exclamation points in that.

00:07:16.995 --> 00:07:19.274
<v Kristen Kehrer>As a data scientist, I can make some.

00:07:20.384 --> 00:07:26.055
<v Kristen Kehrer>Judgment around how that communication text should feel.

00:07:26.344 --> 00:07:32.165
<v Kristen Kehrer>But at the end of the day, there's a lot there that I don't have the domain expertise.

00:07:32.165 --> 00:07:35.884
<v Kristen Kehrer>You say you want that going out at a third grade reading level.

00:07:35.915 --> 00:07:37.625
<v Kristen Kehrer>What is a third grade reading level?

00:07:37.675 --> 00:07:41.574
<v Kristen Kehrer>And if you ask the system for a third grade reading level.

00:07:41.969 --> 00:07:44.040
<v Kristen Kehrer>There's multiple ways of measuring that.

00:07:44.069 --> 00:07:46.649
<v Kristen Kehrer>The LLM isn't going to know exactly what that is.

00:07:46.649 --> 00:07:48.029
<v Kristen Kehrer>So now what are we talking about?

00:07:48.029 --> 00:07:50.159
<v Kristen Kehrer>Is that the number of syllables in a word?

00:07:50.159 --> 00:07:58.350
<v Kristen Kehrer>Is it you know that we're gonna have less than 10 words in a sentence and we need to think more deeply?

00:07:58.350 --> 00:08:06.899
<v Kristen Kehrer>And this requires the subject matter expertise of the business about, around exactly how they want to communicate, which are often things that.

00:08:07.990 --> 00:08:16.930
<v Kristen Kehrer>They've learned to do through communicating with each other, but they haven't thought about how to actually instruct a computer to do that.

00:08:16.959 --> 00:08:23.209
<v Kristen Kehrer>And these are just like a lower level of instruction that we all need to work out together.

00:08:23.209 --> 00:08:30.079
<v Kristen Kehrer>And so even though I may get some great output when I try it for a different use case, it might not work for that.

00:08:30.079 --> 00:08:32.034
<v Kristen Kehrer>And so how do we.

00:08:32.855 --> 00:08:50.945
<v Kristen Kehrer>Version, all of these prompts so that when it works for some but not others, and I've gone off and I've tinkered some more and now the other ones aren't working, like we need to make sure that we're just thinking about this in like a methodical way.

00:08:51.004 --> 00:08:58.154
<v Kristen Kehrer>And the versioning is what allows us to get there and be able to audit it and see what truly gave us the best responses.

00:08:58.725 --> 00:09:04.575
<v Kristen Kehrer>For something that is like very iterative in a way that, that we haven't seen before.

00:09:05.235 --> 00:09:08.625
<v Andreas Welsch>So it sounds like that's the part where you mentioned earlier collaboration is key.

00:09:08.625 --> 00:09:15.945
<v Andreas Welsch>Again, coming back to business and technology teams need to work together to figure out what is it that we actually need to do in and how can we.

00:09:16.424 --> 00:09:21.284
<v Andreas Welsch>Put the business requirements in technical terms and the technical capabilities to support the business.

00:09:21.794 --> 00:09:22.004
<v Kristen Kehrer>Yes.

00:09:22.564 --> 00:09:29.924
<v Andreas Welsch>Now we've obviously talked already quite a bit about ML ops, about LLM ops, but what are the key differences that you see between the two?

00:09:30.735 --> 00:09:31.965
<v Andreas Welsch>Why do you have two terms even?

00:09:32.774 --> 00:09:32.804
<v Kristen Kehrer>Okay.

00:09:32.804 --> 00:09:36.735
<v Kristen Kehrer>So LLM Ops is an extension of.

00:09:37.575 --> 00:09:37.784
<v Kristen Kehrer>Mops.

00:09:37.784 --> 00:09:48.554
<v Kristen Kehrer>So machine learning operations is all of the operations that give you the ability to reproduce yourself, reproduce your results, audit your results.

00:09:48.764 --> 00:10:04.325
<v Kristen Kehrer>And so this is tracking your data your data versions and the lineage so that you can see how it was changed over time and tagging that to a particular model version, your experiment tracking so that you can actually back in the day.

00:10:05.205 --> 00:10:13.455
<v Kristen Kehrer>In 2011 I'd build these bespoke models where I am, fitting a polynomial, distributed lag of price or whatever.

00:10:13.455 --> 00:10:22.335
<v Kristen Kehrer>And I'm deciding, hey, if I'm gonna include residential housing permits in my model, how many months should I lag that?

00:10:22.335 --> 00:10:31.434
<v Kristen Kehrer>And I'm fitting each variable and I'm determining how to dummy out certain, pieces of information to get a more accurate forecast.

00:10:31.735 --> 00:10:38.264
<v Kristen Kehrer>And over time we, aren't as often fitting as routinely.

00:10:38.264 --> 00:10:46.304
<v Kristen Kehrer>But you can imagine back in that case, I might have fit that model 30 times before I found the ideal model.

00:10:46.455 --> 00:10:50.865
<v Kristen Kehrer>And maybe the best model was actually the 20th time that I tried.

00:10:50.975 --> 00:11:00.659
<v Kristen Kehrer>And previously, I was writing that in a paper notebook, and the hope was that I could go back and say, okay, this one had the best loss function.

00:11:00.720 --> 00:11:01.649
<v Kristen Kehrer>I'm gonna use that.

00:11:01.649 --> 00:11:02.789
<v Kristen Kehrer>But nowadays, w.

00:11:03.539 --> 00:11:28.404
<v Kristen Kehrer>We don't have to do that because I add a couple lines of code at the top of my notebook and now I have all these model versions and at the end I can go and I can sort them, and I can sort by, what had the best loss function, what had the best false positive rate and I can go through and I can choose the, the model that was actually the best.

00:11:28.644 --> 00:11:42.064
<v Kristen Kehrer>It's also looking at CICD so that everyone is deploying the same way so that we don't have these error prone processes where people are coming up with, the tests that they're doing to get into production and they're not standardized.

00:11:42.314 --> 00:11:46.934
<v Kristen Kehrer>And edge cases are getting through and it's monitoring and it's feedback loops.

00:11:47.220 --> 00:11:59.529
<v Kristen Kehrer>And even a little bit of explainability and governance so that our stakeholders trust our results so that when, regulators come along, everything's auditable, but So that's your ML ops.

00:11:59.529 --> 00:12:02.799
<v Kristen Kehrer>And then for LLM ops, there's.

00:12:03.149 --> 00:12:10.799
<v Kristen Kehrer>An additional layer added where now we're not just versioning the data that the model is built on.

00:12:10.799 --> 00:12:13.320
<v Kristen Kehrer>'cause often we're not even training the model, right?

00:12:13.350 --> 00:12:21.210
<v Kristen Kehrer>We might be using a foundation model, but we still have to track our prompt templates, the retrieved context that we get, because.

00:12:21.500 --> 00:12:27.439
<v Kristen Kehrer>If we have a problem with our output, maybe it's that our retriever isn't retrieving the right information.

00:12:27.679 --> 00:12:33.919
<v Kristen Kehrer>Maybe it's that after we've retrieved that information and we send it up to the model, we're not getting the right results back.

00:12:33.919 --> 00:12:57.719
<v Kristen Kehrer>And being able to diagnose and do root cause analysis on exactly where things are breaking down.

00:12:58.139 --> 00:13:00.389
<v Kristen Kehrer>We also have few shot examples in there.

00:13:00.389 --> 00:13:02.549
<v Kristen Kehrer>We might have fine tuning data sets.

00:13:02.759 --> 00:13:06.519
<v Kristen Kehrer>We have user interaction logs and we want to be able to.

00:13:07.079 --> 00:13:08.579
<v Kristen Kehrer>Track all of that.

00:13:08.579 --> 00:13:23.979
<v Kristen Kehrer>And that's where, we have our ML ops and then LLM ops is the extension that takes care of all of the additional pieces that weren't part of traditional ml, but now we have as part of a RAG system.

00:13:25.179 --> 00:13:26.679
<v Andreas Welsch>So I lost count of all.

00:13:27.634 --> 00:13:28.594
<v Andreas Welsch>All the technical terms.

00:13:28.594 --> 00:13:30.184
<v Andreas Welsch>Did he mention a lot of

00:13:30.184 --> 00:13:30.194
<v Kristen Kehrer>pieces?

00:13:30.194 --> 00:13:30.409
<v Kristen Kehrer>It's a lot of pieces.

00:13:31.169 --> 00:13:32.129
<v Andreas Welsch>False positives.

00:13:32.454 --> 00:13:34.194
<v Andreas Welsch>A UC area under coverage,

00:13:34.245 --> 00:13:34.574
<v Kristen Kehrer>area under

00:13:34.574 --> 00:13:34.779
<v Andreas Welsch>the curve.

00:13:34.779 --> 00:13:35.564
<v Andreas Welsch>There are a few others there.

00:13:36.014 --> 00:13:38.204
<v Andreas Welsch>It, that sounds awfully complex.

00:13:38.264 --> 00:13:39.464
<v Andreas Welsch>I thought it was easy.

00:13:39.524 --> 00:13:43.424
<v Andreas Welsch>I thought that agents are taking over the world, putting all of us out of a job.

00:13:43.884 --> 00:13:44.995
<v Andreas Welsch>And it's happening tomorrow.

00:13:44.995 --> 00:13:48.944
<v Andreas Welsch>This sounds like real work and there's some plumbing that you need to get right.

00:13:49.620 --> 00:13:50.099
<v Kristen Kehrer>Yeah.

00:13:50.099 --> 00:13:53.609
<v Kristen Kehrer>That's always been my thing when people said that AI is coming for jobs.

00:13:53.609 --> 00:14:10.569
<v Kristen Kehrer>And I always wondered if it was people who understood the complexity that said that, or, if it was somebody else, maybe it's like leaders who aren't actually in the weeds, but somebody does need to know what's going on and be able to to work with these systems and know them intimately.

00:14:11.589 --> 00:14:13.269
<v Andreas Welsch>So if you're listening or watching, take note of that.

00:14:13.824 --> 00:14:15.294
<v Andreas Welsch>It's gold right there, right?

00:14:15.814 --> 00:14:19.995
<v Andreas Welsch>We obviously need to understand what's happening underneath the surface, at least to some degree.

00:14:20.064 --> 00:14:22.000
<v Andreas Welsch>And I think then many of these.

00:14:22.804 --> 00:14:23.404
<v Andreas Welsch>Claims.

00:14:23.434 --> 00:14:27.604
<v Andreas Welsch>Many of these systems don't seem as magical and mystical anymore.

00:14:27.984 --> 00:14:33.204
<v Andreas Welsch>When we, at the end of the day bring it down to crunching numbers and statistics and probabilities and so on.

00:14:33.745 --> 00:14:37.044
<v Andreas Welsch>Now, obviously LLMs have been around for a while.

00:14:37.044 --> 00:14:38.814
<v Andreas Welsch>Companies are experimenting with that.

00:14:38.844 --> 00:14:41.454
<v Andreas Welsch>I even hear many of them are doing that with agents.

00:14:41.454 --> 00:14:44.784
<v Andreas Welsch>They're just not talking about it so much publicly because they're afraid of backlash.

00:14:45.174 --> 00:14:48.364
<v Andreas Welsch>But be that as it may how do you see LLMs changing?

00:14:49.049 --> 00:14:51.839
<v Andreas Welsch>The requirements for managing that, that lifecycle.

00:14:51.839 --> 00:14:57.489
<v Andreas Welsch>When you bring in LLM based application in into production what do you need to be aware of there?

00:14:57.489 --> 00:15:06.359
<v Andreas Welsch>You already mentioned a few things as we were starting out, but what are some of the top things to keep in mind as you bring LM based agents or applications into your environment?

00:15:06.995 --> 00:15:10.804
<v Kristen Kehrer>Yeah, I think as I already said, it's the collaboration piece.

00:15:10.904 --> 00:15:21.354
<v Kristen Kehrer>But to go into it more like if you're thinking of doing an AI project, you need to upfront understand that the demo is only going to take a little bit, and that there is going to be.

00:15:21.514 --> 00:15:26.614
<v Kristen Kehrer>Time and iteration between the demo and actually getting to production, and you need to budget for that.

00:15:27.004 --> 00:15:39.664
<v Kristen Kehrer>You also need to set up your team correctly in the beginning and bring in the SMEs, bring in the product stakeholders, and get everybody working together and have a clear understanding of.

00:15:40.120 --> 00:15:43.599
<v Kristen Kehrer>What you want the output to look like.

00:15:43.629 --> 00:15:52.379
<v Kristen Kehrer>Like we, it's back to, when we used to talk,'cause I feel like we lost sight of that for a while and things became about cutting head count or.

00:15:53.214 --> 00:15:56.484
<v Kristen Kehrer>Other stuff, but we need to be thinking about the customer.

00:15:56.484 --> 00:16:08.154
<v Kristen Kehrer>We need to think about exactly what we want that output to look like and we need to be clear about that from the beginning because otherwise there's going to be work upstream to course correct.

00:16:08.154 --> 00:16:12.684
<v Kristen Kehrer>When you've got a system that isn't working well because I have seen company.

00:16:13.839 --> 00:16:15.309
<v Kristen Kehrer>Reduce their headcount.

00:16:15.549 --> 00:16:18.789
<v Kristen Kehrer>And launch an LLM that works poorly.

00:16:18.879 --> 00:16:24.039
<v Kristen Kehrer>And then the customer reps that survived are now inundated with calls.

00:16:24.039 --> 00:16:29.319
<v Kristen Kehrer>The customers are frustrated because monitoring wasn't in place it now.

00:16:29.349 --> 00:16:31.839
<v Kristen Kehrer>And actually they were mon, they were evaluating.

00:16:31.899 --> 00:16:34.359
<v Kristen Kehrer>Monitoring platforms at the time.

00:16:34.669 --> 00:16:36.259
<v Kristen Kehrer>But there was nothing in place, right?

00:16:36.259 --> 00:16:45.589
<v Kristen Kehrer>So it became this, actually, I went through myself and looked at 300 chats and I used LLM as judge and compared it to what I was doing.

00:16:45.589 --> 00:16:48.229
<v Kristen Kehrer>And LLM as judge did work pretty well.

00:16:48.229 --> 00:16:52.479
<v Kristen Kehrer>But it's you've got this system online, you've gotta take it down.

00:16:52.659 --> 00:16:55.000
<v Kristen Kehrer>You've gotta actually do some manual.

00:16:55.654 --> 00:17:01.474
<v Kristen Kehrer>Analysis to understand like exactly how bad is it, how and how do we fix it?

00:17:01.504 --> 00:17:03.274
<v Kristen Kehrer>Where is, where's the problem here?

00:17:03.274 --> 00:17:09.845
<v Kristen Kehrer>And a lot of times what I've seen is it's that something gets put into production without.

00:17:10.204 --> 00:17:20.855
<v Kristen Kehrer>A knowledge base that's big enough because people get really excited and instead of really building out the data the way they want, the data seems to fall through the cracks, right?

00:17:20.855 --> 00:17:23.285
<v Kristen Kehrer>We need to be able to cover for a hundred use cases.

00:17:23.615 --> 00:17:26.255
<v Kristen Kehrer>We need documents that are gonna cover for this.

00:17:26.255 --> 00:17:28.535
<v Kristen Kehrer>And they're like, we'll do 50.

00:17:29.105 --> 00:17:40.464
<v Kristen Kehrer>And we'll let our old solution handle the other, 50 because we wanna get this out there and it all just seems to not be optimal.

00:17:40.944 --> 00:17:41.785
<v Andreas Welsch>Lemme ask you a question.

00:17:41.785 --> 00:17:45.750
<v Andreas Welsch>So you mentioned LLMS Judge, can you talk a little bit more about what that is and why we need it?

00:17:46.779 --> 00:17:56.860
<v Kristen Kehrer>Yeah, so LLM is judge, at least in the way that I was using it, was we have all of these customer chats saved, right?

00:17:56.860 --> 00:18:01.900
<v Kristen Kehrer>And so I could go through and I could say, the LLM said, how are you today?

00:18:01.900 --> 00:18:02.860
<v Kristen Kehrer>What is your question?

00:18:02.860 --> 00:18:04.060
<v Kristen Kehrer>My question is this.

00:18:04.299 --> 00:18:07.630
<v Kristen Kehrer>And then it says, actually, we're not set up to handle that.

00:18:07.680 --> 00:18:09.360
<v Kristen Kehrer>We're gonna do this or whatever.

00:18:09.600 --> 00:18:23.160
<v Kristen Kehrer>And as the conversation goes through, you can see somebody getting frustrated, but instead of a human going through, you can just feed that to an LLM and say, where does it look like customers are getting frustrated?

00:18:23.190 --> 00:18:26.100
<v Kristen Kehrer>What type of topics are customers getting frustrated on?

00:18:26.460 --> 00:18:32.880
<v Kristen Kehrer>And it would give me back, four bullet points of it seems like these topics were handled well.

00:18:33.009 --> 00:18:41.580
<v Kristen Kehrer>For these topics it looked like people were using very short sentences and, other things that look, and it would list them, but I don't remember them off the top of my head.

00:18:41.850 --> 00:18:58.325
<v Kristen Kehrer>These other things that are a sign that people are frustrated or people used these, four letter words and and so you're able to get output from an LLM judging The output of your original LLM and it is pretty good.

00:18:58.325 --> 00:18:58.745
<v Kristen Kehrer>Yeah.

00:18:59.539 --> 00:19:08.880
<v Andreas Welsch>So why do we need another LLM to judge what the first one did are, wouldn't you expect that the first one is good enough to know what you wanted to do and do it well?

00:19:09.600 --> 00:19:10.080
<v Kristen Kehrer>No.

00:19:10.230 --> 00:19:14.910
<v Kristen Kehrer>So with traditional ml we're able to say, okay, this person was.

00:19:15.049 --> 00:19:16.279
<v Kristen Kehrer>Denied a loan.

00:19:16.400 --> 00:19:29.940
<v Kristen Kehrer>And we also understand if we're using explainability, what type of factors are going to make it so that this person gets denied for a loan and their metrics and so their numbers.

00:19:29.940 --> 00:19:31.590
<v Kristen Kehrer>But now when you have text.

00:19:32.644 --> 00:19:41.174
<v Kristen Kehrer>You need, to under, and there are metrics for LLMs, but it does not get at the brand tone.

00:19:41.174 --> 00:19:49.740
<v Kristen Kehrer>It does not get at those nuances of, actually this person asked a question that the LLM probably should have understood but didn't.

00:19:49.789 --> 00:19:51.440
<v Kristen Kehrer>Or, this was like.

00:19:53.060 --> 00:19:57.769
<v Kristen Kehrer>Not the proper context for what this LLM is supposed to be doing.

00:19:58.019 --> 00:20:06.509
<v Kristen Kehrer>And so an LLM can look at that and it's going to be a lot faster than a human having to look at it.

00:20:06.509 --> 00:20:16.789
<v Kristen Kehrer>But the same way, in the same sense, we don't have like a these like number metrics that we are allowed to use in ML that can say this decision was right or this decision was wrong.

00:20:17.240 --> 00:20:19.670
<v Kristen Kehrer>And so it is useful for us there.

00:20:20.090 --> 00:20:20.450
<v Andreas Welsch>I see.

00:20:20.509 --> 00:20:20.930
<v Andreas Welsch>Okay.

00:20:21.220 --> 00:20:22.090
<v Andreas Welsch>Makes a lot of sense.

00:20:22.120 --> 00:20:26.810
<v Andreas Welsch>So you have an evaluation basically to to say how well did it create this?

00:20:26.825 --> 00:20:27.664
<v Andreas Welsch>How does it align?

00:20:27.664 --> 00:20:31.285
<v Andreas Welsch>How well does it align to brand voice tone and and other requirements?

00:20:31.335 --> 00:20:33.265
<v Andreas Welsch>Alright obviously companies have data.

00:20:33.265 --> 00:20:34.705
<v Andreas Welsch>They've got lots of data.

00:20:34.825 --> 00:20:39.475
<v Andreas Welsch>I think it was 80 to 90% of data is actually unstructured lives in documents.

00:20:39.835 --> 00:20:44.325
<v Andreas Welsch>But what do you do as a as a leader if you're being asked to do some AI.

00:20:44.924 --> 00:20:50.775
<v Andreas Welsch>And you actually find out your data isn't as clean, isn't as complete, isn't as fresh as you need it to be.

00:20:51.735 --> 00:20:53.115
<v Andreas Welsch>Can you still work with an LLM?

00:20:53.115 --> 00:20:55.220
<v Andreas Welsch>Can you still build a rag system?

00:20:55.580 --> 00:20:58.370
<v Andreas Welsch>What's your advice to leaders who are facing that situation?

00:20:59.900 --> 00:21:04.130
<v Kristen Kehrer>Yeah, and I think it is, it depends on the use case and what you're trying to do, right?

00:21:04.130 --> 00:21:07.360
<v Kristen Kehrer>But in the higher stakes.

00:21:08.095 --> 00:21:18.174
<v Kristen Kehrer>Scenarios where the output is needs to maybe create something that's going to go out to customers.

00:21:18.894 --> 00:21:34.904
<v Kristen Kehrer>You need to make sure that your data is clean because anything, and like I've seen this when I was building an LLM application, the company had been, creating these types of communications.

00:21:35.670 --> 00:21:52.590
<v Kristen Kehrer>For so long they had so many cases, but not all of them were general enough to go into a RAG system so that it would work for creating these communications at scale for other companies or whatever.

00:21:52.890 --> 00:21:58.140
<v Kristen Kehrer>And what they chose to do was actually have subject matter experts go through.

00:21:59.250 --> 00:22:08.039
<v Kristen Kehrer>Each of the example cases and write them in a way that they knew that they'd feel confident about feeding it to the system.

00:22:08.039 --> 00:22:27.990
<v Kristen Kehrer>Because if you're going to put multiple use cases, multiple documents for the same type of thing in your knowledge base, and if they're not exactly what you want, if they have additional information that you don't want coming up, you could either put in your prompt template that you don't want that extra thing, but now you're con, you're.

00:22:28.575 --> 00:22:30.164
<v Kristen Kehrer>Your prompt template's gonna get huge.

00:22:30.585 --> 00:22:33.945
<v Kristen Kehrer>And so you really do need clean data.

00:22:33.945 --> 00:22:41.154
<v Kristen Kehrer>And it is, a different consideration than we've had in the past where you're getting your data from a database, now it's docs.

00:22:41.154 --> 00:22:44.035
<v Kristen Kehrer>And those docs do need to be updated.

00:22:44.035 --> 00:22:45.970
<v Kristen Kehrer>And I think that is part of the bottleneck.

00:22:45.970 --> 00:22:57.105
<v Kristen Kehrer>Why, we see these systems and I've seen systems go live with 18 documents in them as it's like their live POC but then it takes forever.

00:22:57.134 --> 00:23:17.705
<v Kristen Kehrer>It's the cleaning of the data seems to be this afterthought where again, like leaders need to structure the team so that the subject matter experts and the product people who are working with the data scientists, there is time carved out in their schedule to make sure that the data, that's going to go into the knowledge base.

00:23:18.670 --> 00:23:19.990
<v Kristen Kehrer>Actually gets done.

00:23:20.210 --> 00:23:25.310
<v Kristen Kehrer>And that, that is a priority because I do see it as something that has been getting left off.

00:23:25.700 --> 00:23:31.970
<v Kristen Kehrer>And these systems, the data scientists are off optimizing on this small knowledge base.

00:23:33.355 --> 00:23:35.875
<v Kristen Kehrer>Later on, all this, more data's gonna come.

00:23:35.875 --> 00:23:39.235
<v Kristen Kehrer>And how is that actually going to impact the system?

00:23:39.235 --> 00:23:41.845
<v Kristen Kehrer>How is the system going to work on that?

00:23:41.845 --> 00:23:58.485
<v Kristen Kehrer>Or now we over fit for, this smaller subset of documents, but at the same time, maybe you can feed multiple documents to an LLM and have it come out with something, prompt it and get something that's like really close to exactly what it is that you want to be putting in your knowledge base.

00:23:58.935 --> 00:24:15.910
<v Kristen Kehrer>But the data does need to be cleaned and it's no longer really the data scientist's job, whereas largely it, we spent so much time data cleaning before, and so now you still need to spend a ton of time data cleaning, but it's not in our domain the same way it was before.

00:24:16.644 --> 00:24:17.455
<v Andreas Welsch>That makes sense.

00:24:17.555 --> 00:24:22.894
<v Andreas Welsch>Now before we get to the end of the show, I was wondering if you can summarize the key three takeaways for our audience today.

00:24:23.345 --> 00:24:24.275
<v Andreas Welsch>We've covered a lot of ground.

00:24:24.735 --> 00:24:25.215
<v Kristen Kehrer>Yeah.

00:24:25.275 --> 00:24:25.575
<v Kristen Kehrer>Yeah.

00:24:25.575 --> 00:24:27.825
<v Kristen Kehrer>So ML Ops is a necessity.

00:24:28.215 --> 00:24:31.545
<v Kristen Kehrer>LLM Ops is an extension of ML ops.

00:24:31.595 --> 00:24:39.245
<v Kristen Kehrer>There's ways in which LLM Ops is still emerging and will probably be even more useful to us in a couple years.

00:24:39.424 --> 00:24:42.025
<v Kristen Kehrer>One thing I wanna call out is that, with.

00:24:42.355 --> 00:24:43.855
<v Kristen Kehrer>Like experiment tracking.

00:24:44.695 --> 00:24:45.745
<v Kristen Kehrer>And other areas.

00:24:46.065 --> 00:24:57.265
<v Kristen Kehrer>Sometimes you can put just a couple lines of code and you get a lot of tracking out of the box, but then there's still work to do to log other artifacts and things that don't come standard.

00:24:57.565 --> 00:24:59.335
<v Kristen Kehrer>And LLM ops is the same.

00:24:59.335 --> 00:25:04.205
<v Kristen Kehrer>There's, it can feel sometimes like you get a lot out of the box and you're like, wow, this is so easy.

00:25:04.424 --> 00:25:07.995
<v Kristen Kehrer>But there is work to get the rest of it built out.

00:25:08.265 --> 00:25:09.025
<v Kristen Kehrer>And then, the.

00:25:09.269 --> 00:25:18.029
<v Kristen Kehrer>Third piece is really that this is so much more collaborative than it was with machine learning, and you need to budget for that upfront.

00:25:19.170 --> 00:25:19.590
<v Andreas Welsch>I love it.

00:25:19.590 --> 00:25:28.680
<v Andreas Welsch>Especially the part about collaboration, because from my experience too, that's where the magic happens when you bring business and technology together and each one learns a little bit from the other side too.

00:25:29.039 --> 00:25:36.340
<v Andreas Welsch>Everyone gets a little smarter and typically the outcome tends to be a lot better than if it's only one side that things, they've absolutely got all of that figured out.

00:25:36.430 --> 00:25:36.580
<v Andreas Welsch>Yeah.

00:25:37.269 --> 00:25:39.279
<v Andreas Welsch>Alright, Kristen, it was a pleasure having you on the show.

00:25:39.279 --> 00:25:41.440
<v Andreas Welsch>Thank you so much for sharing your expertise with us.

00:25:41.820 --> 00:25:44.730
<v Andreas Welsch>And for those of you in the audience, if you're not following Kristen yet.

00:25:45.105 --> 00:25:46.035
<v Andreas Welsch>Do give her a follow.

00:25:46.245 --> 00:25:46.725
<v Andreas Welsch>She's awesome.

00:25:47.535 --> 00:25:47.865
<v Kristen Kehrer>Awesome.

00:25:47.865 --> 00:25:48.705
<v Kristen Kehrer>Thank you so much.

00:25:49.215 --> 00:25:49.815
<v Andreas Welsch>Alright, thanks.

00:25:49.815 --> 00:25:52.070
<v Andreas Welsch>See you next time for another episode of What's The BUZZ?

00:25:52.100 --> 00:25:52.590
<v Andreas Welsch>Bye-bye.

00:25:53.009 --> 00:25:53.230
<v Kristen Kehrer>Bye.
