Skip to main content
Text Embeddings · Live Passage Ranking

Semantic Search Ranking Tool

Paste a list of candidate passages and enter a natural-language query to test dense vector retrieval live. Select an embedding model and supported provider to embed your query and passages and sort results by cosine similarity.

Cloudflare Workers AI

Transport: Stateless proxy · Key setup guide

Not Set

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (110 tok)

$0.000001

$0.012 / 1M

Approx. Call Cost

$0.000001

Est. ~4 chars/tok

Total Tokens

110

Estimated count


How to Test Semantic Passage Ranking

Follow these steps to execute verified API requests directly from your browser.

  1. Choose one of the six text embedding models and select a confirmed provider.
  2. Enter a natural-language search query and paste one candidate passage per line.
  3. Run the batch embedding call to embed both the query and every passage simultaneously.
  4. Review ranked cosine similarity scores to inspect retrieval ordering.

Dense Retrieval Versus Cross Encoder Reranking

Practical guidance on parameters, outputs, and production usage.

Chunk Size and Passage Formatting

Shorter, single-topic passages produce cleaner vector centroids than multi-page documents. Keep each line focused on a single claim or paragraph when testing retrieval chunks.

Combining Embeddings With Reranking

Once you verify dense recall here, test your top candidate passages in the Reranker Tester using BGE Reranker Base to measure second-stage precision improvements.

Frequently Asked Questions

How Are Passages Separated in the Input Box?

Enter one passage per line. Blank lines are ignored automatically before sending the batch to the selected embedding model.

Should I Pair Semantic Search With a Reranker?

For production retrieval pipelines, dense embeddings retrieve top candidates quickly, while a cross-encoder like BGE Reranker Base improves precision on the final top results.

Related Retrieval Tools