
Prometheus-2 Cookbook - LlamaIndex
"An Open Source Language Model Specialized in Evaluating Other Language Models.".

About Prometheus-2 Cookbook - LlamaIndex
This page is a cookbook notebook from LlamaIndex's developer documentation. It shows how to use Prometheus 2, an open source language model that the page describes as specialized in evaluating other language models, as the judge for LlamaIndex's evaluators. The notebook covers pairwise comparison, faithfulness, correctness, and relevancy evaluation of retrieval-based question answering.
The demo depends on setup outside the model itself. Prometheus 2 must be deployed on Hugging Face Inference Endpoints or loaded locally, and the notebook uses OpenAI for building the index and for embeddings. The correctness evaluator requires labelled reference answers. The notebook uses a sample dataset of Paul Graham essays.
Key features
- Pairwise evaluator that compares responses from two query engines
- Faithfulness evaluator that checks whether answers stay within retrieved contexts
- Correctness evaluator that compares answers with labelled reference answers
- Relevancy evaluator that scores retrieved contexts and responses against a query
- Prometheus 2 used as the evaluation model through a Hugging Face endpoint
- Support for user-defined evaluation criteria in direct assessment and pairwise formats
- Demonstrates four LlamaIndex evaluators in a single runnable notebook
- According to the paper abstract quoted on the page, Prometheus 2 supports both direct assessment and pairwise ranking
- The paper abstract reports closer agreement with human and GPT-4 judgements than earlier open evaluator models
- Prometheus 2 must be deployed on Hugging Face or loaded locally before the demo can run
- The demo uses OpenAI for index building and embeddings, which requires an OpenAI API key
- The correctness evaluator requires labelled reference answers
Prometheus-2 Cookbook - LlamaIndex at a glance
- Category
- Development › Developer Tools
- Type
- Website
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
Prometheus-2 Cookbook - LlamaIndex alternatives
Tools and sites you could use instead, ranked by how closely they match.
Gitingest turns a Git repository into a plain text digest designed for use with language model prompts.
Use LLM, a command-line utility and Python library, to interact with large language models.
PageSpeed Insights evaluates page speed and offers performance information for web pages.
unpkg.ai creates JavaScript ESM modules on demand with language models, without signup or API keys.
Semantic Kernel helps integrate large language model technology into applications.
Efficient fine-tuning of quantized language models is the focus of QLoRA, a method documented in this repository.
Popular in Developer Tools
Well-known listings from the same topic.
Prometheus-2 Cookbook - LlamaIndex FAQ
Does the demo require an OpenAI API key?
How is Prometheus 2 hosted in the demo?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.










