Repository navigation
v0.1.48 - Update Platform API contract (#72)
🌟 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
qwenandmoondreamin addition toul://model URIs. - Partial prediction reporting:
- Image predictions can include
partial=truewhen output limits prevent all objects from being returned. - Batch results can include
partialImagesto identify images with incomplete predictions.
- Image predictions can include
- 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
- Update Platform API contract by @UltralyticsAssistant in #72
Full Changelog: v0.1.46...v0.1.48