Skip to content

RAG Pipeline — Embeddings, Vector DBs, Rerankers

Qwen3-Embedding is the current open-weight leader (#1 on MTEB multilingual). Using an instruct prompt typically improves retrieval by 1-5%.

Embedding models — Qwen3-Embedding is the current open-weight leader. The series (0.6B / 4B / 8B, plus 0.6B/4B/8B rerankers) is instruction-aware, supports 32k context, 100+ languages, and MRL (user-defined output dims). Qwen3-Embedding-8B ranks #1 on MTEB multilingual (70.58, as of Jun 2025); the 0.6B still scores 70.70 on MMTEB, making it a strong cheap local choice (Qwen3-Embedding-8B). Qwen notes using an instruct prompt typically improves retrieval by 1–5% — a cheap, high-value tuning knob. For multimodal RAG, Qwen3-VL-Embedding-2B/8B (built on Qwen3-VL, 30+ languages, accepts text/image/screenshot/video) leads MMEB-V2 with the 8B scoring 77.8 overall (HF).

Vector DB Status (verified) Notes
Qdrant qdrant-client v1.19.1 (2026-09-16) very common local default; first-class LlamaIndex integration
Chroma chromadb v1.5.9 (2026-05-05) easiest for prototypes
FAISS faiss-cpu v1.15.1 (2026-09-16) embedded/local index, no server
Weaviate weaviate-client v4.23.1 (2026-09-07) hybrid search, Docker
Milvus milvus v2.3.9 (last upload 2024-11-12) ⚠️ PyPI package stale; use Qdrant instead for new projects

Recommended local RAG pattern: Qwen3-Embedding (0.6B for speed, 8B for quality) → Qdrant/FAISS → Qwen3-Reranker over top-k → Qwen3/Llama-class LLM on vLLM, orchestrated by LlamaIndex. Embeddings can be served by the local vLLM endpoint itself or by HuggingFace TEI (text-embeddings-inference container, documented for Qwen3-Embedding-8B at HF). Sentence-transformers v6.1.0 (2026-09-18) remains the standard runtime.

Sources