Skip to main content

What are Metrics?

Metrics define how Galtea scores your product’s outputs during evaluations. Each metric captures one specific quality dimension — factual accuracy, tone, security resilience, or a custom criterion you define.
Metrics are organization-wide and can be reused across multiple products. You can link metrics to Specifications for structured evaluation workflows.
You can create, view and manage your metrics on the Galtea dashboard or programmatically using the Galtea SDK.

Two Families of Metrics

  • Deterministic metrics apply rule-based logic — string matching, numerical checks, bounding box overlap. Results are consistent and reproducible. Built-in examples: BLEU, ROUGE, Text Similarity, Tool Correctness. You can also define your own using the SDK’s CustomScoreEvaluationMetric class — see our tutorial.
  • Non-deterministic metrics use an LLM-as-a-judge to assess open-ended qualities like factual accuracy, misuse resilience, and task completion. Galtea’s judges are human-aligned and optimized for each evaluation type. You can also create your own AI Evaluation metrics with a custom scoring rubric.

How Metrics Are Evaluated

Every metric has an Evaluation Type that determines how scoring happens:

Self-Hosted

Your own logic runs locally; only the score is uploaded.

AI Evaluation

An LLM scores responses using a rubric you define.

Human Evaluation

Human annotators score responses using defined criteria.

Available Metrics

The following table lists the default metrics available in the Galtea platform. You can also create custom metrics or generate metrics from specifications.

SDK Integration

Metrics Service SDK

Manage metrics using the Python SDK

Metric Properties

Text
required
The name of the metric. Example: “Factual Accuracy”
Text
A brief description of what the metric evaluates.
Text
The model used to score the metric. Does not apply to deterministic metrics. Example: “GPT-4.1”
Text List
Tags for categorization. Example: [“RAG”, “Conversational”]
Enum
required
How outputs are scored: AI Evaluation, Human Evaluation, or Self-Hosted. See Evaluation Types for full details.
List[String]
User groups for Human Evaluation metrics. Controls which annotators can score evaluations for this metric.
List[Enum]
required
The data fields available to the evaluator. See Evaluation Parameters for the full reference. Not applicable for Self-Hosted metrics.

Concepts overview

How Galtea’s concepts connect — diagram + per-entity quick reference.

Evaluation

The assessment of an evaluation using a specific metric’s criteria

Create Custom Metrics

Write your own judge prompt and scoring rubric.