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
- Go to Evals Store → Evals in your dashboard
- Click New Config
- 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:- Sample recent traces from the last 15 minutes matching your filters
- Queue them for evaluation using your selected judge model
- Score each trace against your chosen metrics
- 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
Using the SDK
- Python
- TypeScript
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:- Python
- TypeScript
Using Datasets from Fallom
Instead of creating datasets locally, you can use datasets stored in Fallom. Just pass the dataset key:- Python
- TypeScript
Evaluating Custom Pipelines
If you have a complex LLM pipeline (RAG, multi-agent, custom routing), useEvaluationDataset to run your own pipeline and evaluate the outputs:
- Python
- TypeScript
Auto-Generate Test Cases
For simpler pipelines, usegenerate_test_cases() to automatically run all inputs through your pipeline:
- Python
- TypeScript
Model Comparison
Compare how different models perform on the same dataset:- Python
- TypeScript
Custom & Fine-Tuned Models
You can include your own fine-tuned or self-hosted models in comparisons:- Python
- TypeScript
Custom Judge Model
By default, evaluations useopenai/gpt-4o-mini via OpenRouter as the judge. You can specify a different judge:
- Python
- TypeScript
API Reference
evaluate()
Evaluate outputs against metrics. Use either dataset or test_cases.
- Python
- TypeScript
Either
dataset or test_cases must be provided.compare_models() / compareModels()
Compare multiple models on the same dataset.
- Python
- TypeScript
Model Helpers
Metric Helpers
EvaluationDataset
A class for managing datasets and test cases when using your own LLM pipeline.- Python
- TypeScript
LLMTestCase
A test case for evaluation containing input and actual output from your LLM.- Python
- TypeScript
Golden
A golden record from a dataset containing input and optionally expected output.- Python
- TypeScript
Next Steps
Tracing
Log traces to enable dashboard evals
Model Testing
A/B test models in production
Prompt Testing
Version and test your prompts

