Skip to main content

Transforming Energy: Asset Health and Predictive Maintenance with Databricks

Summary

  • Predictive maintenance strategy: Learn how the Databricks Data and AI platform enables constant monitoring and proactive maintenance of critical energy infrastructure.
  • Data-driven operational efficiency: Apply advanced analytics and AI-driven insights to automate and streamline asset management processes.
  • Pipeline monitoring solution: See a live demo of an integrated platform for monitoring pipelines and managing work orders in the wild.

Transforming Energy: Asset Health and Predictive Maintenance with Databricks

Watch: Transforming Energy: Asset Health and Predictive Maintenance with Databricks
Join us for the latest episode of the Transforming Energy series as our team explores how the Databricks Intelligence Platform is being innovatively used to unlock insights into Asset Health and Predictive Maintenance. In this video, we’ll cover key industry trends, introduce the fundamentals of predictive maintenance, and showcase a demo highlighting how our core technology is powering these advanced solutions.

Chapters

FAQs

How can Databricks help with predictive maintenance in energy operations?

This video demonstrates how the platform enables constant monitoring of pipelines and assets, applying advanced analytics to predict maintenance needs before equipment fails.

What challenges does traditional pipeline management face?

Manual, fragmented workflows in energy operations slow decision-making and create operational silos that impact efficiency and safety in critical infrastructure management.

How does the pipeline monitoring solution work?

It combines Databricks platform capabilities to collect real-time data from energy infrastructure, apply analytics, and manage work orders for proactive maintenance.

What outcomes can energy companies expect?

Implementing these approaches enables maximized operational impact during volatile energy market conditions by reducing downtime and optimizing asset performance.

Full transcript

0:00 Welcome and introductions

Uh we are so glad that you've decided to join us today for data bricks transforming energy mastering asset health and maintenance for pipelines. This webinar is for you especially if you find yourself within the oil and gas space and are looking for ways you can maximize your impact at your companies during this relatively volatile time in the energy sector. So today we're going to start let me make sure that my slides are up because they are not.
There we go. Today we're going to start with a fiveminute overview and introduction and then I'll present about a 15-minute energy market overview. Following that, will be showing a demo where we've implemented a pipeline monitoring and work order system using the data bricks platform. will dive into the details to show how to make a solution that can allow for constant monitoring and ma managing of pipelines in the wild.
After the demo, we'll have about 15 minutes for Q&A where and I will do our best to answer any questions you might have. Before I get started on the introductions though, I need to mention that data and AI Summit is coming in just a few short weeks. Now, there will be more than 20,000 people there already signed up and with over 700 breakout sessions, there is guaranteed to be something that applies to you in your work, whether you're in management or whether you're an individual contributor building solutions.
If you're not able to be there in person, we do have a virtual option which will be streaming the keynotes and many of the selected sessions. Speaking of the sessions, at the data and AI summit, the data bricks energy team will be hosting an energy forum there with networking and a variety of content from our friends in the energy space. This is something you don't want to miss. This is our big event every year. It's a great opportunity for you to find out what's coming in data bricks as well as to learn new things you might not have known before.
Registration is open so I encourage you all to be there and I hope to see you there. I will be there as well. So first, who are we? Uh. I'm a 10-year energy industry veteran with over 20 years of software development and analytics experience behind me. I've helped everyone from JP Morgan Chase to Chevron to several smaller companies use technology to achieve their business goals. Most recently at Chevron, some of the projects I worked on included an anomaly detection algorithm for oil tanks to help manage potential loss ML systems to analyze subsurface data for the oil sands in Canada as well as in the Perian and also linear programming models to optimize the value chain.

1:54 Energy market overview

