#187 The Power of Vector Databases and Semantic Search with Elan Dekel, VP of Product at Pinecone

Elan Dekel, VP of Product at Pinecone, explains how vector databases fix a core problem with AI: LLMs hallucinate when asked about information outside their training data. Vector databases enable retrieval-augmented generation to ground answers in real data. About 90% of unstructured data is currently inaccessible, and vector databases will unlock it across every industry.
Chapters
What companies like Pinecone and the foundation model, companies like OpenAI are doing are the sort of big building blocks that enable innovation. They enable using machine learning in the real world and in conjunction with huge data sets of existing knowledge or, you know, new information, new knowledge like, you know, applying it to, you know, video streams or audio or whatever. So what we're doing is putting in place the infrastructure, and putting in place infrastructure is hard, requires, you know, specialized skill sets. But taking these building blocks and building very powerful and very useful applications for end users is a very different thing. And I think there's huge opportunity for that.
Hi, Alan, great to have you on the show.
Hey, nice to meet you and thanks for having me.
I'd like to start with a problem, actually. So one of the big criticisms of large language models is that they sometimes make things up or hallucinate. So when might you need to worry about this problem?
So one way to think about it is that a large language model is a combination of a reasoning engine like a brain and a bunch of data, a bunch of knowledge that it was trained on and is sort of stored in the model. And the problem runs into. You run into problems when you try and ask it a question that was not in the data that it was trained on. And in that case it's not going to tell you, hey, I don't know the answer because the model was trained, the weights are set, it's perfectly happy to answer the question, and it'll perfectly confidently generate an answer. And that's what we call hallucinations, because these answers are generally totally made up. They sound very realistic and it says the answer very confidently. So it looks true, but in many cases it's totally made up. Okay.
And vector databases like Pinecone have been touted as one of the solutions to this problem of hallucinations. So can you tell me what a vector database is and how it's different from a standard SQL database?
So a vector database is a database that's designed to work with vector embeddings. Vector embeddings are basically think of it as a long list of numbers. That's a vector. And these numbers are generated typically by machine learning models. And these numbers represent the semantic meaning of whatever that object is that you fed into the model. So, so it could be a bit of text, and the model will convert that to a vector. A different model might take an image or a video frame and do the same thing. So basically you end up with a whole bunch of these vectors and you need a way to search over them. And a typical database, regular SQL database, is not designed to do that. So that's where vector databases come in.
Okay, so once you've converted all the text or whatever into numbers, then it's just, it's something that machine learning can deal with or it's just math to work with it, rather than having to deal with text, I suppose. Okay, so can you talk me through what the most common use cases of vector databases are?
Yeah, there's many vector databases are. You can think of it as the. In this new machine learning era, essentially all information at some point is going to be represented as these vectors, because that's how you apply machine learning to data. And if in the past you had databases with lots of tables with text and things like that in them, in the future databases will all have vectors, not necessarily replacing the regular SQL databases, but in many cases working alongside it. But for many use cases that existing databases simply aren't designed for, vector databases will be used by themselves.
Okay. And the particular business applications that are particularly popular at the moment.
So yeah, again, there's many. So obviously in the last year since ChatGPT was launched, many people, as you mentioned, are using it for what's called retrieval, augmented generation, which is where you augment the knowledge in the large language model with knowledge that's retrieved from the vector database. So that's a very popular one. People are using vector databases to create things like chatbots that know how to answer questions based on proprietary data sets, the company's support information, or internal knowledge that only exists within a company, for example, that ChatGPT or other models didn't have access to when they were being trained. Image recognition is another one. Image search, recommendation systems, tons and tons of things. So you can think of vector databases as essentially a very. It's going to be a low level primitive that essentially every application in this sort of machine learning age will be using in the near future.
These all seem like incredibly important use cases. So things like chatbots is something more or less every company needs. I'd like to go into a bit more detail on some of these use cases. So maybe we'll start with the simplest thing that you mentioned, which is search. Now we've had search capabilities for documents and websites and the whole Internet for decades. So how is semantic search different?
Yeah, it's a great question. So search engines started by essentially searching over text strings. So you type in say a few characters like Peter, and then it'll search through all the text in its database to find that exact sequence. Of strings. That was sort of the initial type of search. Obviously it's problematic. Say you've misspelled the name or say you're talking about a concept, say you're talking about a dog, and the article that you're searching over refers to canine or something like that. It won't find any of that. So that's where we come into something called semantic search, which is where the search engine knows the meaning of what you're searching for and it knows how to do things like, you know, handle misspellings and things like that. So those are much more sophisticated search engines. And companies like Google spent thousands and thousands of programmer years essentially making a, making their search engine be aware of the semantic information in the document to make a high quality search. So the great thing about using vector embeddings and using large language models for search is that you essentially can get to the quality, almost to the quality of Google search just by using a model and feeding the text through it. Using vector embeddings and doing vector search, you don't need thousands and thousands of programmer years of work to build your own search engine.
Yeah, it certainly seems incredibly time consuming trying to work out which words are synonymous or nearly synonymous with other words and just have that done for you automatically has got to be a huge productivity boost.
Exactly. And it's very, very complex. And again, like companies like Google and Microsoft have thousands of engineers like making that work really well. And in a sense you can think of these large language models as sort of, you know, in one fell swoop allowing people to essentially reproduce that level of quality, if not better in many cases.
That's pretty fantastic. And you also mentioned image search before, so that seems like a very cool idea, but I'm not quite sure when you would use it. What are the sort of business applications of image search?
Yeah, good question. So there's different types of use cases. There's, there's two kinds. Image search is a, we call it a classification problem. So we have classification and we have extreme classification. So classification would be like, hey, this thing here is a hamburger. This, this is a picture of, you know, whatever. Say when you're building a, a website where you could search over food or things like that and people are uploading pictures of their dinner so you can sort of figure out what that dish is. Extreme classification, on the other hand, is where you're actually trying to find an individual. So for example, if it's people, you can do like face recognition. So if you have like millions of faces in your database, and you're building a, say, a system to verify your identity or some sort of security system, and you take a picture of yourself that it can actually find an exact match of that face. Classification would say, hey, this is a face, or this is a person. Extreme classification would say, oh, this is Peter, this is Elon, this is John. So both of those can be supported by these techniques and by vector databases. And again, many, many different use cases.
Yeah, I can certainly see how there's different levels of difficulty there. So just saying is this a person in the video? Is much easier than is this elan in the video?
Exactly. So, for example, like, people have used Pinecone for security systems for, like, if you think of a company that has security cameras and they have thousands of cameras with feeds of video, and you want to find anomalies, like situations that are unexpected, like, ooh, a person is now going through that doorway in my data center, which people don't usually go through. Like, I'd like to get an alert. So that's the kind of thing that you could build using a vector database.
So we talked about text and we talked about images. Are there other different types of data that you can also include in your vector database?
Yeah, totally. I mean, again, anything that you can represent as a. As a vector embedding is fair game. One example, there are Systems like at YouTube and other companies that deal with copyrighted content. So where you upload a video, say somebody's taking a video that they shot at home, These systems know how to detect the background music and detect whether it matches a piece of copyrighted music from a library of copyrighted songs, and then it can decide what to do with it. So that's an example of representing the music as a vector and then matching it with the database of vectors representing different types of music.
Okay, so it seems like more or less any data type you can have there. So audio seems to be an important thing as well.
Exactly.
Now, you mentioned a technique called retrieval augmented generation before. Can you just tell me a little bit more about what that involves when you.
When you query or when you work with a large language model to build something like a chatbot, you typically generate your query by creating, creating, providing it with some context about your question. So you can say, you know, what's an example? Like, how do I use pinecone? How do I upset data into pinecone? So one way of doing it is to just go to ChatGPT and entering that as a query. And ChatGPT may or may not give you the Right answer. It may provide a hallucinated answer that it just made up. So what you do is to get rid of this hallucination, you use something called retrieval augmented generation, which means you use the generative capabilities of the model, but you augment it with information that you get via retrieval. So retrieval is the process of querying some kind of information retrieval system. In this case it would be a vector database. So you would query a database. Say we had a database full of pine cones, support, support information. We'd say, how do I upset data into pinecone? We would, we create pinecones vector database and we'd find the appropriate support documents, we'd retrieve the text from them and then we would generate context for the query. So you have that same query that you're asking ChatGPT, how do I upload data into pinecone? But then you add to it, please use the information that follows. And then you paste in the text that we've retrieved via querying the vector database. So you basically have your query and then you have the context which follows it. And this whole package you upload into ChatGPT or your large language model of choice, and it will know how to understand the content and the context and the query and provide a really well written response that is now accurate because it's based on the knowledge that you've just fed it. So this whole process is called retrieval augmented generation.
Okay, so just to make sure I've understood this, it sounds like the case you were talking about before with search is just going to directly return entries that are in your vector database. And in this case with retrieval augmented generation, it's then combining those results with some kind of prompts to a large language model to have a more natural language interface to get results.
So the model will be able to understand the text that you've given, understands your question and it finds the knowledge from the context you provided and then it constructs a reasoned, well reasoned response. So in many cases the response you give it could be like two or three pages of text which may include random gibberish. So it actually goes through and finds the precise piece of information and then reformats it, reformulates it into a response and then provides the response. It's quite remarkable that it works, but it works very, very well.
It's such an incredible technique and it sounds like this is leading towards being able to build better chatbots. So can you maybe talk me through how retrieval augmented generation work? Works with chatbots?
So many chatbots today, like I think some of the first use cases have been customer support. So it's helpful because instead of waiting for a support person, you can get an instant answer from the chatbot. And in many cases, companies are also hesitant to let customers talk directly to a person because it's expensive, increases their support costs, et cetera, et cetera. With a high quality retrieval, augmented generation based chatbot, you can actually provide instant and very high quality responses for many cases. Many companies are finding that it works quite well and customers are quite happy and through reducing their costs and things like that. There's many other use cases for this by the way, like LLMs are amazing at reviewing legal documents and things like that. So there's many use cases that companies are using this for.
I'd love to hear more about those in particular. Have you heard any success stories from companies using this technique?
Yeah, there's many. I can't talk about all of them. I don't have approval to mention every them to mention many of our customers. But for example, Notion is, is a customer that uses Pinecone for allowing people to ask questions about all the material that they've uploaded uploaded into your Notion workspace. So for example, here at Pinecone we use Notion for all our internal documentation, including our benefits information and healthcare and as well as just general internal corporate documentation. So you can go there and you can say, hey, when are the corporate holidays for Pinecone? And it'll find the appropriate page, pull out the information and respond, you know, like ChatGPT does. So it's super, super useful.
That's incredibly important. I'm always amazed at how hard it is to find information about what's going on in your own company sometimes. So solving that would be an amazing win for a lot of places. Are there any other particular use cases you mentioned the legal case. I'd love to hear a bit more about that, what happens there?
So actually legal and sort of business use cases in general, people are finding that using vector databases for the semantic search and then using the reasoning strengths of a large language model are, you know, very, very powerful combination. So we're seeing some of our biggest customers are from the legal tech space. And for example, when you have a case, you have thousands of pages of documentation that, that you have to wade through and find the, you know, the exact right, you know, paragraph that's relevant to your, to your case. So you know, they're using it for things like that. So you can essentially ask questions about all the documentation that's, that's been provided and it's, I'M not a lawyer, but apparently it's, it works quite well for this use case.
Okay, so we've established that for a lot of these generative AI use cases, you need a large language model and a vector database. Is there anything else in the tech stack?
So clearly there's many pieces, but an important piece is getting this information from the raw data, which could be a bunch of PDF files, or it could be web pages, or, you know, could even be in an existing database. The getting that data into the vector database to be used in this way can be, can be, you know, a bit of work. So different solutions have sprung up, frameworks of different kinds are available, open source and non open source. But the problem is basically the same. You have a bunch of documentation, you need to extract the text from it. You then have to go through a process called chunking. The chunking is basically have a whole bunch of text, document might be 100 pages long, and typically one vector can represent, again, depending on the model that you use, can represent a certain amount of text in a way that you can retrieve from it. Well, so for example, for this legal documentation, you typically want to chunk it up in terms of a number of paragraphs, maybe a thousand words, plus or minus, something like that, and then create a vector that represents that amount of text. So a large document could have several tens or hundreds of vectors that represent parts of that document. So anyway, so there's a process of extracting all that text, chunking it up, creating the vector embeddings. Creating the embeddings. By the way, we should discuss for a second. You have to use something called an embedding model. So it's similar to a large language model, but a bit different because it's trained to output the embedding, which is again the stream of numbers instead of responding in natural language. So it takes this input chunk of text, outputs the vector, and then you store those vectors in the database. And once you've done all of this, then you have your index and you're ready to go. The next step above that is to build an application that knows how to connect the vector database with the large language model. So it's essentially, it does some orchestration where it gets a query from the user, it analyzes the query, and potentially even uses a large language model to break up the query and say you've asked a relatively complex question. It might decide to subdivide that question into several sub questions and then for each subquestion, it'll then query the vector database, get the responses and then construct this context which it then feeds into the model for the response at a very, very high level. That's how this retrieval augmented generation framework looks like.
Okay, so it sounds like it can get quite sophisticated and maybe a little bit fiddly in places. And certainly that's my experience of sort of playing around trying to use these technologies, is that once you start trying to split your documents up into chunks, you're not quite sure how big the chunk should be. And then it can get, I don't want to say tedious, but it can be quite difficult to get the right answer. I'm just wondering, are there any ways of, or there any technologies to help make it easier to build chatbots using these technologies?
Totally. And in fact, when we first tried to do it internally, we found that it was quite challenging to get a high quality answer. So it turns out that you need to figure out exactly the right size of chunks. You have to understand exactly how to generate the query and the prompts. And yeah, there's a bunch of, you know, fiddly aspects, as you said. So what we did here is we also built an eval system which allows us to evaluate the quality of the results and try it out with different types of data and that would allow us to tune these different parameters. So that's what we built. And we actually released an open source package that does this. It's called Canopy, it's available on GitHub and that provides some tooling which makes all of this a lot simpler. And of course, there's many companies that have built solutions for this, some paid solutions, and other open source frameworks like Llama Index and LangChain that are again, open source and quite powerful. So. So there's a lot of excitement, a lot of innovation happening in this space right now.
It does seem like that's going to make it a lot easier to build these things quickly and just get much more reliable systems. And this idea of tuning parameters, it reminds me of the concept from machine learning called hyperparameter tuning, where you don't have to worry about setting some of the, well, the hyper parameters. You just get it to run automatically, try a few different values, and it's automatically going to pick the best ones. So that's excellent. Okay, so the other tricky thing when you're building with this is cost. So already I've been speaking to a few chief data officers and it's come from like last year, where everyone's excited to build prototypes and now they're like, well, actually, you know, Once you put things in production, it's just eye wateringly expensive. So I guess at what point should organizations start worrying about the cost of generative AI?
There's probably different aspects to cost here. One is based on simply the size of the data set you're working with. Like do you have a, you know, really huge data set with hundreds of millions or billions of documents that then get converted into, you know, hundreds of millions or billions or tens of billions of vectors. So that can get expensive to generate the vectors and then post them in a vector database and query them. So that's one element, the other element is. And by the way, generating the embeddings can also be expensive because you're paying OpenAI or some other company typically to generate the embeddings for you. So again, depending on the size of your data set, there's one set of costs. And then on the query side, if you have a use case that's a high qps, basically you have millions of people that are querying your system constantly. So then you have to stand up a system that can support high TPS and you're also paying for the inference side using ChatGPT to generate the generate the responses and paying an embedding model to generate the query and all of that. So there's again, costs are either based on performance, your performance needs, number of queries per second and on the size of your data set. So there's two aspects at a high level.
Okay, so it sounds like there's a lot of different areas where you're going to be paying for things in this case. So do you have any advice for organizations who want to reduce the cost of with gen AI?
So there's different techniques here. So on the large amount of data side, Pinecone has made a. We've launched a new system called Pinecone Serverless which is designed specifically for companies that have very, very large data sets. And we can store it, store the vectors in a using object storage using like blob storage like Amazon S3, which make it very, very cheap to store the data set. And if like most organizations, their workload pattern is such that they have a large data set, but relatively small compute requirements like relatively low qps. So essentially what we've done with Pinecone Serverless is separated storage from compute. You can essentially buy the amount of storage you need and we're providing very, very low cost storage and then you get the amount of compute that you need specifically for your use case. So we found that most organizations that have that workload pattern of large data small QPS will find huge up to 50x reduction in cost compared to existing vector databases. Some customers have a very high performance use case like you're building a recommendation system, you may have a very, very small data set, you know, hundreds of thousands or maybe small number of millions of items of vectors, but they have a very, very high tps. So that requires a different solution which we have in our existing POD base platform. The other way you can reduce costs is by looking at which model you're using both for the embedding and both for the, for the, for the large language model to essentially answer your questions. So we found that there are open source models that are very high performance in terms of quality and can be much cheaper to run than calling OpenAI, for example. And in fact we found that the combination of a slightly lower quality model using retrieval augmented generation can provide a very high quality result. So that's another interesting way that people can, can reduce costs if needed.
Okay, so your first point about some customers having very low compute requirements compared to the document size. I can certainly see how something like trying to search a corporate Internet might be like that. So it's got lots and lots of documents but you know, people are trying to search for all the time. Whereas a recommendation engine where everyone's trying to like find out which products should I buy, that's going to have a much higher commute requirements. Okay, so the other point you made was about using open source models. Now I've had a look on like the hugging face platform and then it's got hundreds and hundreds of different models. So are there any open source models that you think are particularly popular with your customers?
I think the Llama models are people, people use the docket models, they actually publish a. There's a table where you can see the kind of like a leaderboard of the newest models and their quality rankings. So honestly that's what I would look at.
Okay.
Instead of just naming some off the top of my head.
All right, I'm sure, yeah, every quarter there's going to be a new leader.
And totally this changes all the time. And there's so much innovation in this, in this space. People are creating. There's an interesting company called Voyager that's creating vertical specific models like a model embedding model just for, you know, legal or finance, things like that, which super interesting as well.
On that note, do you have any advice on how to keep up? Because there are new models come out all the time. There are new techniques coming out all the time. There are new frameworks. It seems like everything changes every few months. So how do you deal with that level of constant change?
Oh, gosh, it's a good question. I think that's the challenge for everybody working in this space. I think first of all, as a company, you need to have a long term vision for what you're trying to achieve and keep focused on that. A lot of new things pop up. Many of them are, some are interesting, many of them are just not that relevant. And the most important thing is that you can you focus on what you're building, do a really good job with that. And in many cases you can swap out the model, you know, for the latest, greatest thing at a later stage. So in many, you know, many cases you're not building your core product around the specifics of one model to, you know, you can keep updating them as they get better and better.
Okay, so maybe you don't need to jump on every new technology that appears and starts working things out every few weeks, but just, you know, make sure that you're building stuff where you can swap out the model or whatever other component later. All right, so I think this leads nice on to talking about skills. So I think a lot of these AI applications are kind of odd because they require both software skills and AI skills. So are you seeing any new roles appear for the creation of these AI applications?
It's hard to tell. So right now we're a database company, so we build infrastructure. So we hire engineers that are familiar with very complex distributed systems, know how to design for high performance and things like that. We're not, our customers are the ones building the chatbots and things like that on top of us. We build frameworks in between us in that level. So as far as I can tell now it's a combination of, you know, real, just deep software engineering and understanding of machine learning. I understand that, you know, there's new roles like prompt engineers and stuff like that that are popping up, but that's, that's, you know, we operate at a lower level than all of that.
Okay, so it seems like there might be a sort of boom in these lower interest infrastructure level jobs and then also maybe at the machine learning level as well. And so for everyone else who isn't a developer, they're not into infrastructure, whatever. Are there any other opportunities in this area that you're seeing?
100%. I think what companies like Pinecone and the foundation model, companies like OpenAI are doing are the sort of big building blocks that Enable innovation. The enable using machine learning in the real world and in conjunction with huge data sets of existing knowledge or, you know, new information, new knowledge like, you know, applying it to, you know, video streams or audio or whatever. So what we're doing is putting in place the infrastructure, and putting a place instructor is hard, requires specialized skill sets. But taking these building blocks and building very powerful and very useful applications for end users is a very different thing. And I think there's huge opportunity for that. Essentially every vertical out there, When I say vertical, I mean things like, you know, the automotive industry, the accounting industry, the legal industry, finance, pharmaceuticals, et cetera, et cetera, all of those are going to have thousands and thousands of use cases that are all built using the same infrastructure. So if I were somebody looking to get into the machine learning field, or at least using machine learning to innovate in traditional industries, I would learn how to use, on the one hand, these core building blocks that are built by companies like Pinecone and OpenAI and Cohere and others, but then also deeply understand a specific use case or specific industry. And once you understand that industry, you'll be able to figure out areas where you can innovate and optimize some process or allow people to do things that they simply couldn't do before because of the scale of the data or the complexity of the task or things like that. So there's, I would say, almost innumerable list of opportunities out there. So again, it's learning how these technologies work, and it's a lot easier to use Pinecone and to use OpenAI than it is to actually build those things. But once you have these building blocks, it's fairly manageable and straightforward, even for small teams of one or two people, to build very, very powerful solutions that actually can make a substantial impact on a company or on an industry.
I do love that this has become much more accessible. Like you mentioned, AI has just got a lot easier to use in the last couple of years, and I think it's continuing that way. So because of this, it feels like there are a lot of people without a technical background who've suddenly become interested in AI. So what do you think are the most important things that everybody needs to know about AI and about vector databases?
I think understanding at a conceptual level what they do, how they work, how they interact with data, how you prepare data to be used in the models, how to wire them together. And again, wiring things together is much easier than it was in the past. There's many solutions and products that help you do that. Again, I think it's really down to understanding the problem that you're trying to solve. And we see these every day, like somebody's trying to help an insurance company take images of accidents and figure out the damage that was caused. What were this specific types of damage and how much does it cost to fix it. You know, that's just one example. Or you're an oil company that is drilling and as you're drilling you're uncovering all kinds of seashells. So you're building a database of like literally millions, hundreds of millions of these samples of things that you found in the seabed. And you want to be able to, you know, search over them to figure out, you know, to gain insights about what you're drilling in. Again, these are use cases. I never would have imagined but there's, you know, as soon as you start digging in to any industry, you'll find, you know, a huge number of these and these are again huge data sets. So it's definitely big data problem and they need machine learning and they need techniques like vector embeddings to solve.
I have to say I've also never thought about the use case of being a giant database of seashells. But yeah, you're right that once you start thinking about all the different industry use cases, there's so many options.
And thing is as like if you're an entrepreneur or just a data scientist or a software engineer, you'll never uncover these just by reading or browsing the Internet or whatever. You have to actually get out there and interact with these businesses and talk to them and say, hey, what are the types of things that you're trying to achieve? Like what are the, if you had this magic machine learning thing, what would you like to do with it? And they'll probably come up with ideas and you can help them achieve that because I think they're struggling from also lack of machine learning expertise. Again, this stuff is all new and it's also new to them.
It is a tricky thing where there are so many possible things that you could do with this. It's sometimes hard to know where to begin. I was wondering whether you've seen any common patterns across your customers or just from talking to people. Like, what's a good sort of simple first project?
The text based ragged use cases I think are the simplest and most common and example projects could be what I mentioned, like applying that to, to your internal knowledge in your company to allow people to essentially chat with their knowledge base and ask questions like hey, you know, how does health insurance work in, you know, in my company or things like that? So that's relatively, you know, conceptually straightforward. It's not entirely trivial to put in place, but conceptually straightforward. And there's patterns and frameworks. But if you think about it, literally every company in the world will implement this in the next five or 10 years, like literally every single one. So, you know, and probably 1% of them have done that now. So it's a huge, huge opportunity. And similarly for things like tech support, as I mentioned, any company that has customers would love to reduce their tech support costs and allow their customers to get a high quality answer immediately instead of having to wait over the weekend. Those are just two examples that if you want to get started in the space, easy to start experimenting with and I'm sure you'll find customers who need it immediately.
Yeah, certainly. Support Chatbot seems to be a huge thing. I can certainly see how having a bot where it's programmed to be friendly all the time is going to be a good thing. Okay, so do you have any other advice on how to get started?
Just start building, start hacking on stuff, download some of these open source frameworks, Use Pinecone, we have a free tier. Just start experimenting. We have a Coursera course with Andrew Ang that you can, they can learn about vector databases with and then start learning about an industry. Find some interesting use case and just start building. And you'll probably surprise yourself by how quickly you can get something usable, something useful.
That's great. I love the idea that you should just start building. Actually, I would be remiss, not to mention that you can also learn about Pinecone on datacamp as well from one of the Pinecones owned developer advocates, James Briggs. So yeah, also possible, most likely.
Beautiful. Yes. Love James and I'm so pleased that he's worked with you.
Yes, excellent. All right, so just to wrap up, what are you most excited about in the world of vector databases and AI?
The way we look at it is if you look at all the data in the world Today, only about 10% of that data, I'm talking about digital data is currently stored in a database. And like 90% of the data out there, all the unstructured data, all the videos and even emails and things like that, those are all currently not in the database and are exceedingly hard to, to search over and use. So this is where vector databases come in. The reason they're not in a database is because you can't really query over images or emails in a useful way just in a SQL database. That's why you need search engines. The search engines today aren't great at these things, so that's why vector databases are sort of another leap forward. So we're excited about the fact that there's a huge opportunity here to use machine learning with huge amounts of data that are currently not essentially not accessible, not usable. So we think there's going to be tons of interesting things to build and to innovate with.
It's fantastic stuff. I love the idea that absolutely everything is data now and you can actually work with it, search it and calculate on it. Excellent. All right, thank you so much for your time, Elon.
Thank you, Richie. It was great talking to you.
More from Richie

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon







