Skip to content

v0.1.48 - Update Platform API contract (#72)

Choose a tag to compare

@github-actions github-actions released this 18 Sep 00:39
· 107 commits to main since this release
7d746d6

🌟 Summary

v0.1.48 updates the Ultralytics Platform API and regenerated Python SDK with broader auto-annotation model support, clearer handling of incomplete predictions, and richer similar-image metadata. 🚀

📊 Key Changes

  • Vision-language model support: Image and dataset auto-annotation now accept qwen and moondream in addition to ul:// model URIs.
  • Partial prediction reporting:
    • Image predictions can include partial=true when output limits prevent all objects from being returned.
    • Batch results can include partialImages to identify images with incomplete predictions.
  • Expanded similar-image metadata: Similar-image responses now include:
    • Filename
    • Image hash
    • Width
    • Height
  • Regenerated Python SDK: Updated synchronous and asynchronous methods, type definitions, and documentation to match the Platform API contract.
  • API version update: The OpenAPI contract and Python package are updated to version 0.1.48, with deterministic generation and CI validation.

🎯 Purpose & Impact

  • 🧠 More flexible auto-annotation: Users can select Qwen or Moondream for vision-language-based labeling workflows, including dataset-level annotation.
  • 🔎 Greater transparency: Applications can detect when predictions may be incomplete instead of treating truncated results as fully accurate.
  • 🖼️ Better image management: Additional metadata makes it easier to identify, compare, and process similar images.
  • 🐍 Improved developer experience: The regenerated Python SDK provides accurate typing and API documentation for the new request and response fields.
  • ⚠️ Important consideration: Vision-language models do not return confidence scores, and truncated Qwen results may omit objects or classes. Applications should check the new partial-result indicators before accepting predictions as complete.

What's Changed

Full Changelog: v0.1.46...v0.1.48