internal

Set Smart Doc Extraction Field Preference

Save (or clear) a reviewer's pick of which backend's field result was better for one field of one document, from the comparison pane. Picks are aggregated into preference_score on the returned item and stored in a per-run sidecar file (<run_id>-preferences.json), so re-running the eval script never wipes out prior human judgments for an earlier run.

post/internal/evals/smart-doc-extraction/preference

Request body

run_idstring required
upload_idstring required
field_idstring required
preferencestring nullable

Response

Successful Response

upload_idstring required
groupstring required
filenamestring nullable
document_typestring nullable
smart_document_typestring required
preview_urlstring nullable
ground_truth_expiration_datestring nullable
backendsobject required
field_preferencesobject
preference_scoreobject

Changes

No recorded changes to this endpoint across all 1 revision of this API.