I joined data bricks in January of this year. Hi, how are y'all?. Uh I'm a solution architect here at Data Bricks as well. I joined about six months ago. Uh before that, spent about eight years in the oil and gas industry, specifically at EOG Resources in Apache. Uh took a little break from oil and gas where I spent time in the analytics world at um HB. If y'all are local here to Texas, uh y'all know HB. And then most recently spent some time as a a data scientist and data engineer at Meta, specifically focused um on Instagram.
So, uh, like I said, joined about 6 months back and yeah, really excited to be here. All right, so now that our intros are done, let's take a few minutes to discuss where we are in the energy industry right now. As is often said, timing is everything when it comes to implementing the right solutions. And there's a reason that we're going to be demoing predictive maintenance today and not more upstream centric demos. My hope is that over the next 10 to 15 minutes, you'll gain an understanding of where we are in the industry, so you'll be able to make wise decisions when it comes to your data ecosystem.
As a caveat before we start, there has been a lot of change in the energy industry. I started on this slide deck about a month ago, and since then, there have already been several changes to the market. So, while I think the following slides indicate the general direction that the industry is moving, it's important to remember that many of these things can and do change on an almost daily basis. So, what I'm going to do in this section, I'm going to spend a few minutes talking about the challenges and headwinds we're being faced with, followed by the opportunities that these challenges present.
I'm going to wrap up by spending some time on how data bricks is uniquely positioned to help you increase your margins and profitability wherever you are. But first, let's talk market challenges. The big story this year in the oil industry is the reduced trading costs of crude. Crude, which was trading between $70 and $80 per barrel earlier this year, is now trading closer to $60 to $70 per barrel. If you've been in the industry long enough, you're probably used to some of these price changes.

4:20 Market challenges and outlook

You've seen them before, and you know what that means for the industry as a whole. Typically in the early months of every year, we see an increase in crude oil prices as demand begins picking up for the summer season. The increased use of air conditioning as well as the increase in summer summer travel usually serves as a stable prop for the summer prices. But what we're seeing this year is the opposite. Instead of going up, the prices are going down.
There are a few reasons for this. First, consumer sentiment is on the decline. As the cost of goods are expected to rise, many people have been tightening their belts and spending just a bit less. Hotel bookings are down about 7 to 8% over last year, an indication that travel is being curtailed going into the summer season. This reduction in travel combined with the expected reduction in purchases translates directly into lower demand for oil and gas products than what we would usually see this time of year.
Adding to that, the OPEC plus countries are planning an increase of 411,000 barrels per day by next month. Much of this may be related to a perceived opportunity by these countries to take advantage of some of the market volatility and increase their market share worldwide. Whatever the reason, the increase in supply combined with the decrease in demand is going to add some downward pressure on the price of oil products in general.
We can see some early signs of this change already. Frack crews are unfortunately down about 15% industrywide. In the perian, it's down about 20%. Because these fracking operations break even break even when the price of crude is about $60. We might see a bit more reduction in activity in the perian if prices continue to stay low. We're also sadly seeing some layoffs, reductions in forest and offshoring happening increasingly across the industry.
There is no doubt that this is a time of transition in the energy sector. So with all that, the general theme of this year seems to be wait and see. Drill baby drills kind of turned into delay baby delay as a lot of companies kind of hold off on their green field projects until there's just a bit less volatility in the market. What's more is that most companies out there are planning to do more with less in general as belt tightening continues.
That's it for the bad news. That's all I got to say about the bad news. The good news is that every market challenge comes with opportunities and we're going to talk about those next. First, refineries. Refineries tend to win when crude prices are low because refineries pull in raw crude and make produced material out of it. So, their feed stock, which is crude that's used to produce the things they produce, is effectively on sale from their perspective.

7:00 Emerging industry opportunities

