Jon Bratseth
Jon Bratseth

Embedding flexibility in Vespa

In the recent GigaOm Sonar Report on Vector Databases where Vespa came out as Leading, one of the criteria where we scored Exceptional was Embedding Flexibility.

Vespa Recognized as a Leader and Forward Mover in GigaOm Sonar for Vector Databases

What’s so great about the embedding flexibility in Vespa? You have the choice of doing embeddings in four ways:

In addition to creating single embeddings for a field, all these methods also allow you to create and index a collection of embeddings for a single document, either by using an embedding model that creates an embedding for each token of the text, by embedding an array of strings, or doing both at the same time. You can use multiple of these methods at the same time for different fields, and change method at any time without changing any other aspect of the application. This lets you get started easily with embeddings while also empowering you to add more sophisticated methods gradually.

And if you add fields that derive an embedding for a field to an existing application, they will be automatically populated. Combined with the support for having multiple embeddings in the same document and choosing which ones to use in queries and ranking, this makes it exceptionally easy to experiment with new embedding models.