Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 05:51
· 109 commits to main since this release
Immutable release. Only release title and notes can be modified.
e628267

🎭 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 with usersim.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 with usersim eval --scorers auto. #140
  • Financial services in Japanese and Korean: banks for ja_JP and ko_KR, and hi_Deva_IN and hi_Latn_IN run on the en_IN bank. #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.extension and usersim.testing; other modules are internal. @register_probe takes the class alone, with prompt_version and variants declared on the class, and a probe has no family. The extension API page lists every name.
  • Runs: --probe-option financial_services.<setting>=<value> replaces --finance-tier-mix and --finance-retrieval-mode, USERSIM_ASSET_PATH replaces USERSIM_ASSETS_DIR, and --seed-dataset-path replaces --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