This allows them to have this allows them to save more on costs even if they keep their outgoing prices the same. One caveat here, however, is that if consumer spending continues to be low, this may result in more of a break even scenario than a gain for the refineries, but we're just going to have to wait and see on that. We're also seeing a big uptick in deep water plays. 58% of the FPSO, which are the floating production, storage, and offloading vessels, you could see one in the picture here. uh 58% of them are conversions.
So there is certainly something happening in deep water. This shift has also been enabled thanks to several several new engineering developments in drilling such as Innov's 20,000 PSI blowout pre which I learned recently is about 3 to four stories tall. It's a behemoth and it's and it's making deep water plays more feasible than ever. If you look at the slide here, you can see the tiny little people on the right picture down at the bottom. also autonomous drilling.
So at the beginning of 2024 at an offshore rig in Campos Bas in Brazil, the first autonom fully autonomously drill well was achieved by SLB. This well had a rate of penetration about 60% higher than traditional wells. So it was able to drill at about 80 m per hour. The entire well was over 200 m deep and the first 1100 of that was drilled within the first 24 hours of breaking ground. AI and fully autonomous drilling is giving us order of magnitude increases in rate of penetration which of course will translate directly into lower recovery costs.
We're also seeing a lot of work done towards the end of gathering more information from the well environment. Traditional MWD or measurement wall drilling uses what is known as mud pulse telemetry in which the bottom hole assembly creates pulses in the mud that flow through the well and are interpreted top side. The trouble with mud pulse telemetry though is that it is painfully even criminally slow. It typically runs at about 1 to three bytes per second.
Even the fastest NPT known as high-speed mudpulse telemetry or HSM NPT can only run at about 12 bytes per second. So for scale, this would mean your favorite 3minut song would take about 3 to 4 days to download. It's hardly high speed. Obviously with slow speeds, decisions have to be made about which data is the most important to send and which isn't. The variety of information has to be carefully weighed against the slow velocity of the data.
Liard pipe, which has been around for a while, but is just now beginning to see some commercial use in active wells. That increases the data throughput from 12 bytes per second to about 56,000 bytes per second, opening the door to a greater variety and velocity of subsurface data being generated and consumed in real time. With these order of magnitude increases in data throughput, wire pipe is getting much closer to having a positive ROI when combined with automated drilling.
Since the mid2010s, we've also seen an explosion in the use of drones, robots, and IoT devices to automate many of the rote tasks associated with gathering measurements. Blowout prevents can now send up to 10,000 data points per second. Digitally controlled valves are being deployed along pipelines to maximize safety and prevent loss. I myself have personally worked with drone technology at refineries and I've seen use cases in which Boston Dynamics Spot the dog robot pictured there on the left is used to gather metrics from analog sensors in various environments relaying those measurements to the backend for digital twin solutions and for general analytics.
All of this automated drilling, wired pipe, and robotics are just a few of the ways we're seeing the oil industry really lean into data gathering to improve processes, which of course is driving the need to have a platform that can enable data gathering, storage, and processing and provides a low barrier of entry to using that data in ML and AI. So in some I would say this year the theme is really all about operational efficiency.
While we may not see increased drilling activity this year, this momentary lull provides us with a unique opportunity to put in place better efficiencies to reduce recovery costs going forward. So, how can data bricks help? In short, we spend all day every day trying to find more efficient ways for you and your entire team to make use of the data you're already collecting. talk about some good options of things to focus on this year specifically.

11:48 Data-driven operational efficiency

Some of those things might include doing some postmortems on wells to find missing efficiencies, finding some ways to open up data to the enterprise and not just to the people in IT, implementing predictive maintenance techniques as well. These are just a few of the ways that you can make small investments this year that are guaranteed to have a positive return on investment and be more impactful in the situation that we find ourselves in right now.
So in some it's it's prime time to not only prepare for the next oil boom but also to maximize our ROI and efficiency in current projects as well. So still why are we data bricks uniquely positioned to help you in the energy space? First we have three teams in house that are solely dedicated to helping the energy industry specifically. Our entire reason for being is to take the data that has pre previously been made available only within IT departments and open up the ability for analytics across the whole enterprise.
So your facilities engineers, reservoir engineers, geoysicists, geoccientists, geologists, etc. They can all interact with the data without having to know SQL or Python. We truly believe in data democratization and that's really what we work to enable. Our AI and BI tools can help even the least technical employee find valuable insights from the data they already have access to. In short, we can help bring some level of sanity to what can be a very challenging task of data management and governance.
So, in a moment, I'm going to hand things over to for the demo, but before I do, I want you to keep a few numbers in mind. Just 4 days of unplanned pipeline downtime can cost around $5 million. That is a non insignificant number. More so, companies operating offshore offshore lose an average of about $36 million a year due to unplanned downtime. Much of this money could be saved if predictive maintenance techniques are put in place.
According to the US Department of Energy, predictive maintenance saves roughly 8 to 12% of operational costs when compared against preventative maintenance. So, keep these numbers in mind as you see the demo. What what going to show you isn't magic. It certainly is not out of the reach of your organization. It just simply takes someone with a vision and drive to go about implementing the solutions. The cost savings are there for the taking.
So with that, I'm going to turn it over to go through the demo of our predictive maintenance PC. Cool. Hey, thanks. Um so we can go ahead and move on to the next slide. Uh you know, talked about um discussed some of the key challenges facing the energy industry. um particularly he focused a lot on on operational efficiency. Now I would I would love to as you mentioned shift gears and really show how data bricks can uh specifically our data using our data intelligence platform you know can directly address some of these challenges uh focusing specifically today on predictive maintenance on our our assets.

