AI Vector Search – Venkat Venkataramani, Rockset
Rockset CEO and co-founder Venkat Venkataramani discusses this emerging vector search trend and what it means to the market. Rockset is leveraging new AI capabilities to offer native support for vector embeddings, enabling organizations to build high-performance vector search applications at scale, in the cloud.
Transcript
This is Textron tv. Well, today I have the great pleasure of being joined by Venkat, uh, Venkat. I see your name close enough.
Thanks. Uh, good to talk with you again. Venkat is, um, with Rock Set, and we're talking about vector search, vector databases, ai, all kinds of good stuff going on in that space.
Welcome, good to have you on the show. Let's, let's kind of dive right in. Um, would love to talk to you about, first of all, talk about vector search.
I think we all kind of get vectors from images and, you know, digital images. I'm sure there's more applications than that once you give us sort of the lay of the land of what we mean by this and the kind of databases that you're working with your customers on. Thanks for, uh, thanks for having me, Mitch.
Uh, it's a pleasure to be here. Um, Rockside is a real time search and analytics database, both for the cloud, right? And, you know, doing, uh, applications, uh, powering applications that are doing, uh, customer facing, uh, you know, very advanced parts of your customer facing, uh, product.
Whether it is, uh, search, you know, realtime reporting, realtime search, realtime analytics. This is all what, what we do. Mm-hmm.
Uh, you know, or core IP on how R is built is what we call converge indexing. And if you look at every AI application in the world, uh, you know, they're all about getting, you know, you know, using sophisticated models, whether it is, you know, b models for, uh, text, blob of text and extracting, you know, vector embeds, sort of that, or getting vector sort of, you know, images or videos. Um, you know, essentially the whole, now the game is to where do you now store all these embeddings and how do you process them and how do you build applications on top of that?
And it turns out that all the, the, the body of work that we have done that makes Rocket very good at realtime search and realtime analytics very naturally, uh, you know, also makes us very, very good at indexing vector embeddings and powering vector search. And so that's the crux of, it's all about indexing. You know, it's, uh, you know, we are, uh, you know, uh, you know, our, our core IP is converge indexing.
And so all of you know, everything that we do is about how, how can we index data in a way, depending on different data types or d depending on what kinds of data, uh, how do we build these special purpose indexes and do efficient processing so that people can build modern, uh, data applications. And if you, you can't really say modern data applications without ai. And so couple of places where we're getting, uh, pulled into this is like, um, think about an airline, uh, you know, building a, a chat bot, you know, for their website, right?
They have a whole bunch of corpus of data, uh, uh, that that on which they can build a language model to just understand what questions, uh, you know, uh, their, their end users, their customers might be passengers might be asking for, but they also need real time information about flight statuses, because odds are, you are an airline, and when they come into a your chatbot, they're asking about what's happening. You know, what happened to my flight? Is it delayed?
Uh, you know, what, what is gonna, what are the transfer options that are available? And all of that information you have to pull, uh, you know, from, uh, a system that can actually track a lot of these data in real time. And so, so the real, you know, interesting opportunity the rock set has, is being able to combine, uh, the traditional realtime data indexing with also all these vector embeddings and vector search and building similarity in, you know, uh, you know, similarity indexes and, uh, a and N K and, and searches and, and things like that.
Those are all very advanced where you can do vector processing. So the Arlin example, chatbot is one classic example. Um, you know, we also have e-commerce companies, uh, uh, using rock set, uh, where they're covering customer facing recommendation engines, uh, using both the customer's behavioral data and also, you know, uh, other recommendations that they can, you know, so that, you know, products you may buy or, or build you a build a end user, a personalized rank of the things that, uh, the, the products that they're most likely to, to engage with or buy.
And we have, you know, many, you know, instances of customers using vector search combined with realtime indexing mm-hmm. Uh, to cover a lot of the customer facing applications like that. So, so I think, you know, AI is here to stay.
AI is gonna make a lot of these kinds of applications supercharged and, and be way more effective at their job than what we were, uh, what we were used to. And so very, very happy to be part of the journey with a lot of our customers, you know, helping them accelerate their adoption of ai. Excellent.
I'm curious, so before we kinda layer AI into this, um, so realtime analytics, realtime da realtime data, you, you can kinda picture the type of consoles and, and data that might visualize is one, one applications of that. How do you, how do you correlate things together in a, in a, uh, real-time analytics vector search world where maybe I'm looking for, uh, to feed a recommendation engine, might someday be an AI engine or already is, uh, but you're looking for more than, you know, Mitch clicked here, Mitch went there, here's the set of things that happened. But that all goes into some context of, well, here's where those similarities are, or here's what other patterns like that have been for other buyers.
Then of course, we can apply AI engines, et cetera to it. Can you talk a little bit about that? Help us understand that?
Yeah. So in the e-commerce website, you know, example, um, you know, I'll give a, I'll give a classic example where, you know, you have, uh, imagine you have, uh, a whole bunch of corpus of, um, like, you know, uh, images about your product, uh, and, and, uh, not, not, and blobs of text about your product. Uh, you know, you could go and manually extract, uh, features about that and try to infer what is this product about doing, you know, old school kind of ML or other, other statistical models and what have you mm-hmm.
Supervised learning kind of, oh, let's go through and say, yes, this is a blouse. This is a blouse. Exactly.
You know, some, somebody's doing labeling and somebody's doing manually doing a lot of that work. Or you could use, uh, one of these language models and extract information about, you know, from the text without really necessarily going through, you know, a lot of that painstaking labeling. And now you're basically figuring out, given the description of this product, which is a blob of text, what are the other other products in my marketplace that I wanna recommend to this user?
Because, you know, they are, you know, maybe this is not the one they're looking for. Maybe the other similar, similar products like this might fit the needs of what the customer is looking for. So, so, so something like that, I think it's, it's about how sophisticated these recommendation engines can become.
Mm-hmm. And the metadata is still important. So, so one important, um, uh, point I wanna make here is, you know, you, you know, even in the recommendation engine, you know, even if you add a very simple criteria on the metadata, and here, if you just have a blob of text or a, or a product description and you wanna find all the other products that may be similar, uh, to that, uh, vector searches is good enough, you don't need metadata filtering.
But the minute you wanna say, my recommendation engine, I always wanna recommend something is in stock, something that is still available for people to buy. I don't wanna recommend something that is all out of stock. And so then suddenly now your inventory is managed in real time.
So now you're not just doing a similarity search anymore, you're doing a similarity ranking, similarity based ranking. You're actually finding out all the things that are similar, but of all the things similar, you also wanna quickly use realtime data to filter out the ones that, uh, where, which are, you know, where you, which you don't have in stock, uh, uh, you know, or, or, or obsoleted items that you don't wanna recommend. And so, so that is, those are the criteria, the additional criteria, you know, in a typical SQL query, you call, call it the wear clause, you know, um, in the AI applications that they, you know, it's often referred to as metadata filtering.
Mm-hmm. And so, you know, you're not just doing a similarity search on your, on your vector embeddings and vector models. You're really trying to say, okay, you know, uh, well that needs to be, you know, the product recommendation needs to be close enough, but they also need to be in stock.
They shouldn't be, you know, a deprecated product by, by the manufacturer and so on and so forth. And the minute you add that, that's when the world of classic realtime indexing and vector search and vector indexing kind of like, uh, get come together. And a lot of the techniques, you know, Rox said, is a full feature SQL database.
So you can do all of this as, as, uh, you know, doing all of these very, very advanced realtime indexing and vector search is as simple as writing a SQL query, right? Mm-hmm. And so that's the power of rock said, where, you know, you simply do order, buy the, the cosign similarity functions that we have, and then automatically do, uh, vector-based ranking, uh, uh, which is like using vectors to do relevancy, uh, for the recommendation engines.
So yeah, I think the, the power of Roxy really comes not just by being a, a pure vector database that only understands how to work with vector embeddings. You know, we have a whole wealth of, uh, you know, uh, uh, you know, capabilities that allows you to get data in real time index, you know, structured and semi-structured data in real time. But now you can combine that with, with vector embeddings indexing and build world class, uh, AI applications.
Makes a lot of sense. Do you, um, so as you mentioned, ML one, one branch, if you, about of ai, of course, large language models or all the rage these days, as they say. Um, but I think there's, you know, everyone's trying to get a, a better understanding of, do I, when do I need to train my own models with data that I have?
When do I need to build my own models? There's obviously times where, you know, working with companies like yourself, you may be able to use existing models, um, you know, versus what I can get from huggy face or wherever, um, sources for some of those things. What, what paths, how do you get a customer down that path that's kind of trying to figure out, so where do I need to do work around training and tokenizing of input into the, into the model, uh, for ai, for, uh, generative AI type applications?
When am I better to go down to ml, maybe unsupervised learning kind of path? Yeah. I think, uh, when you have a lot of unstructured data, I mean, I think the, the answer is it really depends on, on the use case, it really depends on how much, uh, you know, what is the proprietary data set that that particular enterprise has?
What are the Updates? Let, let's take your case of the, the recommendation engine. If I, if I want to go down that page, just, Yeah.
If you take the recommendation engine, uh, a lot of the description, there isn't a lot of domain specific, uh, you know, content on the product description that people are writing about, products that you buy online, right? Mm-hmm. If you go to a specific website which only sells, I don't know, jewelry, then there may be certain things that, uh, in, in that language that are different than, you know, you go to a, a furniture website or something like that.
But for the most part, it's, it's, I don't think there is too much domain specific, uh, knowledge, right? It's not like, you know, you're looking at images of x-rays, uh, you know, in a, in a hospital or, or radiology department. You're not looking at something that requires, uh, you know, all prescription data or something like that, where, where you require a lot of domain knowledge to even understand what is being, uh, said.
Mm. So in the recommendation engines, I would strongly recommend start with bird type models that are already available. Um, because getting, uh, a large language model that understands natural language in all these different, you know, English and, you know, all the popular, uh, worldly natural languages is very expensive.
Somebody has already paid their cost, probably costs you tens of millions of dollars to just get a model that is reasonably working, and it has so many parameters just optimizing and picking the right parameter, uh, to feed into the model for it to actually, you know, make it as useful as possible. All of that is extremely computationally intensive. And so I would not, for, for such a general purpose, uh, use case, I would definitely start with, you know, some of the models that are already available.
Okay. And, and the, and the rate pace at which they're advancing is, is, is, is spectacular. You know, they get, the models are getting smaller and smaller.
Uh, the parameters are getting, uh, narrower and narrower, and suddenly I think now, you know, you know, you, you don't need, uh, you know, you don't even need a lot of computing power to, to run these similarity searches and, you know, and, and to, to, to, you know, to deploy them. But definitely you don't wanna be in the business of training them if you, if it is such a general purpose, uh, you know, model. But if you do have a, a data set that is very much, you know, let's say you're an enterprise and you have some unique dataset that really, really, you know, where you understand, uh, the business, you understand, um, you know, what that data means, and, and you can train a model that, uh, is like a vertical ai, you know, that is very, it's just like vertical SaaS.
It's like a vertical AI that you can build for your domain that absolutely will be a, you know, will be a huge differentiator. And for those use cases, yes, you have to go, you know, buy, you know, whatever, uh, you know, chip sets and, and, and, and GPU computing power, you need to go and build those models. I think that's one thing, once we all are on the learning curve of, of yes, there's using, you go into hugging, fa hugging face and get, uh, a Burt model to reuse, to build from, versus building large language models, training them, and then of course, the compute powers you mentioned to do that.
I mean, most of us don't realize that real sophistication of computer underlying just a chat, gp, pt generalized, more or less one we wanna operate. So I think all of us are behoove ourselves of, we're probably not all ai AI experts, maybe even, you know, kind of real-time data analytics experts to work with a company like yourself, maybe someone in the AI field to help you guide the right path so you don't experiment, you know, run eight experiments to get to the answer. You can get to what's the right approach to take for your use case.
Yeah. Uh, I think the, the, you know, there's lots of different vector databases out there. You know, you know, if you're really building a modern, you know, data application with the ai, you need, you know, you need to be ready for the enterprise.
You need to be, you know, you need to have scalability. You need to have compute, compute separation for effortless scaling and efficient scaling in the cloud. Uh, you know, you, you wanna be able to bring in data from wherever it is seamlessly into, into the, into, into your, into your realtime search and analytics database.
Rxi has built in connectors with, you know, any, anywhere you have your data. And so, you know, security governance, uh, you know, when you think about scaling efficiently in the cloud, um, you know, it's not just about vector, uh, vector is another column and another data type in your data dataset mm-hmm. For your application.
Mm-hmm. Uh, and you also have all sorts of other, you know, important functionality and, uh, you know, that you, for you to build a enterprise grade, uh, scalable, efficient, reliable application. And that is what we are all about.
You know, r set is built for the cloud. Um, you know, our, our bread and butter is, you know, powering realtime search and analytical applications. Well, speaking of which folks can find out more, get a free account, check out, do some hands-on, I mean, it's on the front page.
Yes. com, correct? Yes.
com. com. Um, you can go there, start a free trial, you don't need to talk to anybody, no credit card required, and you can pay as you go, as you know, once the trial expires.
And yes, you know, there are some public data sets available, sample data sets available. If you want to just kick the tires, uh, that are tutorials in our documentation, you can go and check out, uh, to go and build, uh, some sample applications just to get a feel for it. And, uh, yeah, I think there's a lot of development happening here and more, uh, you know, more, uh, you know, richer functionality is coming up.
com and, and start a trial. Perfect. Alright, vCAN, thank you for coming back again.
Uh, definitely keep in touch. This, you know, things are changing fast, right? And all it seems, all markets in addition to AI and data, it's been great talking with you.
Thank you man. Thanks much for coming. Thank you.
You bet.