SiftRank: LLM-Based Document Ranking

2026-05-14 · source · source ↗ · raw capture · wiki page

Go-based tool implementing the SiftRank algorithm for ranking datasets by relevance to user-defined prompts.

Core Algorithm

  1. Stochastic sampling: Randomly divides datasets into manageable batches
  2. Inflection detection: Identifies natural breakpoints separating highly relevant items
  3. Fixed complexity: Caps LLM calls to maintain linear computational scaling
  4. Iterative refinement: Repeats comparisons until scores stabilize

Key Features

Technical Capabilities

Example

Successfully ranked 100 sentences by relevance to "time" in 7 seconds, correctly identifying time-related items as top results.

Written entirely in Go with no external dependencies beyond OpenAI API calls.