14:24 Predictive maintenance strategy

And so starting off we've all seen headlines like this um pipeline explosions gas leaks due to something that could have really been preventable. Um these aren't just operational setbacks. Uh they really represent uh significant safety, you know, risk and environmental hazard environmental hazards as well. Uh while this particular article highlights an incident in Oklahoma, you know, uh it really shows a critical vulnerability that that all mainstream gas operators face.
Um you know, uh yeah, that they all face. Um, asset failure and unplanned downtime events are incredibly costly both financially as well as as to the uh to the environment. Next slide. So, highlighted some of this already. Um, these numbers on the screen are really large. Uh, and these are some of the things that we're seeing for um complete failures like what's highlighted in the um in the article above. Uh but even taking out complete failures and looking more just like unplanned downtime as highlighted a mere 1% downtime rate which is about three and a half days uh can result in $5 million of annual loss.
Uh and then as he as he highlighted offshore operators are really disproportionately disadvantaged with uh bigger bigger operations that can result in $38 million for unplanned downtime. Next slide. So what can we do about it uh to make sure that we aren't highlighted in an article that was shown above or or facing these huge expenses from pipeline failures and downtimes? Well, this really brings us to the concept of predictive maintenance.
You know, traditionally maintenance has been reactive, which is fixing things when they break, or preventative, which is scheduled maintenance regardless of the condition. Predictive maintenance moves us into more of a proactive action state. Instead of waiting for equipment to fail, we use data to predict when a failure is likely to occur. So if you take a look at this graph, as equipment performance degrades over time, um operational cost will increase.
Reactive maintenance typically happens later in an asset's life when after significant degradation or failure leads to really high operational cost. and schedule maintenance occurs before we are seeing any performance degradation leading to unnecessary spend on on really perfectly healthy assets. So predictive maintenance really aims to intervene just in time based on the onset of performance degradation allowing for intervention at a much lower operational cost um before failure occurs.
So, right at that elbow point of this chart, uh this is achieved by monitoring asset health indices based on real-time signals. Um and building really a knowledge base of prescribed next best actions on on reoccurring issues, making it really easy to solve these issues before they get out of hand. Next slide. So, we've obviously established uh the cost perspective of things um and really why it's so important to to lean into this predictive maintenance movement.

17:48 Technical platform overview

Um and this diagram illustrates how predictive maintenance for gas pipelines with the data intelligence platform can entirely be built on data bricks from start to finish. This slide is really the culmination of how data bricks brings together all the pieces to make this possible. You can really think of data bricks as a unified engine for analytics, data aggregation and AI. And once your data assets are on this unified engine, the speed of development and insights really increases exponentially.
Uh so sort of walking through this diagram, you know, we start with all your various data sources, real-time telemetry data, operational data from ERP systems, detailed signals from flow meter sensors. All this raw data flows into the platform through data pipelines and streaming processes that we provide out of the box. Uh this data s these data sources are stored in in open data formats allowing for really easy access and high interoperability with a variety of systems.
Once the data lands within your cloud uh system, we we like to structure this data what we call the medallion architecture creating layers of increase in quality from bronze silver to gold tables. Um just to explain that a little bronze layer holds the raw unfiltered data. Silver layer is where we clean, filter, enrich data, change column names, add calculated columns, things of that nature. Uh and gold layer contains this these really aggre highly aggregated curated data set sort of fit for purpose that are optimized for analytics and reporting.
Um this this architecture the medallion architecture really provides a simple and standardized data model that everyone in the organization can truly begin to trust uh and access as well. So now great we have our data but now you know crucially um is we need to figure out how we're going to govern this data and that's where we we bring in unity catalog. uh Unity cataloges are unified governance solution uh which really makes it uh easy to secure uh share data, track lineage things of all nature and not just data all your assets as well.
Uh dashboards, pipelines, ML models um Unity catalog can really handle and govern it all. Um and and make it extremely easy to really have trust and faith in in in your data and what all is is what all your data is is impacting. Now, I really want to drive this point home. When everything is on the unified and governed platform, the possibility of what you can build and how quickly you can build it is is really impressive.
It makes the time to develop these data assets so much faster. Uh, as you can sort of see in that top box, whether you're doing AIBI dashboards, ML model development, things of that nature, it's all extremely easy to do and you can scale up really fastly, really quickly. Sorry. Um, in the demo I'm about to show, uh, we're going to actually pretend that a pipeline control operator is constantly monitoring a customuilt data bricks app interface.
Um, this app isn't just showing raw data. It's displaying real-time asset health indices derived from this process sensor data that we've shown through our Medallion architecture. The app might flag specific areas or assets that need to be paid attention to uh, that are non-compliant based on on some level of performance degradation. Now, when the operator sees a critical alert, they can easily interact with the app to initiate an action.
This can mean generating a service ticket uh directly within the app or triggering some sort of service dispatch to a maintenance team. Uh we're actually going to do that within our app. We'll show you that here momentarily. Uh but really the beauty of all this is just all this including the app, which we're excited to show, is all on this one unified platform. Uh and really start to finish makes this very easy uh to stand up and get going.
So with that, I'll start sharing. Um, and awesome. You'all should be able to see my screen now. Um, if uh if you have questions, just to sort of reiterate, we have folks um can y'all see my screen,? Can you see my screen? Yes, I can see your screen. Okay, cool. Awesome. Uh, if you have questions, we have folks online, other solution architects here at Data Bricks. Uh, feel free to send them in the chat and they'll try to answer them and then like mentioned, we're hoping to have a few minutes at the end for Q&A.

