Skip to main content
PyPI Version Phoenix Evals provides:
  • Built-in evaluators for common tasks (faithfulness, correctness, relevance, conciseness, and more)
  • A unified LLM wrapper supporting OpenAI, Anthropic, Google, LiteLLM, and other providers
  • Batch evaluation over pandas DataFrames with async_evaluate_dataframe (or sync evaluate_dataframe)
  • Custom evaluator creation via create_evaluator decorator or ClassificationEvaluator
  • Benchmark datasets for testing evaluator accuracy

Installation

Install the LLM vendor SDK for your chosen provider:

Quick example

Core API

Built-in evaluators

All built-in evaluators live in phoenix.evals.metrics and accept llm: LLM as their first argument: To learn more about LLM Evals, see the evals quickstart.

Reference Documentation

Full API Reference

Complete API documentation for evaluators, metrics, and LLM classification