This is the video episode of our audio podcast conversation: How to Use Retrieval Augmented Generation(RAG) in an Enterprise Setting with 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 is also available as an audio option.
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.
O Moritz, 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? And in the sense the big topic is Chachi BT or the emergence of large language models. And especially with that quality and that achievements of CHPT 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 the 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, OK. 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 us? You've mentioned chat, TPT, the emergence of large language models, the capabilities that are offered between question and answering, what sort of community conversations or or people having in that direction? They are having many questions because of course the moment technology becomes more complex. Their rise? More questions. First one that I always hear is how do we train the the Chacha
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 use the large language model and technical terms and how to ask the question how to prompt the large language model and not on how to train the model on my data
anymore? And with that, I think once this is answers 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? Definitely, 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 on their role, as we've mentioned in shaping the future of AI driven solutions. Now whether you're a tech enthusiast, the 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 Mueller, some more scrutiny PT. What is Squirrel TPT 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 a few shortcomings of course of large language models and I don't want to start as a shortcomings. There are, of course, also huge opportunities. But there are certain shortcomings in the sense of. As you know, there is the challenge of hallucination. 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 and 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 combined
it 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
model. 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 collaged 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 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 results 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 PT in 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 approval
from compliance or 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. See you seem to have outlined 3 key components as what I would classify myself as probably strong benefits or key focuses of what we're offering with Scott GPT. So that was you mentioned, obviously, that is based on your
own data. You mentioned that someone can use their SharePoint, their enterprise and connectors. Is there any other connectors that can be used private, public, premium if there are limitations to the data sources that can be injected? Yeah, that's 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 own website that that these just
scrape. It can be any kind of data source that you have internally or whatever you want to connect can 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. 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, retraining the model on your data when it comes to the use of an element and enterprise setting. So there's definitely the confusion that I mentioned in the beginning that people think about retraining that model and that 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. And as we mentioned before, it's all about how to make sure we find that relevant content that we have inside of our. Or data set to make sure that we can focus on that specific content. Yeah. And the I think this is also where the largest benefit lies in going forward that we can
that we can make sure that we focus the information very specifically on what is relevant for, 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 or sorry that you see here on the screen and then get the answer back. Now this curve, we have a whole number of steps in between that we run, that we conduct first before we interact with the large language model. Yeah. So let's look at a tempo. I mean, I think that what people, sort of our listeners will be interested in understanding is how can Squirrel GPT be applied in a real use case in the enterprise? That's a very good question.
So maybe you can also cover as well Moritz. 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 and access control listings. These are imperative for organisations, especially in the selection of an emerging technology and the use of elements in an enterprise. Maybe you can also mention you know what's required to use GPT in a corporate IT environment.
Very good question. And all of these questions are exactly the ones that our 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 hosted 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 via for instance Azure Private Cloud. Microsoft offers you the 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 on boarded 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. 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 screw GPT. And if you go to start.school.com you can actually set this up yourself.
You can register as a free user and try this out. I could just upload some files now since the processing the selection as we highlighted before a selection of any documentation that you may have. And yes, so you see here you can go to the the Square GPD documentation. That's all explained there. If if I open this up in in a new tab in a second you will see 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 in uploading some files for upload, some very intuitive to say. Some zip files, PDFs, 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, we had the SG use case, that's why this is called EG demo. About Singapore Airlines. I can ask, does Singapore Airlines already use USAF? SF 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 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 within seconds Chachi PT 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 Airlines 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 and
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? You're a perfect fit, yeah. Perfect evidence where it comes from. We can say here Board Safety and Risk 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, absolutely. And what is this, 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 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 it 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 of where 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 in terms 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 in a question it the search engine searches for all the documents and everything it finds is valid then validated against the 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
answered is then based. And I think that given that it is a key consideration and you've highlighted the use of 0 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 call centre service agents, those that need to interact with a lot of information and knowledge retrieval, information retrieval. We've got automation that could follow, and not only information retrieval and but maybe the automated implementation of following up with someone answering an e-mail, having the option to answer an e-mail. And we've got chat on top of frequently asked questions, support manuals, standard operation procedures to name a
few, as well as something that I'm personally interested in education and training. And you can use it on technical documentation. So on our own documentation site, we do have school GPT 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 them. Square root GPT Before we end
the session, 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. 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 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 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 journey and this group 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 get a few more once people see what we do. I'm sure we will and it's 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 and together with potentials who are very much interested in the application of this. So thank you, Moritz, for being with us today on redefining the eye. Thank you.
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...