Skip to content

Core concepts ​

Workspace ​

A workspace represents the business account. Admin-only pages include Settings, Tokens, Integrations, and Billing. Owners and admins can invite users and manage workspace access.

Integrations ​

Integrations store provider credentials for the workspace:

  • OpenRouter is required for leaderboard creation, model auto-selection, judge evaluation, and OpenRouter model calls.
  • Hugging Face is recommended for private or gated datasets.

Workspace owners and admins can validate and manage integrations through the session-authenticated /api/integrations endpoints.

API token ​

A Dr.Gero API token is a server-side credential that starts with drgero_. It can have scopes, an optional expiration, and an optional dollar budget. Runtime endpoints accept it as:

http
Authorization: Bearer drgero_...

or, where CORS allows it:

http
X-API-Key: drgero_...
X-Dr.Gero-API-Key: drgero_...

Leaderboard ​

A leaderboard combines a task prompt, dataset, candidate models, evaluation configuration, run history, and the current production-routing strategy. For automatic evaluation, best_balanced is the default and can split traffic between complementary ranked models. You can instead follow the ranking winner or pin a model manually.

Challenge prompt ​

The challenge prompt is the system/task prompt applied to dataset examples and inference requests. If the prompt contains {input}, {question}, or {query}, Dr.Gero replaces the placeholder. Otherwise, it appends the user input to the prompt.

Dataset modes ​

ModeDescriptionTypical use
GETRead a .jsonl or .jsonl.gz dataset from Hugging Face.Static benchmark or curated eval set.
PUSHAccept examples through a webhook and periodically consolidate them into a JSONL dataset.Production feedback loops and trace collection.

Human evaluation builds its dataset from reviewed cases instead of requiring GET or PUSH data before model selection.

Evaluation types ​

TypeDescription
Exact matchCompare model output with expected output exactly or through deterministic matching.
JudgeUse a judge model, usually via OpenRouter, to score outputs against a rubric or expected answer.
HumanEnter cases without a prepared dataset, compare blind answers, and confirm human judgments. Full guide.

Candidate model ​

A candidate model is a model endpoint attached to a leaderboard. It may be OpenRouter, Custom, Hugging Face, or a Dr.Gero model. Leaderboard runs evaluate candidate models and write ranking rows.

Run ​

A run evaluates selected candidate models against the leaderboard dataset. Runs can be manual, scheduled, or triggered by dataset improvement workflows. Each run stores model configs, leaderboard config, cost, timing, and ranking output.

Trace ​

A trace is a JSON record of a run, inference call, dataset event, or manual event. Traces power debugging, auditing, and dataset improvement.

Dr.Gero model ​

A Dr.Gero model is a workspace model object that can be assigned to leaderboards and fine-tuned. Fine-tune runs can use leaderboard datasets and support schedules.

Human case and comparison ​

A human case snapshots an input, context, prompt and attachments for the current candidates. Confirmed human judgments determine accuracy; failures and abstentions are excluded. Per-case prompts and documents stay within the same comparison, while changes to the leaderboard default prompt or model configuration start a new comparison. Production serving requires a common case reviewed for every candidate and follows its equal-case ranking winner. See Human evaluation.