v0.1.70 - Update Platform API contract (#87)
🌟 Summary
The v0.1.70 release synchronizes the Ultralytics Platform API contract and Python SDK with updated inference, prediction, similarity-search, and export details.
📊 Key Changes
- 💰 Added an optional estimated provider-cost field to inference responses.
- 🖼️ Updated image-prediction options: replaced
claude-sonnet-5withclaude-sonnet-5-5, addedgrok-4.7, and raised the documented class limit from 100 to 200. - 🔎 Clarified that similarity search can include public, personal, and team datasets, and better explained the similarity score.
- 📦 Updated export API documentation and generated SDK: removed the
kerasoption and changed the example export format to TorchScript. The supported format list was reordered, not expanded or reduced. - 🔄 Refreshed the generated Python SDK to version
0.1.70, matching the API contract. CI checks that the generated package stays aligned. - 🧭 Updated contributor guidance and clarified CI, release, and contract-sync behavior.
🎯 Purpose & Impact
- Developers get SDK types and options that more accurately reflect the current Platform API, including cost information and the latest documented prediction models.
- Similarity-search documentation now makes the available dataset sources clearer.
- Export clients are less likely to rely on an option that is no longer in the contract; the format-list reorder itself does not change supported formats.
- Automated contract synchronization and validation help keep future SDK releases consistent with the API.
What's Changed
- Refresh AGENTS.md and align zh-CN CI triggers by @glenn-jocher in #85
- Update Platform API contract by @UltralyticsAssistant in #86
- Update Platform API contract by @UltralyticsAssistant in #87
Full Changelog: v0.1.65...v0.1.70