
What happened
Cohere’s tutorial shows how to build a Python RAG pipeline using Embed 5 and Rerank 5 through OpenRouter’s API. It indexes documents with Embed 5 Pro, queries with Embed 5 Fast, then reranks 20 candidates and keeps results above a relevance threshold. Cohere reports that Fast queries on a Pro index retained 98.4% of all-Pro retrieval quality across 40 datasets in its tests.
Why it matters
The tutorial shows how shared embedding space and calibrated reranking scores shape a compact RAG pipeline, including the tradeoff between retrieval quality and query latency.
