Skip to main content

What is splade?

SPLADE is similar to other inverted index approaches like BM25. SPLADE includes neural term expansion, meaning that it is able to match on synonyms much better than traditional BM25.

Using Splade with Trieve Vector Inference

1

Update embedding_models.yaml

To use SPLADE with Trieve Vector Inference, you will need to adapt both the doc and query modelsThe SPLADE document model is the model you use to encode files, where the query model is the one to encode the query that you will be searching with
embedding_models.yaml
2

Upgrade your TVI cluster

Update TVI to include your models
3

Get embeddings endpoint

4

Make call to generate sparse vector

For more information checkout the API reference for sparse vectors.