Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## 0.3.0 (unreleased)

### Shared Metric Contract

- Added public `MetricInput -> MetricResult` scorer/metric runtime types and `ScorerFunctionMetric`.
- Extended BYOB `@scorer` with typed scorer metadata and `to_metric()` while preserving current dict scorer behavior.
- Added optional `config_schema` support for typed scorer configs while keeping raw dict configs as the default.
- Split typed scorer config binding into strict `bind(config=ConfigModel(...))` and coercive `bind_raw_config(config={...})` paths.
- Added `@scorer` support for class-based `Metric` objects.

### Adapter Proxy (Breaking — replaces LiteLLM)

- **LiteLLM removed**: The `litellm` dependency, `proxy` and `proxy-full` extras, and `litellm_settings` config field are all removed. The adapter proxy is now built-in with zero external proxy dependencies.
Expand Down
36 changes: 36 additions & 0 deletions src/nemo_evaluator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,24 @@
from nemo_evaluator.environments.custom import benchmark, scorer
from nemo_evaluator.environments.registry import get_environment, list_environments, load_benchmark_file, register
from nemo_evaluator.scoring import (
BooleanValue,
CandidateOutput,
ContinuousScore,
DatasetRow,
DiscreteScore,
Label,
Metric,
MetricDescriptor,
MetricInput,
MetricOutput,
MetricOutputSpec,
MetricResult,
MetricScorerFunction,
ScorerCallable,
ScorerConfig,
ScorerFunctionMetric,
ScorerInput,
ScorerReturn,
answer_line,
code_sandbox,
code_sandbox_async,
Expand All @@ -36,6 +53,7 @@
multichoice_regex,
needs_judge,
numeric_match,
score_names_from_output_spec,
)
from nemo_evaluator.solvers import (
ChatSolver,
Expand Down Expand Up @@ -73,6 +91,24 @@
"benchmark",
"scorer",
"ScorerInput",
"Metric",
"BooleanValue",
"DatasetRow",
"CandidateOutput",
"ContinuousScore",
"DiscreteScore",
"Label",
"MetricInput",
"MetricOutput",
"MetricOutputSpec",
"MetricDescriptor",
"MetricResult",
"MetricScorerFunction",
"ScorerCallable",
"ScorerConfig",
"ScorerFunctionMetric",
"ScorerReturn",
"score_names_from_output_spec",
# Scoring primitives
"exact_match",
"multichoice_regex",
Expand Down
Loading
Loading