Progress Tracking#
Overview#
ProgressTrackingInterceptor
tracks evaluation progress by counting processed samples and optionally sending updates to a webhook endpoint.
Configuration#
CLI Configuration#
--overrides 'target.api_endpoint.adapter_config.use_progress_tracking=True,target.api_endpoint.adapter_config.progress_tracking_url=http://monitoring:3828/progress'
YAML Configuration#
target:
api_endpoint:
adapter_config:
interceptors:
- name: "endpoint"
enabled: true
config: {}
- name: "progress_tracking"
enabled: true
config:
progress_tracking_url: "http://monitoring:3828/progress"
progress_tracking_interval: 10
request_method: "PATCH"
output_dir: "/tmp/output"
Configuration Options#
Parameter |
Type |
Default |
Description |
---|---|---|---|
|
|
|
URL to post progress updates. Supports expansion of shell variables. |
|
|
|
Update every N samples |
|
|
|
HTTP method for progress updates |
|
|
|
Directory to save progress file |
Behavior#
The interceptor tracks the number of responses processed and:
Sends webhook updates: Posts progress updates to the configured URL at the specified interval
Saves progress to disk: If
output_dir
is configured, writes progress count to aprogress
file in that directoryResumes from checkpoint: If a progress file exists on initialization, resumes counting from that value