docs: replace removed order API with jobs in README

#2
by Rapidata-Bot - opened
Rapidata org

The order API was removed from the rapidata SDK (v3.21.0), so the annotation-setup snippets in this README fail with AttributeError: 'RapidataClient' object has no attribute 'order'.

This updates them to the current job flow:

  • client.order.create_*_order(...) + order.run() β†’ client.job.create_*_job_definition(...) + audience.assign_job(...) + job.get_results()
  • Pre-defined validation sets β†’ the curated image-text alignment audience (aud_MU1GZYoESyO)
  • filters=[LanguageFilter(["en"])] β†’ audience.filter([LanguageFilter(["en"])])
  • Removed unused LabelingSelection/ValidationSelection imports and the dead improve_order_quality docs link

All calls were checked against the rapidata 3.25.8 signatures.

RapidataAI changed pull request status to merged

Sign up or log in to comment