Tutorials and use cases

Text search

Vector Search

Learn how to use Vespa Vector Search in the practical nearest neighbor search guide. It uses Vespa's support for nearest neighbor search, there is also support for fast approximate nearest neighbor search in Vespa. The guide covers combining vector search with filters and how to perform hybrid search, combining retrieval over inverted index structures with vector search.

Hybrid Search

Tutorial: Hybrid Text Search. A search tutorial and introduction to hybrid text ranking with Vespa, combining BM25 with text embedding models.

RAG (Retrieval-Augmented Generation)

Combining search and recommendation: The News tutorial

Follow this series to learn how to build a complete application supporting both content recommendation/personalization, navigation, and search.

ML Model Serving

Learn how to use Vespa for ML model serving in Stateless Model Evaluation. Vespa supports running inference with models from many popular ML frameworks, which can be used for ranking, query classification, question answering, multi-modal retrieval, and more.

Embedding Model Inference

Vespa supports integrating embedding models, which avoids transferring large amounts of embedding vector data over the network and allows for efficient serving of embedding models.

E-Commerce

The e-commerce shopping sample application demonstrates Vespa grouping, true in-place partial updates, custom ranking, and more.

More examples and sample applications

There are many examples and starting applications on GitHub and Pyvespa examples.