Repository navigation
v0.3.0
·
109 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
🎭 NeMo User Sim 0.3.0 adds an extension API for building probes and scorers in a package of your own, financial services in Japanese and Korean, and tool-calling conversations that chain calls within a turn. Python 3.10 is supported through the 0.3 releases.
Highlights
- Extensions: import everything an extension needs from
usersim.extension, and test it offline withusersim.testing. A probe class declares its assets, settings, output columns and default scorers, and the extension guide walks through a complete package. #140, #110, #108 - Probe settings: give a probe its settings with
--probe-option PROBE.SETTING=VALUE, checked before any model call, and run each probe's default scorers withusersim eval --scorers auto. #140 - Financial services in Japanese and Korean: banks for
ja_JPandko_KR, andhi_Deva_INandhi_Latn_INrun on theen_INbank. #90, #96, #86 - Tool calling: the assistant can chain tool calls within a turn, and the simulated user holds the API keys and passwords its tools take. #142
- Fixes: every tool call gets a reply; replies are measured comparably across languages, and a user turn in any locale can hand over a key or a code; financial services reads Japanese and Korean text and amounts and finds open orders; generated finance documents follow each region's rules; and the tool catalog's specs match their upstream sources. #142, #88, #89, #93, #95, #140
Upgrade guidance
python -m pip install --upgrade "usersim>=0.3.0"In a uv project, run uv add "usersim>=0.3.0". usersim 0.3.0 requires data-designer>=0.9.7,<0.10.
This release has breaking changes:
- Extensions: import from
usersim.extensionandusersim.testing; other modules are internal.@register_probetakes the class alone, withprompt_versionandvariantsdeclared on the class, and a probe has nofamily. The extension API page lists every name. - Runs:
--probe-option financial_services.<setting>=<value>replaces--finance-tier-mixand--finance-retrieval-mode,USERSIM_ASSET_PATHreplacesUSERSIM_ASSETS_DIR, and--seed-dataset-pathreplaces--toolset-seed-path. A run's rows hold only the columns of the probes in its mix. Rows stored by 0.2 that hold a financial_services or tool_calling setting need storing again. - Results: tool_calling rows get new trajectory ids, and stored evaluations are judged again under the evaluator's new prompt.
Full changelog: v0.2.0...v0.3.0