Building AI Agents For Business With A Mixture Of Assistants (Guest: Jeremy Ravenel)
Jul 14, 2024Season 3Episode 16
Andreas Welsch
In this episode, Jeremy Ravenel (Founder naas.ai) and Andreas Welsch discuss building AI agents for business with a mixture of assistants. Jeremy shares his journey from corporate finance to building a technology platform for AI agents and provides valuable insight) for listeners looking to increase efficiencies in their business with the help of AI agents that act as personal assistants.
Key topics: - Learn why businesses need a specialized kind of intelligence - Assess when AI agents useful in business - Enhance AI apps with knowledge graphs
Listen to the full episode to hear how you can: - Be skeptical about the output that LLMs create - Map your internal knowledge with a knowledge graph to make it accessible to LLMs and AI agents - Describe your business in processes and workflows to spot potential areas for using AI agents
*********** Disclaimer: Views are the participants’ own and do not represent those of any participant’s past, present, or future employers. Participation in this event is independent of any potential business relationship (past, present, or future) between the participants or between their employers.
In this episode, Jeremy Ravenel (Founder naas.ai) and Andreas Welsch discuss building AI agents for business with a mixture of assistants. Jeremy shares his journey from corporate finance to building a technology platform for AI agents and provides valuable insight) for listeners looking to increase efficiencies in their business with the help of AI agents that act as personal assistants.
Key topics: - Learn why businesses need a specialized kind of intelligence - Assess when AI agents useful in business - Enhance AI apps with knowledge graphs
Listen to the full episode to hear how you can: - Be skeptical about the output that LLMs create - Map your internal knowledge with a knowledge graph to make it accessible to LLMs and AI agents - Describe your business in processes and workflows to spot potential areas for using AI agents
*********** Disclaimer: Views are the participants’ own and do not represent those of any participant’s past, present, or future employers. Participation in this event is independent of any potential business relationship (past, present, or future) between the participants or between their employers.
We'll talk about building AI agents for business with a mixture of assistants. Welcome And who better to talk about it than someone who's actively working on that? Jeremy Ravenel. Hey Jeremy, thank you so much for joining.
Jeremy Ravenel:
Hello, how are you?
Andreas Welsch:
Doing really well. Thank you so much for being with us. Hey, why don't you tell our audience a little bit about yourself, who you are, and what you do?
Jeremy Ravenel:
It's a tough question to start with, but I'm going to start to make it short. I'm French. I grew up in a nice countryside in Brittany. I've always been super fascinated about The world around me, connecting music, art, science, nature. And I started my journey really in the professional world at 18 years old, I took my backpack, went to India, traveled Asia started working for a French company, doing internship over there, came back, went to business school forced by my dad when I was, it was 2009. So during the financial crisis. And at that time I had to make a loan to the bank and it was financial crisis at that time also. So everything was about is the money mine? How am I going to be able to use that cash for what I want? So I deep dive into the world of corporate finance, cash flow management, cash flow forecast. And I started being like specialized in that area. And when you work for a corporation, you have to do cash flow forecast. You also have to connect everything to everything. So my little child brain, super curious, asking so many questions, got like a bit of substance to work in that area of cash management and cash flow management. And so it was really great to. Start with this. I did a lot of Excel, VBA, PowerPoint presentation. So I turned a bit data mercenary in a way for every C level, CEO, CFO. Worked for two companies, mainly software in software prototyping and in oil and gas. And it was always the same thing. How to answer the questions from business managers, obsessed by how to answer the questions, how fast you can deliver those answers to the business I was slowly going from Excel, VBA, PowerPoint to Python notebooks and orchestration of pipelines and data and AI eventually. And it was really wonderful at the time when I started using those technologies, because it was also the event of open source libraries. You could do a lot with those open source libraries, write scripts, build pipelines, and I got fascinated by the world of open source at the same time. And we created a, with my brother and my associate, a company at that time, a consulting company, that helped us build a product. And this product is called It's now called NAS for Notebooks as a Service. Essentially, what we do is we use templates, open source templates that we've been creating with our community, more than 3, 000 plus templates. And we use them as components to create data products, data and AI products. And one of those products is what we're going to talk about today, which is this ABI, Artificial Business Intelligence, mixture of assistant project. And it's really interesting to be able to talk to you about it today because we have been working on it in a applied research mode with design partners that helped us build the first version of this project. And super excited and super grateful to be here and, chat about it.
Andreas Welsch:
Thank you so much for being with us. It's great hearing about your journey and how going to business school, finance, corporate finance, now led you to delving more into the world of AI and what you can do with it for business. For those of you in the audience, if you're just joining the stream, drop a comment in the chat where you're joining us from, because I'm always curious to see how global our audience is. So should we play a little game to kick things off? What do you say? Yeah, let's go. All right. So let's see. This game is called In Your Own Words, and when I hit the buzzer, the wheels will start spinning. And when they stop, you'll see a sentence. And I'd like for you to complete that sentence with the first thing that comes to mind and why. In your own words. To make it a little more interesting, you only have 60 seconds for your answer. Now, if you're in the audience, please put your answer and why in the chat as well. Always curious to see what you come up with. Jeremy, are you ready for What's the BUZZ?
Jeremy Ravenel:
I'm ready.
Andreas Welsch:
Awesome. Then, here we go. If AI were a song, what would it be?
Jeremy Ravenel:
Oh, I think it's a song from Bob Dylan, Everybody Needs to Serve Somebody. It's saying that, it's saying this story about you could be, Anyone, but you need to serve somebody. And I think that this is what the first thing that comes to mind is this song from Bob Dylan. I don't know if you know about this, I could take my guitar and sing it to you if you want, but it's a good song. It's a very good song. It's all about serving. It's all about serving someone, being in service of something. And I guess that this is what is completely lacking today. Like we don't know. It's a general technology. So how, who do we serve really? Who is the person, the public, the audience? What's the outcome? Why do you serve? I'm always like in this mindset of serving somebody.
Andreas Welsch:
That's awesome. I love it. That's a fantastic answer. We've had a number of different answers before. When people were asked that, the question about serving somebody I think is really key. And also when you think about AI in business, who are you serving? And why is it AI? What should it actually do other than just serve? Chase a shiny object.
Jeremy Ravenel:
Yeah, the song is fantastic. It's taking all these personas all the way, taking if you're this, you ended up needing to serve, you need to serve somebody at some point.
Andreas Welsch:
I'm looking at the chat. So we have folks joining from the UK, from Houston, from Toronto in Canada.
Jeremy Ravenel:
And hi everyone.
Andreas Welsch:
Hey, so thanks for, joining. And looking at the answers: if I had a hammer, in the morning? And Yesterday from the Beatles. So some really good suggestions there as well as some classics. Now, Jeremy, you mentioned you're building artificial business intelligence. And you said you defined it as a pragmatic alternative to AGI, Artificial General Intelligence, for businesses. So I'm wondering, what's the story behind it? You already shared a little bit about it, but why do businesses need a specialized kind of intelligence?
Jeremy Ravenel:
I think the whole thing if I'm totally like natural and honest with you is I think that AGI is really about a lot of hype and it's something that I don't think I can see in the business setting. So at the beginning, when we started doing this jokes internally with my team Hey, AGI this, AGI that, we're like, Hey, no, it's it was an internal joke, private joke this is something that is not really useful. And we were working with my team since a lot of years in the world of business intelligence. And this totally makes sense. The business intelligence, the reports, the data that you bring to the business, how you serve someone like is in the management level with proper data, trustworthy data, our world was really turning around BI and how to automate, how to go fast to the reporting and to the knowledge of how a business works. So yeah. Cool. Eventually, AGI turned ABI, because artificial business intelligence, and we found out that this idea of artificial business intelligence, BI, was a bit going too connected to Google, dashboards and reports. So how do you bring back to the core idea of business intelligence, which is essentially mapping the whole flywheel of your business. And then we started thinking about all those different data products that we have built very specific data products that we have built over time. And this mission that also I have since I'm out of the corporate world to be able to explain the cash flow. So when you want to explain cash flow, you actually need to connect everything in the business. It's not only about like just the cash and explaining. You need to explain how to generate top line revenue, but for generating the top line revenue, you need to explain the awareness, the marketing, so how many people do you reach on your website, how many people convert, or how much people that convert become potential deals, how those deals become eventual activities for your sales team, how those sales activities become conversations, tasks, projects, contracts, and so on. There is a lot of like flywheel effect to different data that traverse, the flywheel over time. And so we started thinking about this flywheel as a"content to cache" flywheel. And I must give a hi to one of our design partners. We are working with Vin Vashishta for a long time. We also thought about this idea of yeah, we need to have a flywheel"content to cache" that actually makes sense to be able to map all those different tables together to really serve the holistic understanding of key business essentials. And so I guess that our main idea with this API is to really be lean around a few engines, content, marketing, sales, operation, finance, and open data, and be able to operate tables that will aggregate most of the data that a business is working on. So that's the main thing. And then you need to answer questions and distribute those outputs to a chat like interface. Because most of the questions that you have, you want to ask them through a chat. A dashboard, a business dashboard is here, but you need to have other questions. You need to further the process. And I think that the two technologies, the classical BI reporting tools and the chat, are actually two sides of the same coin, which is bringing intelligence, business intelligence to executives so they can take the right decision and basically drive the car in the right direction.
Andreas Welsch:
Now, you also mentioned earlier that it's about a mixture of assistants. Yes. And I know if folks in the audience are familiar with LLMs, there are some ideas on a mixture of experts, right? How does that, how does it relate? Or where's the agentic AI component in this when it comes to these?
Jeremy Ravenel:
Yeah, sure. It's a good question. So the idea of mixture of assistant came up with the observation of the current state of the market. So you have LLMs trained on external data. This external data is basically everything that we see on the internet, and this is called mixture of experts. And that reflects to the current way an expert is. It has a lot of knowledge about the world, the external world, but it doesn't know so much about you. When it's about you and your business, you have an assistant. You have an assistant that knows your business, knows your workflow, knows your data, knows your tools. And that's making sense. In the context of a business, an expert is always someone that is coming from the external world and comes to your business environment to connect with your assistant, essentially, the person that knows best how your company works. So we found out that this MOE, Mixture of Experts and Mixture of Assistants, were probably two sides of the same coin. And then when we started feeling about it, the question was like, how do you actually merge the two? And how do you have the external knowledge of the words merge with your internal knowledge, your workflows, and have this entity? So I often have the image of a ying and yang kind of unity of those two sides. And when those two fuse together, they actually create your business AI system. So that's the mental framework that we started developing. And the agentic part of this is really about now that you have LLMs and business data that is structured as, knowledge, we'll talk about it. I think it's a topic that is. Inherently directed to this kind of infrastructure you want to operate a personal AI assistant that access those different point assistant for content, growth, sales, operation, finance, and open data. And so we crack those six assistants and the idea is like your personal Andreas assistant will call out this layer of ABI mixture of assistant that will be able to communicate and explain to you. The cash flow is going down or is going up because we did less tasks, those tasks, or because we did less contact, less deals, and basically the new ad that we ran didn't work. And so all this link and how to go back to the source of the explanation of the actual cache flow data is really how we want the orchestration and the whole experience of the user to be.
Andreas Welsch:
That brings up several several interesting points. Now for those of you in the audience, if you have a question for Jeremy, please put it in the chat and we'll take a look in a minute or two and pick some of those up. Now I think what you shared is really intriguing. On one hand, having assistance that can tell you more about individual parts of your business. What do you mention around sales, marketing, why are certain things working or not working and then go and get the data and bring it back. The other part you mentioned, I think is also key, especially in, business and enterprises. And that's the part of how do I actually know that the information that I'm getting back from my AI is trustworthy, right? How can I trust it? And so on. So I'm curious there how does your artificial business intelligence framework actually work? And you mentioned the knowledge graph underneath, how does all of that play together in it?
Jeremy Ravenel:
Yeah, so it's really important to state first that LLMs shouldn't be trusted. They get the information and hallucination. And so the whole game is how to ground, to make this like fusion of the LLMs and the knowledge that you have internally. And so the main thing that we did was to create pipelines, essentially, data pipelines, good old data pipelines, ETL pipelines, that you connect to a tool, you extract the data, you structure it, you curate your data. So that's why I think that this whole story about removing the data engineers and the data scientists and everything is just, you need those people, they're bringing the curated data set to you. But the question now is when they bring that data to you, that curated data set by domain with subject matter experts with data engineer, data scientists that can work to bring those big data sets, you need to structure it in a certain way. And structuring it in a certain way means also getting back to the domain, content, marketing, sales, operation. You need to break this down to another level, which is big tables. So you have a content table, an ID table for the content engine. You have a people and organization table for the gross marketing engine, because it's all about people. You have a deal table and an activity table for the sales. And so those big tables, those OBTs, which is a pretty standard OBT, modeling technique, right? That is going to be your foundation and those foundations, those big tables, you need to transform them into a knowledge graph, which is not the same structure, but it's the same data. And you need to structure this knowledge graph in terms of nodes and relationships so that the LLM can understand and retrieve data when it comes back to you in a chat, you can't really feed to LLM the tables as such. You need to use this new structure that is known for a long time. Google, Amazon, Facebook has been using Knowledge Graph for a long time to serve us ads, targeted ads. And so we need to use the same technology to serve ourselves targeted outcomes that will come from our data. And so the real big challenge is to create this schema, this ontology that is going to be the reference point of your human to AI interaction. So that's the big part where there is so much yet to be done, but we have put ourselves constrained into this project. It's an open source project that you can look on our repository where you're going to see that there is different models, different engines. Those different engines break into templates, which are components of a pipeline. Those pipelines create tables, and those tables create knowledge graphs, eventually creating a plugin that is going to be your final interface in the chat. So that's an architecture that is pretty novel and that has to be designed from the ground up without forgetting about the good, old, and the new techniques of data modeling that we've been doing all the way. Cause it's bringing those data curated into the knowledge graph is one thing. So the knowledge graph is probably the new part where data engineers and teams need to adapt to craft those ontologies and knowledge graph. And then you have the distribution aspect, the RAG. So I see really the ETL and RAG and the knowledge graph on top, and you climb the upstream downstream, basically. And so when you do that at the end of the RAG level, it's all about understanding the questions. Because we could take the problem the other way and start with the questions to model the knowledge graph that will model the data. And so those two words can reconcile at some point. But what we see is that the good old data modeling is very useful, but now we need to really think in terms of questions, not so much in terms of report and graphs, but more into like conversation and how I want the experience. of conversation with the AI to be. So it's another level of interaction that you need to craft, that you need another level of experience that you need to craft. And it's completely a data ops topic. I see that there is comments about the data ops. It's totally about data ops and data operation and how to serve in a constrained environment. So that you can run tests. Because once you have the questions, you can run tests. And you can verify that for a certain scenario, you will have a certain output. So if you extrapolate to the other scenario, if nothing changes whatsoever, you can confirm that your test of questions always output the right answer. The right structure, the right number, the right data. So that's the whole way and journey that we are into. It's cracking all the questions, cracking all the pipelines, making sure we have an ontology. So there is many moving parts. But we are lucky to have really amazing design partners to do that.
Andreas Welsch:
That's awesome. And like I said those are all important, meaningful problems to solve.
Jeremy Ravenel:
That's for sure. Yeah. Because if you think about it, it's all about where do we stand right now? We had beginning of internet. We had CMS, content management system, WordPress, websites, all that stuff. Then those brought up leads. So CRM needs to be here to catch the leads, transform them into deals. Those CRMs, now that the deal is closed, I need some enterprise resource planning, some ERP to actually do this stuff. But what does really do the CMS connected to the CRM, connected to the CRP and how those whole agents are going to work together, we don't have any clue right now. So I think there's an, the technologies have been additive, from CMS, CRM, and ERP. And I see this aBI, whatever, mixture of assistant or agentic system, whatever we call them, like those agentic systems come on as an additive technology on top of those three to serve the end user eventually in a natural way, which is, what we all been thinking about the Jarvis Iron Man mindset where you want to be talking to your as a business owner, you want to have an assistant, an AI assistant or something that you can trust that has access to all your knowledge and that you can really challenge and questions to build different simulation, different scenarios to anticipate because the world that is moving so fast right now, long term planning and stuff is not going to cut it. You need to be able to dynamically move and I think those systems are here to do that.
Andreas Welsch:
Now, I heard you mention earlier, if you're a data engineer, maybe if you're in the audience, or if you're listening to the recording, you can sleep easy tonight. Jeremy said you're still needed and very much needed and valued. Don't be afraid, right? There's more work to be done than others might like to admit. Now, on the other hand, if you're a leader, if you're a technology leader and you hear about these new architectures, you hear about certainly large language models, right? You've done your own experiences and experiments with it. You know about Knowledge Graph, the architecture that you mentioned. How can technology leaders get started with all of these different things and things moving so quickly? What's your recommendation?
Jeremy Ravenel:
I think it's all about data modeling. It's all about modeling your business. So thinking really carefully about what makes your business successful today and what are the connections. What part do you take in this flywheel? I think that's the most important and underserved topic. It's how to do like high level data modeling, understanding the whole business, understanding the value creation, how data is used. It's connected to one point and create value at the other point. And that's why we with this framework, that traverse content to cache, we think that we can provide at least a blueprint. And all the topics, everything that we do right now, when we talk to leaders, because those are the primary person that we address our technology to. It's like you need an AI system for your business. Do you have an AI strategy? How does it look like? Do you want to serve your end users? This is a completely different thing, a topic on its own. That is your product and how your product is going to integrate AI, but for your back office operations. How do you handle everything? What is the AI system that will support your core value proposition to your users? So I think that everything around this back office and front office thing needs to be really carefully. Put into two different boxes. You do your front office operation serve as your customer and you have your back office operation to handle everything. And ABI is more something about the back office operation. We're not going to do like front end chatbot in your website. That's not what we think needs to be done. But like my first advice would be having those two things and then understanding the flywheel. Understanding the data models and and yeah, start capturing the relationships between your data and not the data itself.
Andreas Welsch:
That sounds like a real great call to action and especially starting from the data.
Jeremy Ravenel:
Yeah. And understand the relationship between the part of the business. It's like all of the moving parts. It's all about supply chain and how to create value at the end.
Andreas Welsch:
Perfect. Now, we're coming close to the end of the show, and I was wondering if you can summarize the key three takeaways for our audience today.
Jeremy Ravenel:
It's a good one. One, LLM shouldn't be trusted. You need to be part of a bigger ecosystem. And so you need to have the ecosystem that supports those LLM. They are very useful, but they are just bringing you all the wealth of knowledge of the world into a small, tiny model that you can pair and synchronize with your internal knowledge. So the number two is map your internal knowledge and start looking very carefully at Knowledge Graph and how this knowledge of your business, this unique, authentic way of you doing the business needs to be modeled. And the third thing is mostly, I think, know who you serve. Like know who to serve? If you are doing a project, you either do a project for your front office operation, everything that relates to your customers or your back office. And it's two different kinds of things that you need to think of. Maybe some of your back office operation can be monetized at some point and become products. But concentrate on those two aspects one at a time. Do incremental, incremental continuous upgrade. It's a journey. It's not a destination. So you need to start with small pieces that you handle well, and then craft your AI system, bit by bit, workflow by workflow. Very important. Break everything down to your workflows because that's your unique way of doing business. Your workflows are the gold of your business. It's no other businesses operating like you do doing stuff like you do. This is why your customers come to you, and I think that understanding this internal goal that we have and on why we are successful today is something that needs to be captured into a system. And I believe AI and agents and all those like technologies that are going to emerge in the coming years are going to be instrumental into capturing that value so that tomorrow every company can become a technology oriented company. The balance sheet of that company can embed the value of the asset that you create through your AI system and it can eventually grow the pipe for the whole global economy, I think.
Andreas Welsch:
Jeremy, thank you so much for summarizing that and for joining us. Thank you for sharing your expertise with us.
Jeremy Ravenel:
Yeah. Thank you so much for having me. It was a great pleasure. And I'm glad to have had this conversation with you.
Andreas Welsch:
Wonderful. And for you in the audience, thank you so much for joining us.