21:46 Pipeline monitoring solution demo

So, I want to start off by really just showing um showing this app uh that we we've presented today. Um, you know, traditionally data bricks has really been thought of uh maybe more of a back-end data processing engine. you know, something you where you can do all the ETL, do some model development. Uh, but I'm really impressed with how we've taken this leap and sort of presenting this data out to end users. Um, our last transforming energy series, which which you can definitely find the recordings for online, really highlight our AIBI dashboarding tooling, um, our Genie interfaces to like interact in in natural language.
And this is our first time that we're really showing data bicks apps which is um uh data bicks apps is is uh a product that we just released of allowing you to really completely deploy datacentric apps all within data bicks as well. And so uh it makes it really easy your time to development super fast to uh once again you already have your data assets your your ML pipeline sitting there within data bricks. Now you can easily deploy an app as well.
So, we'll dive into the specifics of that in more detail momentarily, but this is our app. As you can see, we get a a nice little overview of our uh pipeline that we're monitoring. Once again, this the um scenarios that this would be up on some sort of control room that they're constantly monitoring. Data is flowing in here real time. Obviously, the green segments are are good to go. We don't need to really pay attention to those.
But then we're also seeing some yellow and red segments as well. If we dive into like one of these yellow segments, uh this is getting into that realm of predictive uh uh predictive maintenance. Obviously, these are being flagged by our system for um needing to pay attention to and so we can dive in. We can see the specifics on the actual segment, actual locations that are maybe showing some signals to look at. Uh we're not detecting any leaks yet.
Once again, that would be that reactive maintenance. We're just sort of seeing some non-compliance segments that we want to dive into a little more. Uh once again, no leaks. But what's really cool is now we can start to once again pull in uh we have our our telemetry data which is sort of signaling that these aren't compliant, but we can also have some ERP inspection data that's easily merged in and giving us some insights into when the last inspection was.
Um things of that nature. I'm going to touch on our first really use case of AI and sort of how we're incorporating LLM into the solution with this recommended service. um this recommended service is using a a a function that we call batch inference that's actually applying um an LLM model on top of uh a number of rows that are stored in our systems. And so in this case we have a last description potentially that's talking about hey the last time the inspection went out um our service field technician input some raw data.
Uh what this is actually doing is it's reviewing line by line that paragraph of raw data and recommending a service that we want to actually perform on this asset once again to get ahead of any potential um uh reactive maintenance steps that need to take place in the future. As we can see like in this case for segment 4643 it says we need to potentially do some clamp installation. Once again this was not selected by a human.
This read a model more or less read this description and recommended this. And so we can go through and we can easily create a a work order. Um you know in this case we know that there's crews in the area. So we can type you know crew in area uh give you know a look some nature obviously more official than that. What this is doing right now is it's actually going out and writing to a delta table. Now uh this can also write once again this is a custom app.
So you can write this to other systems of record that you have. Um some sort of work order system you may have. Uh I don't know if you've been paying attention but we just recently acquired uh Neon here at data bricks which is like a Postgress open source solution. So you know be on the lookout maybe there's there's some options there to maybe enhance this feature and functionality even more in the future. But anyway so now we've once again quickly been able to identify a leak order a service to this particular asset and uh go from there.
Now you also see some red instances. Once again, this is more of that reactive state, but we're able to quickly do it. The data is streaming in real time. These tags are updating. We can dive in, see the individual pieces of the pipeline that are showing leaks. Um, get a pressure profile on that system. So, once again, we're looking at our inlet versus outlet pressure. Uh, we see a big drop around 12:45 in the morning. um and we can obviously take action as needed.
Data bricks doesn't just store tabular data. You know, say you had um image dete or images being stored on all your assets, you could easily display those as well. Um once again, here's that sort of last inspection note that was put in that our recommended service is is um is reading. We had actually recommended pipeline patching. uh and so you know maybe that gives a really good indication to the crew of like this could be going wrong.
Uh same thing we can create a work order as we've seen and sort of go from there. So you know this is one scenario of how we've laid out this particular sort of dashboard monitoring solution. Um there's many more and and so uh once again this this data bricks apps is is completely built uh within our our platform. And so that's the solution. I want to go back and sort of talk about some of the key fundamental pieces for these last 15 minutes or so.
Um the first obviously is we need to get our data right. And so for that we've leveraged our technology called DT pipelines. DT pipelines is our sort of declarative um uh pipelining solution that allows you to easily create these uh these DAGs and really keep your data sets completely in sync um updated all the time. uh you can you know run them run different jobs and things in parallel and it's all really easy to set up.

