Practical overview
When it fits
Use LLMRank when you want a code-based research workflow for evaluating LLM ranking of retrieved recommendation candidates, rather than a hosted recommendation service.
Who it is for
- Researchers reproducing zero-shot recommender-ranking experiments
- Developers prototyping personalized ranking from interaction histories and candidate items
- Practitioners studying prompt effects, position bias and popularity bias in LLM rankings
Documented uses
- Evaluate ChatGPT’s zero-shot ranking ability on the ML-1M dataset
- Reproduce experiments on whether prompts help models interpret interaction-history order
- Study position and popularity bias in LLM-based rankings
Requirements & limits
The documented ChatGPT evaluation requires an OpenAI API key. The repository lists an MIT license.
- The quick-start example evaluates ChatGPT on ML-1M.
- The workflow requires interaction-history and candidate-item data formatted into natural-language instructions.
- The repository includes experiments on history order, position bias and popularity bias.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up and run the ML-1M ranking evaluation
Follow the repository’s quick-start path to evaluate ChatGPT’s zero-shot ranking on ML-1M.
Before you start
- An OpenAI API key
- The repository and its Python dependencies
- The ML-1M interaction dataset files
Steps
Write the OpenAI API key into llmrank/openai_api.yaml.
Unzip the ML-1M interaction file in llmrank/dataset/ml-1m/.
Install dependencies with pip install -r requirements.txt.
From llmrank/, run python evaluate.py -m Rank.
Expected outcome
Runs the documented ChatGPT zero-shot ranking evaluation on the ML-1M dataset.
Guide limitations
- The guide covers the repository’s documented ML-1M quick start only.
- An OpenAI API key is required for this evaluation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026
- Original website title
- RUCAIBox/LLMRank · Official homepage title · retained in its source language

