Skip to content

Config reference: evaluation

  • Enterprise tuning surface


    Defaults + constraints are rendered directly from Pydantic.

  • Env keys when available


    Many fields have an env-style alias (from TriBridConfig.to_flat_dict()).

  • Tooltip-level guidance


    If a matching glossary entry exists, you’ll see deeper tuning notes.

Config reference Config API & workflow Glossary

Total parameters: 14

Group index
  • (root)

(root)

JSON key Env key(s) Type Default Constraints Summary
evaluation.baseline_path BASELINE_PATH str "data/evals/eval_baseline.json" Baseline results path
evaluation.eval_dataset_path EVAL_DATASET_PATH str "data/evaluation_dataset.json" Evaluation dataset path
evaluation.eval_multi_m EVAL_MULTI_M int 10 ≥ 1, ≤ 20 Multi-query variants for evaluation
evaluation.judge_max_tokens EVAL_JUDGE_MAX_TOKENS int 4096 ≥ 256, ≤ 16000 Output token budget for eval judges: the Ragas judge alias and the Promptfoo llm-rubric grader. Independent of chat.max_tokens because faithfulness statement lists and reasoning-capable aliases need more room than a chat answer; a truncated verdict fails the run closed.
evaluation.ndcg_at_10_k int 10 ≥ 1, ≤ 200 K used for ndcg_at_10 metric (default 10).
evaluation.precision_at_5_k int 5 ≥ 1, ≤ 200 K used for precision_at_5 metric (default 5).
evaluation.promptfoo_grader_model PROMPTFOO_GRADER_MODEL str "" LiteLLM alias used by Promptfoo llm-rubric assertions; empty uses the chat default alias.
evaluation.ragas_enabled RAGAS_ENABLED bool false Run Ragas generation-quality scoring (faithfulness, answer relevancy) during eval runs. Each entry is answered through the LiteLLM gateway and judged by the configured judge alias.
evaluation.ragas_judge_model RAGAS_JUDGE_MODEL str "" LiteLLM alias used as the Ragas judge; empty uses the chat default alias.
evaluation.ragas_judge_timeout_s RAGAS_JUDGE_TIMEOUT_S int 600 ≥ 30, ≤ 3600 Per-request timeout for Ragas judge calls through LiteLLM. Local CPU serving needs minutes; a timeout fails the eval run closed rather than skipping scores.
evaluation.ragas_metrics list[str] ["faithfulness", "answer_relevancy"] Ragas metrics to compute per eval entry (faithfulness, answer_relevancy).
evaluation.recall_at_10_k int 10 ≥ 1, ≤ 200 K used for recall_at_10 metric (default 10).
evaluation.recall_at_20_k int 20 ≥ 1, ≤ 200 K used for recall_at_20 metric (default 20).
evaluation.recall_at_5_k int 5 ≥ 1, ≤ 200 K used for recall_at_5 metric (default 5).

Details (glossary)

evaluation.baseline_path (BASELINE_PATH) — Baseline Path

Category: general

BASELINE_PATH is where evaluation baselines are stored so retrieval and generation changes can be compared to a stable reference over time. A strong baseline captures both quality metrics and operational behavior, including ranking quality, grounding rate, latency, and abstention behavior. Store immutable run identifiers with dataset version and config hash so regressions can be traced to exact parameter changes. Without baseline discipline, tuning often produces short-term wins on narrow queries while silently degrading difficult slices that matter in production.

Badges: - Evaluation

Links: - GaRAGe: Grounded RAG Evaluation Benchmark (arXiv) - LangSmith Evaluation - MLflow Tracking - Weights and Biases Experiment Tracking