#[non_exhaustive]pub struct Upload {
pub project_id: String,
pub api_key: String,
pub model: String,
pub backend: String,
pub cases_dir: String,
/* private fields */
}Expand description
Where and how to upload a run, attached to a RunMeta via
RunMeta::upload_to. When present on the meta passed to a run, the
runner POSTs the assembled RunRecord to the EvalForge API after the cases finish.
#[non_exhaustive]: build it through the RunMeta builder (upload_to / upload_from_env +
optional upload_model / upload_cases_dir), never a struct literal, so new fields stay
non-breaking.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_id: StringThe EvalForge Project UUID the run is uploaded under (the URL path param). User-supplied.
api_key: StringThe account-level API key, sent as Authorization: Bearer {api_key}. User-supplied.
model: StringThe model / grouping key recorded on the uploaded RunRecord. Used ONLY when the run has no
Persist target; when persist is set, persist’s identity is reused so the
saved file and the uploaded record share one dedup key. Set via
upload_model.
backend: StringThe backend KIND recorded on the uploaded record (the report’s Backend column). Used ONLY when persist is absent; when empty the record falls back to the report’s descriptive backend label.
cases_dir: StringThe case directory recorded on the uploaded record. Used ONLY when persist is absent. Set via
upload_cases_dir.