#187 The Power of Vector Databases and Semantic Search with Elan Dekel, VP of Product at Pinecone
11 Mar 2024 · 36 min
Elan Dekel, VP of Product at Pinecone, explains how vector databases fix LLM hallucinations by storing embeddings and retrieving relevant context before generating answers. RAG workflows chunk data, generate embeddings, and feed retrieved chunks to LLMs for accurate responses. Start with simple text projects using free tools like LangChain and LlamaIndex.
Chapters
Hi, I'm Maggie, VP of Curriculum at datacamp, and I know firsthand how overwhelming it can be to keep up with the rapid changes in data and AI. But staying ahead doesn't have to be hard. That's why our curriculum team has curated the best learning content to help you and your team stay ahead, covering everything from data and AI literacy for busy executives to cutting edge generative AI for developers, and everything in between. Whether you're upskilling yourself or your team, we make learning practical, engaging and flexible. It just works. Power your data and AI transformation journey on datacamp.com.
What companies like Pinecone and the foundation model companies like OpenAI are doing are the sort of big building blocks that enable innovation. And they enable using machine learning in the real world and in conjunction with huge data sets of existing knowledge or new information. New knowledge like applying it to 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 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.
Welcome to Data Framed. This is Ritchie. One of the big problems with generative AI tools is that they sometimes hallucinate. That is they make things up. Vector databases like Pinecone, along with a technique called retrieval augmented generation, are being promoted as the solution to this. Today we're going to look into how vector databases can be used in software like chatbots and enterprise search, along with the latest developments in the space. Our guest is Elan Dekel. He's the VP of Product at Pinecone. Since he's literally in charge of building the vector database, I'm excited that we get to go straight to the source to find out what's new. Elan also has a long history in this area. He was previously a product lead at Google, where he led teams working on the indexing systems to serve data for Google Search, YouTube Search and Google Maps. Let's hear what Elan has to say. Hi Elan, great to have you on the show.
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?
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 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. 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 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, you know, 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. 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 other 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, 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. They accompanies support information or internal knowledge that's 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 there's. 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 almost 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?
So search engines started by essentially searching over text strings. So you type in, say, you know, 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 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 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 having that done for you automatically has got to be a huge productivity boost.
Exactly. And it's very, very complex. And again, companies like Google and Microsoft have thousands of engineers 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. 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. So what are the sort of business applications of image search?
So there's different types of use cases. There's two types. It's. 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 is a picture of whatever. Say you're building a. A website where you can 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 know, you're building a, say, a system to verify your identity or some sort of security system, and you take a picture of yourself, then 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, 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 vector embedding is fair game. It's 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, you know, 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 query or when you work with a large language model to build something like a chatbot, you typically generate your query by 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. You use the generative capabilities of the model, but you augment it with information that you get via retrieval. So retrieval is a 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 pinecones support information. We'd say, how do I upsert data into pinecone? 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. 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 better 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 it 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 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 reducing their costs and things like that. This, 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, 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 of our customers. But for example, Notion is a customer that uses Pinecone for allowing people to ask questions about all the material that they've 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 seems 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 very, very powerful combination. So we're seeing some of our biggest customers are from the legal tech space. For example, when you have a case, you have thousands of pages of documentation that you have to wade through and find the exact right paragraph that's relevant to your case. So they're using it for things like that. So you can essentially ask questions about all the documentation that's been provided. And it's. I'm not a lawyer, but apparently 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 an existing database. Getting that data into the vector database to be used in this way can be 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, you know, have a whole bunch of text, document might be a hundred 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, you know, a number of paragraphs, you know, 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, 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 sub question, it'll then query the vector database, get the responses, and then construct this context, which it then feeds into the model for the, for the response. So at a very, very high level, that's, 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 I don't want to say tedious, but it can be quite difficult to get the right answer, I'm sure. Are there any ways of, are 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 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've built and we actually released an open source package that does this. It's called Canape, 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 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. 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 hyperparameters you'd set 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 really huge data set with hundreds of millions or billions of documents that then get converted into 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, query them. So that, 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 know, you have millions of people that are querying your system constantly. So then you have to stand up a system that can support high qps and, and you're also paying for the inference side using ChatGPT to query, generate the responses and paying an embedding model to generate the query. And all 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 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 working with Gen AI?
So there's different techniques here. So on the large amount of data side Pinecone has made, 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 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, you know, workload pattern of large data small ups will find huge, you know, 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, hundreds of thousands or maybe small number of millions of items of vectors, but they have a very, very high qp. So that requires a different solution which we have in our existing POD based 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 large language model to answer essentially answer your 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 reduce costs if needed.
Okay, so your first point about some customers having very low compute requirements compared to their document size, I can certainly see how something like trying to search a corporate Internet might be like, 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 product should I buy that's going to have 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 they've just 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 Falcon models. They actually publish a. There's a table where you can see kind of like a leaderboard of the newest models and their quality rankings. So honestly, that's what I would, that's what I would look at.
Okay.
Instead of just. Yeah, 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 space. There's an interesting company called Voyager that's creating vertical specific models like a model embedding model, just for legal or finance, things like that, which is 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, you know, 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, in 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 start swapping 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, so we're a database company, we build infrastructure. So we hire engineers that are familiar with very complex distributed systems, know how to designed 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 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 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 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. 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. 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 applying it to 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 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 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, you know, 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 Cogear 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 an 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 buildings 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 them 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. You know, and we see these every day. Like somebody's trying to help an insurance company take images of accidents and figure out, you know, the damage that was caused, like what were the specific types of damage and how much does it cost to fix it. 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 search over them to gain insights about what you're drilling in. Again, these are use cases I never would have imagined, but there's. As soon as you start digging in to any industry, you'll find 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 having 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 the 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? If you had this magic machine learning thing, what would you like to do with it? And they'll probably come up with ideas 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 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 my company? Or things like that. So that's relatively 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 ten years. Like literally every single one 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 and use Pinecone. We have a free tier. Just start experimenting. We have a Coursera course with Andrew Ng that you can, they can learn about databases with and then start learning about an, you know, an industry. Find some interesting use case and 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 Heinecone's own developer advocates, James Briggs. So, yeah, also possible.
Beautiful. Yes. Love James. 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?
I think so. The way we look at it is if you look at all the data in the world Today, only about 10% of that vector data, I'm talking about, like, digital data is currently stored in a database. And like 90% of the data out there, all the unstructured data, all the videos and, you know, even emails and things like that, those are all currently not in the database and are exceedingly hard 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, you know, 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, Elam.
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
#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon
#356 The Forecast for Time Series Forecasts with Rami Krispin, Senior Manager of Data Science at Apple
#355 AI's Impact on Databases with Shireesh Thota, CVP of Databases at Microsoft
#354 Beyond BI: Decision Intelligence with Graphs with Jamie Hutton, CTO at Quantexa
#352 AI Agents at Work: What Actually Breaks (and How to Fix It) with Danielle Crop, EVP Digital Strategy & Alliances at WNS
#351 Will World Models Bring us AGI? with Eric Xing, President & Professor at MBZUAI
#350 How to Make Hard Choices in AI with Atay Kozlovski, Researcher at the University of Zurich
#349 From AI Governance to AI Enablement with Stijn Christiaens, CEO at Collibra