27:59 Pipeline engineering and AI integration

Historically to do stuff like this you would have had to be really good at spark or python or airflow or different um you know different sort of data engineering uh really advanced uh features and languages. Um but this is all really declarative. So if you can write SQL you can now create these really um expansive pipelines. And just so to just sort of show you that um each one of these pipelines reads from a file. It reads from a DT file.
I'm not going to spend a ton of time in this because I know um notebooks and stuff aren't the funnest to look at, but I do just want to show you how easy it is um how easy it is to really set up these pipelines. And so for instance, we have a bunch of tables that we're bringing in as raw bronze data. Once again, that bronze layer is that um raw unfiltered data. It's really just a copy of the data from its its source system.
And so we're more or less creating um creating in this case like a streaming a streaming table which is like an appendon type view that says hey as files are read into this volume go ahead and just add them into the streaming table which is great. That's not the fanciest thing in the world. But what makes this really interesting is then we can use this as an input to other themes down other tables downstream and it's really straightforward to do so.
Um once again this is a bronze table so there's nothing really upstream of that um or downstream sorry maybe get confused but what's really interesting is if we want to leverage that bronze table it's really as easy as just adding once again creating another view another table another asset you want to create but if we add this live precursor to that table it's going to know hey this pipeline segments bronze is declared somewhere in this SQL script in one of the cells you're going to see a pipeline segments bronze being declared and that live notion tells you hey go out and create a dependency for this table on this table and so as you sort of build these out once again this is just SQL this is a select star and we do we add some latl longs to it you all you got to do is is no SQL and then you can really quickly and easily build out these very complex DAGs so um super straightforward uh super easy to implement It makes it takes it to where you don't have to be a dat engineer to incorporate some of these features.
Um you can have this update I think once like pretty much in a streaming streaming fashion. You can schedule it to run throughout the day and look for new files. And what's really neat is as it knows to as new files land and this inspections bronze starts to update all the dependencies downstream will update afterwards. So it really keeps everything in sync. Once again very declarative way to have these these pipelines go.
So that's how we sort of got our base data sets. Um I I definitely implore everyone to dig into DT and how you can you can leverage it going forward. The other thing that was really cool um was uh that we implemented here was our use of AI query. So I I mentioned this as this was that way of we're in a batch inference style being able to apply um an LLM model over uh over our data sets. And so you can see um in this table we have this description.
This is that the idea is that this is that sort of free text input um field field input field mouthful but um that you know it could have spelling errors. Um they're just typing up their notes, right? And we really want to get this down to say like what is the recommended service that should happen on this table? Well, that's where this AI query function comes in. So, this AI query function more or less takes in a few parameters.
It takes in a model that you want to pass. In this in this case, it's the data bricks hosted uh metal lama is what we're using. And then it takes in a prompt. And so for this case, I'm saying, hey, the following comments is the inspection notes on a pipeline field log. I want you to um categorize these into one of the next steps. Um, this should be one of the following options. General service, no next steps, coupling replacement, pigging, valve maintenance, blah blah blah.
Um, this then is going to as we execute this, it's going to actually go through and go line by line, apply this prompt, and then I've actually declared what I want the response format to be. So, in this case, I want it to be uh the type to be a text. That way, it doesn't sort of hallucinate. it sort of refineses what what actually is going on and what's going to be output from this this field. And so, uh, really straightforward.
Now, you can see we've have this description and we're we're saying, oh, it should be a clamp installation. Uh, you know, in this case, no next steps were found. Um, and so it that's that's what's recommended. Now, one thing to note is AI query is just one of many of our AI functions that we have available. Y'all can literally start leveraging this today. We have a lot of different ones out of the box that are ready to go.
Um, you can do some classification, some extraction, you can fix grammar. Um, I've actually showed just a few more instances where maybe we don't want a recommended next steps. We just want to summarize this. Like that's a long paragraph. We don't want we want people to be we want to be able to serve this up in our ad. We want we want this to just be much more summarized. Once again, now we can execute this. it's going to go out.
We're just passing in that description. And so what turned into like a really lengthy uh maybe two sentence thing. Obviously, that's not that long, but now it's pipeline inspection found in compliance, but recommended clamp installation for continued integrity. So, it makes it really easy to take the these free text fields and whether you want to summarize them, fix the grammar, uh do something custom with once again AI query, um you can really do that very easily.
Uh this one was fun. uh we have AI translate and so uh you know maybe I don't know the situation but I just thought this was fun to highlight we can more or less pass in a description pass in we want to actually translate it to Spanish and now we go it's gone through it's translated our field descriptions into Spanish so unlimited use cases uh really really implore you to dig into um AI query and what's nice is these can really easily be incorporated into your DT pipelines so for instance once again this is that DT pipeline, I create this inspection silver table where I want to add in that sort of um cleaned up recommended next steps.

