Sample upload
SampleUpload
dataclass
#
A media/identifier pair as submitted to a benchmark participant.
Used as the item of a FailedUpload, so a caller recovering from a
partial upload has both halves of the pair and can re-submit it directly
instead of reconstructing it from the logs.
Attributes:
| Name | Type | Description |
|---|---|---|
media |
str
|
The media asset (local path or URL) or text content. |
identifier |
str
|
The benchmark identifier/prompt the media was paired with. |