Skip to main content
MemWire generates vector embeddings to store and retrieve memories. Configure the embedding model via MemWireConfig:

Supported embedding backends

FastEmbed

Local on-device embeddings via Qdrant’s FastEmbed library. Supports dense and sparse models. Recommended default.
Two model types are used:

Default models


Changing the dense model

You can swap the dense model for any FastEmbed-compatible model. Make sure embedding_dim matches the model’s output dimension.
If you change the embedding model after data has already been stored, the existing vectors will be incompatible with new embeddings. Reset your Qdrant storage when switching models.

If you want to use dense-only search (no sparse model loaded), disable hybrid search:

Reranking

Enable a cross-encoder reranker to re-score the top candidates after initial retrieval. This improves precision at the cost of slightly higher latency.

Configuration reference