34:53 Data governance and management

All I have to do is take that same sort of function that I was leveraging in our DBS SQL playground, pop it into here, and sure enough, now as it goes and creates that um that inspection silver table, it's going to um to actually create this new uh LLM generated um field. And what's really cool is you can actually pair this with our um our quality control uh um constraints uh expectations. And so in this case, I actually put sort of a QA limit on this field.
Say, hey, I want to make sure that the service recommended is one of these seven categories. Um if not, go ahead and write it to like a sort of a a warning table. That way I can go and review those periodically. maybe there's uh some things that didn't get classified. Well, that's sort of a that is a um a signal for me to say, okay, well, now I need to go back and maybe modify this prompt. Maybe it's not picking up clamp installation all the way and it's it's it's not categorizing it effectively.
Um well, now I can go back and sort of modify this prompt, add some more context on like what does clamp installation mean? Things of that nature. So, really cool functionality. Once again, this is a way that not only are we just preparing our data, making it really robust, but now we're actually augmenting it with AI and batch inference to allow it to give insights that historically we would we would have had an analyst go through, read each one of those lines, tag it as what the next recommended step is.
And once again, that's that's a step that probably gets overlooked and keeps us from really being in this predictive maintenance mindset. Cool. Uh, lots there. uh want to just sort of dig into the last part of our data preparation which is is I talked a lot about Unity catalog. Um once again DT is writing these tables out to Unity catalog and that should not be overlooked. So UC is our our way to govern um you know track lineage on all of our assets.
And so these all these tables are created by that DT pipeline. They're all governed by Unity catalog. that gives us a lot of things to really look into. Um, as a as a start, um, Unity catalog really sits on top of our data intelligence platform and allows us to really start to leverage AI for even really simple things like creating descriptions of tables. So in this case, uh, this is a pipeline summary table. Uh, we nobody likes to go and write long descriptions of what's happening in our tables.
AI can do it for us. Obviously, you can edit it, you can accept it. U, you can do the same thing for column tables. So I can click AI generate and it will take a little while but each one of these now columns within this table will get an AI generated tag which um may not seem like the biggest thing but for a lot of our other tooling such as Genie uh AIBI dashboards um data bricks assistant that's all leveraging these comments in these field descriptions to help recommend the best uh code to write uh the best results for your natural language.
And so makes it super easy to run through these 20 tables. You know, what normally would have been a day and a half long thing. Now we can quickly accept the descriptions, edit them if we need to, XYZ. Permissions is all in a single spot. And so we're easy able to um provide uh permissions on all of our individual assets. But what's even cooler is we can also really track lineage. So I think there's lots of solutions for lineage but um this is just a great example of you know you can see the exact tables whether it's a materialized view a view all that's pretty standard but what gets really cool is you can also understand like what's using this downstream and so uh a notebook is leveraging this right now if you had queries that were leveraging this this would all point back and and give you insight to say hey if we make changes to this pipeline summary table um these are all of the uh downstream assets that would potentially be impacted and so we should go work with those business owners and and um and get any issues resolved there.
So awesome. Our data is created, we've enhanced it with AI, we've governed it in community catalog and now it's just a matter of how can we uh serve this up. We talked about AIBI dashboards. We talked about genie rooms. Um today we showed a data bricks app. Uh, and so I want to start off maybe with uh, this cookbook that's out there. I encourage you to look at of all the different scenarios and things that we're building, our customers are building with data bricks apps.

