Skip to main content
Fallom Evals lets you evaluate your LLM outputs using G-Eval with an LLM-as-judge approach. You can run evaluations locally using our SDK, or directly from the Fallom dashboard on your production traces—no code required.

Features

  • 7 Built-in Metrics: Answer relevancy, hallucination, toxicity, faithfulness, completeness, coherence, bias
  • G-Eval Methodology: Chain-of-thought prompting for accurate scoring
  • Dashboard Evals: Run evals on production traces directly from the UI—no SDK needed
  • Model Comparison: Test multiple models on the same dataset
  • Custom Pipeline Support: Evaluate outputs from your own RAG or multi-agent systems
  • Auto-Upload: Results automatically sync to your dashboard
  • Fallom Datasets: Use datasets stored in Fallom or create them locally

Dashboard Evals (No Code Required)

If you’re already logging traces to Fallom, you can run evaluations directly from the dashboard without writing any code. Navigate to Evals Store → Evals to create evaluation configs that automatically sample and evaluate your production traces.

Creating an Eval Config

  1. Go to Evals Store → Evals in your dashboard
  2. Click New Config
  3. Configure your evaluation:
    • Name: A descriptive name for your eval config
    • Sample Rate: Percentage of traces to evaluate (0.01% to 100%)
    • Judge Model: The LLM to use as the evaluator (e.g., openai/gpt-4o-mini)
    • Filter by Tags: Only evaluate traces with specific tags (optional)
    • Filter by Models: Only evaluate traces from specific models (optional)
    • Metrics: Select which metrics to run (answer relevancy, hallucination, etc.)

Running Evaluations

Once you’ve created a config, click Run Now to start an evaluation. Fallom will:
  1. Sample recent traces from the last 15 minutes matching your filters
  2. Queue them for evaluation using your selected judge model
  3. Score each trace against your chosen metrics
  4. Display results with per-metric scores and aggregated statistics

Viewing Results

Each evaluation run shows:
  • Sample Count: How many traces were evaluated
  • Scores: Average, min, and max scores for each metric
  • Individual Results: Click on a run to see detailed scores for each trace
  • Regression Detection: Automatic alerts when quality drops compared to previous runs
Dashboard evals require traces to be logged to Fallom first. Make sure you have tracing set up before running dashboard evals.

Quick Start

No code required? If you’re already logging traces to Fallom, you can skip the SDK setup and run evals directly from the dashboard.

Using the SDK

Environment Variables

Available Metrics

All metrics return a score from 0.0 to 1.0, where higher is better (except hallucination, toxicity, and bias, where higher means more problematic content detected).

Custom Metrics

Create your own evaluation metrics with custom criteria and evaluation steps:
Custom metrics use the same G-Eval methodology as built-in metrics - the LLM judge follows your steps and provides reasoning and a score.

Using Datasets from Fallom

Instead of creating datasets locally, you can use datasets stored in Fallom. Just pass the dataset key:

Evaluating Custom Pipelines

If you have a complex LLM pipeline (RAG, multi-agent, custom routing), use EvaluationDataset to run your own pipeline and evaluate the outputs:

Auto-Generate Test Cases

For simpler pipelines, use generate_test_cases() to automatically run all inputs through your pipeline:

Model Comparison

Compare how different models perform on the same dataset:

Custom & Fine-Tuned Models

You can include your own fine-tuned or self-hosted models in comparisons:

Custom Judge Model

By default, evaluations use openai/gpt-4o-mini via OpenRouter as the judge. You can specify a different judge:

API Reference

evaluate()

Evaluate outputs against metrics. Use either dataset or test_cases.
Either dataset or test_cases must be provided.

compare_models() / compareModels()

Compare multiple models on the same dataset.

Model Helpers

Metric Helpers

EvaluationDataset

A class for managing datasets and test cases when using your own LLM pipeline.

LLMTestCase

A test case for evaluation containing input and actual output from your LLM.

Golden

A golden record from a dataset containing input and optionally expected output.

Next Steps

Tracing

Log traces to enable dashboard evals

Model Testing

A/B test models in production

Prompt Testing

Version and test your prompts