1. Wrap your existing function
Install@hue-run/sdk@0.1.4 for Node.js 24 or hue-run==0.1.2 for Python 3.10+. First configure tracing in the same Hue project as the dataset.
- TypeScript
- Python
Expose a server-side POST route. This example uses your application’s existing agent and Hue client:Adapt the application function and result mapping to your existing code. The target must honor
signal. If your application owns OpenTelemetry directly, supply its tracer and a flush callback that checks both trace and log delivery. Keep shared providers alive between requests.Your server also needs OpenTelemetry context propagation to keep child spans in the same trace across asynchronous work. Reuse the context manager initialized by your framework or NodeSDK.Standalone Node.js without existing OpenTelemetry setup
Standalone Node.js without existing OpenTelemetry setup
If your app uses only This configures context propagation; keep using your existing Hue client and the
createHue(), initialize a context manager once during server startup, before handling managed requests. Skip this step when your framework or NodeSDK already provides one.tracer: hue.tracer option above.baseUrl/base_url supports another Hue deployment; never take a callback origin from a request.
Use a 120-second host request limit for the default 90-second execution plus 30-second finalization allowance. V1 uses synchronous target requests. Work still running at the deadline remains uncertain; Hue does not automatically invoke it again.
2. Register the target
Create a dedicated random server credential in your normal secret manager. Configure it asHUE_MANAGED_TARGET_SECRET in your application.
In Hue, save your dataset version, select Run experiment, then Register target. Enter:
- A recognizable target name and its public HTTPS endpoint.
- The same dedicated target credential. Keep your tracing
HUE_API_KEYseparate. - Capabilities your application actually implements, such as
input:docx,input:pptx,output:docxandoutput:pptx. - A request timeout that fits your host, up to 120 seconds.
3. Run the dataset
Dataset rows show a one-line input and the case’s defined Checks. Hover or focus an icon for its name;+N lists additional requirements. Open the case to read its full input and expected output. Scores appear after a run.
Choose the target, checks and application configuration in Run experiment. Review the case count and unsupported-case summary before selecting Run.
A run keeps the dataset version it started with and covers all its cases, with one execution per supported case and at most two active or unresolved target calls per project. Cases with unsupported requirements remain visible and receive no fabricated quality score.
This release runs built-in deterministic checks and configured document verifiers. Hosted AI judges, custom hosted code and manual evaluators are separate workflows.