39:28 Deployment and Q&A

Once again, these are sort of um, starter kits, I guess you could say. And so, you know, if you maybe have some a IML workflows, you want to invoke a model, you want to run a vector search, these are all code snippets, excuse me, these are all code snippets to really help you get started. So there's really no excuse why if you have a model and you want to like serve it up in a really custom way, great. Go out to this data bricks apps cookbook, find the invoke a model.
Here's your app. py file that will get you started and show you how you can sort of invoke those those model endpoints. Uh same thing, we have some dash uh templates as well as well as fast API. But great going back to like that's great. Writing the code is one thing but like deploying it. How easy is that deployment process? Um, it's really simple. And so, for instance, everybody's familiar within data bricks, this compute tab.
It's where you go and you start your all-purpose clusters, your job compute, XYZ. You may have noticed a new um header for apps. By clicking apps, uh, this is where you deploy, you start the compute that your app would run on. And so, for instance, ours is this NRG uh, health asset monitor. you can quickly point your your uh this compute to a a deployment source. Uh this is where you have all your app. pay files, things of that nature and uh and click deploy.
And obviously from there you're able to get a a website that's spun up um that houses or or shows any insights that you may want. Um it's really seamless because once again it's all built on top of data bricks. And so you need to leverage a SQL warehouse to actually query data. Perfect. You can easily integrate existing data bricks SQL warehouses here. Same thing with ML model endpoints. Same same things with all their various assets that are created on data bricks.
You can easily point them point your app to them all within this um all within this uh this interface. And we're not making you develop it within data bricks. Obviously uh we expect you to develop these custom apps using uh one you know whatever IDE you're most comfortable with. And so, uh, we have a lot of instructions on how to sync your files, run the app locally on your computer, deploy, things of that nature. So um this product's still in its infancy and is being enhanced very very fast but customers are loving it because once again there's always been this disconnect between the the limitations of maybe what a uh PowerBI or an AIBI or or other sort of end consumption solutions can do. uh there's always been a limitation of those no matter you know you can always take it you can only take those so far and so data bricks apps once again really allows you to expand that and uh it's really up to your imagination of how you want to uh how you want to leverage that app and and serve this data up to your your customer.
So, um, you know, yeah, I think that's that's really all I want to show today. You know, as I mentioned, just to sort of make prove I wasn't, um, cheating you on, uh, on writing back to the delta table with that create work orders. Um, this is where this is that delta table it was actually writing to. Uh, and so you can sort of see I, yep, I said crew and area, go give a look. Um, it actually was able to capture that.
Uh and so once again, maybe your solution isn't to write to Delta, it's to write to something else or do something different. You can do it. You know, we're not we're not saying you you should necessarily do this workflow, but this is a solution where start to finish from data ingestion to getting the service order in place. Um it's all done with data bricks and we think it's a pretty creative solution that we we'd love for you to consider and take a look at.
So, um, with that, I'm going to get a sip of water and turn it back over to for some Q&A.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.