In this Episode, Dr. Moritz Müller - How to Use Retrieval Augmented Generation (RAG) in an Enterprise Setting - Lauren Hawker Zafer is joined by Dr. Moritz Müller
Who is Dr. Moritz Müller?
Dr. Moritz Müller currently focuses on delivering successful digital transformation projects to corporate clients in financial services, manufacturing, the public sectors for Squirro in APAC.
With a PhD in Geophysics and extensive work experience in oil & gas exploration, as well as IT project implementation exposure, he has a strong technical background to support the use of emerging technologies in enterprise settings.
What is Retrieval Augmented Generation (RAG)?
Retrieval-augmented generation refers to a combination of two powerful natural language processing techniques: retrieval-based models and generative models. The approach is gaining significance and increasing attention for several reasons:
Improved Content Generation: retrieval-augmented generation allows generative models to access and integrate information from a broader context. By retrieving relevant information from a database or the internet, generative models can produce more accurate, coherent, and contextually relevant content.
Better Understanding and Contextualization: retrieval helps generative models understand the context and topic more comprehensively. It enables the model to draw upon a wide range of knowledge sources, which is particularly important when dealing with complex or specialized topics.
Enhanced Abstraction and Creativity: by combining retrieval and generation, AI models can exhibit both the creativity of generative models and the grounded information retrieval capabilities. This leads to more creative content generation while maintaining accuracy.
This episode will also be available as a video episode and can be accessed both as a video and audio file.
Join Dr. Moritz Müller and our host Lauren Hawker Zafer to discover what RAG is and how it can be used in an enterprise setting.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
So what else? You've been in the technology space for many years now. Have you seen a shift in the adoption of artificial intelligence in the enterprise recently? Of course, in the sense the big topic is Chechi BT or the emergence of large language models, and especially with the quality and the achievements of Chechi BT or the GPT 4 lately, it is fantastic to see what
technology nowadays. Can do. And because we can see and understand much more easily what is the potential by using it and just asking a question and getting an answer. This helps tremendously in organisations to adopt such technologies. Of course, there's some technical hurdles, but at least in terms of management and support, I think there is a much bigger drive at the moment than there was in the past. And would you see that that drive is certainly, I mean you mentioned that there are some possible technical hurdles, but
do you feel that there is a sense of optimism in the air around as you've mentioned GPT, the emergence of large language models, the capabilities that are offered between question and answer and what sort of conversations are, are people having in that direction? They are having many questions because of course the moment technology becomes more complex they're rise more questions. First one that I always hear is how do we train the the Chachi PT or the large language model on our own data And I think Even so that there might be some
training or conditioning possible in the future. I think right now the right question to ask is how do I use it in the context of my data? And and that mentality shift is one that we are trying to explain why is that conversation now shifted on how to reduce the large language model and and technical terms and how to ask the question how to prompt the large language model and not on how to train the model of my data. And and with that, I think once this is answered and understood how it works, you can open a lot
of doors because the adoption of the technology on a very specific data set is, is nowadays much easier than it has ever been before. And I think we're going to definitely look into the intrinsics of how it works, as well as how enterprises and clients can use it on their own data. So welcome back to redefining AI. In this episode, we're going to embark on an exciting journey to demystify the transformative power of cutting edge technologies.
Now from natural language understanding and generation to content creation, automation and problem solving will unravel the potential of generative retrain Transformers and large language models shedding a lot of light their role, as we've mentioned, in shaping the future of AI driven solutions. Now whether you're a tech enthusiast, a business leader, or you're simply curious about the limitless possibilities of the application or the adoption of artificial intelligence in an
enterprise, you're in for an enlightening episode of Squirrel GPT and its real world use cases. So let's dive in and explore this together with our guest who, we've started talking to Doctor Moritz Miller. So Moritz GPT? What is Squirrel GPT then? School GPT is combining the large language model with our search engine or insights engine technology and to understand why
this is so critical we need to look at a few components. As you know, there are few shortcomings of course of large language models and I don't want to start as a shortcomings. There of course also huge opportunities, but there are certain shortcomings in the sense of as you know, there is a. The challenge of policing Nation, all generative AI models will have that challenge. And there is the challenge that a lot of the large language models are trained on publicly available data. So how do you make that specific to your data? And there is the challenge on how do you do that in a secure way, How do you make sure that your data, and that is one of
the main concerns of the people we speak to, is not being leaked out to the open world or used for retraining. And for all of those things we have an answer excellent. So maybe you can enlighten us and share those answers with us. How does it maybe work? I think that would be a good place to start and then we can focus on how it's. Securely implemented maybe. Let's just quickly look at this and and what it does here in this illustration. If you look at the large language model as such, the large language model has the power to answer question.
It is basically showing capabilities of question answering. However, the knowledge or the answers that are given are based on the knowledge that the large language model has been trained on now. In our approach we combine that with our search engine so we can use our search engine to load company specific data. You can simply connect for instance your SharePoint or your knowledge bases with that. And then we use our information retrieval system to retrieve the right document or information that contains the answer to your question.
And once we have found that relevant document with inside of your data, you're basically then passing on that knowledge or that that information together with the question to the large language. And we asked the model, hey large language model. This is my question. This is the data that we have found that should contain the answer. Please give me an answer based on this data. And this approach is called Retrieval Augmented Large Language models or we also call it Retrieval Augmented generation. And for me this is the innovation behind this. So we combine the search engine, this degenerative eye component
of the large language and you seem to be emphasising that. So it's really the combination of the search engine and the generative capabilities that are installed and encouraged by the the large language model. Is that correct? That's correct. So the first thing that we do is we go in and we search with the question that you ask. We use the semantic search approach or other kind of techniques to say give me an answer, go show me all the relevant documents that contain information about this question.
That's the first step that we do. Then we validate is there actually information about the question in there. And then we go to the large language model and say now give me a generate me an answer to the question that I had based on these kind of content. And the search piece is essential because it allows us to guarantee that we are sticking to access control. So we can do the whole entitlement handling because we use the search, we can check, OHH, this employee is not allowed to see this document. So if he or she asked that question, we need to make sure that we don't use this
information to answer the question. That's the fundamental benefit. Another fundamental benefit is that we can. Open us up the result so we can show you where is this information coming from. And of course we can do it in an enterprise setup that is very often the worry of using ChatGPT and the Open AI API. The moment we do this in a private cloud we use these so-called Azure Open AI API. We can do it in a secure way because the hardware that the large language model is hosted on is very same where you have your SharePoint online, you run
your Microsoft Teams. So the moment you have understood that you get the approval from compliance? Big organisations you can use this API because Microsoft gives you the guarantee that your data that is being interacted with this. The large language model is not used for retraining of the large language model. So that covers us in terms of enterprise security. OK. So you seem to have outlined 3 key components. This what I would classify myself as probably strong benefits or key focuses of what we're offering with school GPT. So that was you mentioned
obviously that is based on your own data. You mentioned that someone can use their SharePoint, their enterprise connectors. Is there any other connectors that can be used private, Public, Premium? The third limitation as to the data sources that can be injected? Yeah that is a very good question. Technically there is no limitation. So we can connect anything for which we have an API to connect to and that can be a a confluence that can be your your own website that these just scrape. It can be any kind of data
source that you have internally or whatever you want to connect. And generally be connected. And the advantage there is also because we don't retrain the model on your specific data, it allows us to also withdraw all documents so that the answer doesn't come from outdated information anymore. And the moment you update a new document or you load a new document in your SharePoint, it will be within seconds reflected in our search engine. So within seconds new content will be used to answer your questions. And that's the fundamental advantage of our retrieval
augmented generation approach, definitely. Do you think that there's any misconceptions around, or or maybe misunderstandings, ignorance, ambiguity around the whole be training the model on your data when it comes to the use of an LLM in an enterprise setting? So there's definitely the confusion that I mentioned in the beginning that people think about retraining that model and retraining the model. We we need to, we need to put this aside for now. It is much more. How do we make sure we feed the right data to the large language
model in the context of the question? As we mentioned before, it's all about how to make sure we find that relevant content that we have inside of our data set to make sure that we can focus on that specific content. And I think this is also where the largest benefit lies in going forward that we can make sure that we focus the information very specifically on what is relevant for the respective context that we are looking at. So the moment we achieve that, we are going to be able to have a a huge benefit of answering the.
The content in the in the right way. Excellent. And I see I just illustrated this here, maybe quickly again to show this to you. So if you go out there to chat with openai.com, you would basically ask as a user the question directly to the large language model that you see on the screen and then get the answer back. Now with curl, we have a whole number of steps in between that we run, that we conduct first before we interact with the large language model. I don't want to go into detail here, but this probably summarises very much the layer in between that we put there to
make sure this is answered. Specifically on your enterprise data or whatever content you focus exactly, yeah, it's it's definitely a very good illustration that will. Help us all understand, yeah? To to really look at a demo of of what does this look like. So I mean, I think that what listeners will be interested in understanding how can Squirrel GPT be applied in a real use case in the enterprise?
Maybe you can also cover as well markets you know, how can you apply LLM's to use cases in general? What are the deployment options? As well as, again, you've touched upon it earlier, I mean security in terms of data privacy, access control listings, These are imperative for organisations, especially in the selection of an emerging technology and the use of LMS in an enterprise. Maybe you can also mention you know what's required to use square GPT in a corporate IT environment. Very good question and all of these.
Questions that are exactly the ones that are potential clients or current clients or future clients have at the moment that I speak to. So the first thing to explain here is that a search engine like Squirrel can be deployed in on premise or private cloud setup. So that is something that we have been doing in the past. We run our software on a private cloud or on your premise if that is what you want to do. So that data is definitely safe and secure. Now, in order to use the large language model, and that's where the challenge starts, you need to make sure you have a large language.
Model available that you can access ideally via an API. I always get the question can we not host at large language model on our own cloud? No right now that's not possible. So the solution to that is to use a so-called private cloud setup and via for instance Azure private cloud. Microsoft offers you the CHPT API private cloud setup. And then for me the question on moving this forward is in an organisation is to get IT and compliance approval to be allowed to use this API. So our banking. Clients here in Singapore, they
have onboarded this API, so that already shows that this is possible. Now it's purely a matter of which internal applications such as Squirrel can leverage that API internally and provide the benefits that we are about to look at. Excellent. But now let me show you a demo so it's very easy and scroll to just upload data. So I could just upload here new data to my sclera GPT. And if you go to start.score.com you can actually set this up yourself. You can register as a free user and try this.
I could just upload some files now since the processing and the selection as we we highlighted before a selection of any documentation that you may have. Yes, so you see here you can go to the Discord GPD documentation. It's all explained there. If if I open this up in a new tab in a second you will see it's all explained how it works. Otherwise you can you can approach us. There are also some videos on on how it works. You have the data connectors in there for self trial and this is very much an uploading some files to upload some the
intuitive design. Some zip files, PDF, you name it. So I've I've done this here and and we paired that with our enterprise search solution. You see here I have an annual report from Singapore Airlines for instance. Some other documents I have also uploaded I think somewhere a sustainability report here for Singapore Airlines. And now once I've done this, I can start asking questions about this and that is really powerful. So I can just go to the chat functionality which comes up now and I can ask questions on this. I can ask for instance. That must use case.
That's why this is called the ESG demo about Singapore Airlines. I can ask, does Singapore Airlines already use SFSF sustainable aviation fuel And what it does now, it retrieves all the relevant documents and it gives you an answer. You see, yes. Singapore Airline already uses sustainable aviation fuels. And then we point you back to the respective sustainability report to the pages that cover this kind of topic that I could now open. You can also go in and ask more complex questions and and and I think this is really where the power of this lies. You can ask questions that you
need to answer in ESG compliance. So I I just copy paste this over because it takes a while to to type. Does Singapore Airlines have board level oversight and clear roles and responsibilities for the identification and management of environmental and social matters including climate relatedness And that is a typical question that needs to be answered for ESG report and you see it within seconds ChatGPT found with the SCORE search engine the right document to answer that question and gives you a very very clear answer. It's just. Amazing what it does here. Yes, Singapore Air Level Lines has board level oversight and
clear roles and so on and so forth, listing you everything that is covered and even pointing you back to the sources. So I can point back now here and go to the sustainability report that is used. It shows me look at page 53. That document was used to answer that question. And when this comes up now it's a big PDF. So take me a moment to open this up. You see here perfect fit, perfect evidence. Where it comes from. We can say here board safety and this committee. All the functional functions that the the board of Singapore Airlines has, we tell you exactly where it comes from.
Yeah. So again, here we're highlighting the capabilities of evidence based answering correct. Absolutely. What is this enhancing? Is it enhancing the accuracy rate of the question and answering capabilities? Is it enhancing the knowledge retrieval capabilities? I mean, what can a potential customer or client understand with the augmentation of the evidence that's provided here? I think it does a few things here. So first of all, because we used Secure search engine, we can
focus the content on the content that you want to use as the knowledge base or the base to answer the the question. So we can upload here. For instance, I've uploaded here in any report or sustainability report for Singapore Airlines. You can also amend that with your internal documents. Organisations have their internal reports that are not publicly available and by using this information you get a much better answer. Because there's a lot of research and knowledge in organisations that is now used to answer the question. So in that sense it's augmented,
you find the internal information faster. And on the 2nd aspect, because we can always point you back to the respective page that was used to answer the question, you're also covered in terms of a compliance perspective. If you just use the large language model and you ask it a question, it will not be able to give you an answer. Or it might be able to give you an answer. It might not be able to tell you where the information comes from. So for instance, if I was to ask that question to the large language model without the the evidence based, it might say yes, Singapore Airlines has
that, but you have no way of being compliant by proving. Here are the respective sources that are the foundation of my answer and that is very very often relevant in processes and organisations. The compliance scheme exactly. So how would this work? Confirms of entitlement handling. Yeah, if you add the entitlement handling question that is very easy because it's then set up a single sign on with your Active Directory for Microsoft and we are. For instance, if you have data in SharePoint we are automatically honouring
entitlements from SharePoint so we know who is logging in. You see here this is my user that is logged in and when I asked him a question it the search engine searches for all the documents and everything it finds is validated against their respective access control layer. So if I am not allowed to see the document. The document is not used to answer the question, but all the other documents that are available to me that I'm allowed to see are being used as answers to your questions. So this is the content that you answer this time based on and I think that given that it is a
key consideration and you've highlighted the use Oscuro GPT in this particular ESG scenario, I believe that it's very relatable and easy to identify other opportunities that that clients can use squirrel GPT for. I mean some of the ones that that come to mind immediately are a call centre service agents those that need to interact with a lot of information knowledge retrieval, information retrieval. We've got automation that could
follow not only information retrieval, but maybe the automated implementation of following up with someone, answering an e-mail, having the option to answer an e-mail. We've got chat on top of frequently asked questions, support manual standard operation procedures to name a few, as well as something that I'm personally interested in education and training. You can use it on technical documentation. So on our own documentation site, we do have school TPT integrated. It makes the whole of your website convertible in the sense
that you can interact with the information provided and listed on your website. And so I think there's definitely a plethora of opportunities that can be explored with Squirrel GPT before we end the session and which has been extremely informative from many angles. Is there anything else that you'd you'd like to share with us? I think you summarised it very much on on point that the one thing for me that I'm currently looking at is of course the use cases and. And one of those use cases that I have in mind is question answering in the next level that for instance what you see here
you can have a list of predefined questions and then you use these predefined questions to automate answers and in terms of reporting, so you can use this. This is now a screenshot that I show here. But you can basically select which company or data for which company you want to run this list of questions on. And then you just run this through. You just redefine your reporting questions that you have and you automate that. You say, look answer me all of those questions with the help of the large language model for all the 10 companies that I need to monitor. And then you can take that output, you can regenerate the
report from that. You're just at the beginning of that whole phase. So the the number of applications is really huge. So it's purely now for me a matter of how can we use it and what can we make out of it. And we are just at the beginning of the journey. So I think we we have just opened the first chapter at the very beginning of the whole large language model, the journey and this crew we are right in it and and that is the exciting part for me that every day we get very exciting questions. I hope we we get a few more once people see what we do. There is a very exciting journey
and I do agree and 2nd that we're at the beginning of this journey and the opportunities that lie ahead of us are are ones that we certainly want to explore together with potentials who are very much interested in the application of this. So thank you, Moritz, for being with us today on redefining AI. Thank you. Pleasure. And I'd like to thank everyone else who's been with us throughout this conversation today. If you'd like to learn more about Squirrel, then go to
Episode Six: Why Do You Exist? Dr. Henna A. Karna on AI, Brain Health and Fixing Mental Health Care Why do you exist? It sounds like a question for a philosophy seminar. Dr. Henna Karna argues it’s the most urgent...
When an autonomous drone picks its own target and kills civilians, who’s responsible? The commander, the developer, or the state? Cybersecurity veteran Matthew Rosenquist (36+ years, advisor to governments and...
Six words, banned for thirty minutes: transformation, journey, reimagine, unlock, leverage, AI-native. Dave Wright (Chief Innovation Officer, ServiceNow) and Brian Solis (Head of Global Innovation, ServiceNow, and 10x...
Six words, banned for thirty minutes: transformation, journey, reimagine, unlock, leverage, AI-native. Dave Wright (Chief Innovation Officer, ServiceNow) and Brian Solis (Head of Global Innovation, ServiceNow, and 10x...
Most of the voices we hear on AI sit in one chair. Louisa Loran sits in several at once: operator, author, board director, and trusted advisor to Fortune 500 boards navigating once-in-a-generation change. In episode...