




















nexa-gauge is a graph-based evaluation system for LLM and LVLM application outputs. It replaces ad-hoc manual checks with a repeatable pipeline that can be run on local datasets or hosted datasets.
At a high level, nexa-gauge:
This architecture supports day-to-day prompt iteration, benchmark runs, and release gating with measurable quality and safety signals.
Exact-match metrics are useful but limited for modern generative systems. In many real tasks, multiple answers can be valid, quality depends on context use, and failure modes are semantic rather than lexical.
LLM-as-a-judge provides scalable semantic evaluation by scoring outputs against explicit criteria. In nexa-gauge, this capability is combined with targeted metrics so teams can evaluate quality from multiple angles:
relevance for input-output alignment.grounding for support in provided context.redteam for safety and risk behavior.geval for rubric-based judgment.reference for overlap with known reference answers.nexa-gauge provides two operational modes:
run executes the selected branch and returns final artifacts.estimate computes uncached eligible cost before execution.Both modes follow the same branch-planning logic, which makes cost estimates actionable before you run full evaluations.
Caching is route-aware and deterministic. Reuse occurs only when input content and routing semantics are unchanged. Changes to inputs, prompts, or model routing intentionally invalidate affected steps.
Practical outcome:
| Node | Purpose |
|---|---|
scan | Normalizes record fields and initializes case state. |
eval | Aggregates metric branches into a unified result. |
report | Projects final output into a stable report contract. |
| Node | Purpose |
|---|---|
chunk | Splits generated text for downstream extraction. Semchunk .. |
refine | Removes, deduplicates, reranks, selects topk chunks. mmr |
| Node | Purpose |
|---|---|
claims | Extracts atomic claims from generated output. |
geval_steps | Resolves evaluation steps for GEval scoring. |
| Node | Purpose |
|---|---|
relevance | Measures how directly claims answer the input. |
grounding | Measures whether claims are supported by context. |
redteam | Evaluates safety and policy risk using rubrics. |
geval | Runs final rubric-driven LLM judging. |
reference | Computes reference-based lexical metrics. |
For dataset fields, accepted aliases, and metric activation rules, see the Data Schema.
For iterative development, repeated runs on unchanged inputs and routing should show high cache reuse and lower incremental latency.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。