Context
Change Type: API change
Product area: Analytics
Component: Streaming Analytics
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com, jp.cumulocity.com, cumulocity.com, us.cumulocity.com
Technical details
Build artifact: apama-in-c8y (27.180.0)
Internal ID: PAB-5326
Description
The ONNX block (Public Preview) in Analytics Builder now supports models uploaded to the Cumulocity files repository as a standalone .onnx file. Previously, the block only supported models packaged inside a .zip archive.
The ONNX model name parameter must now include an explicit .onnx or .zip file extension:
<modelName>.onnxlooks for a standalone<modelName>.onnxfile.<modelName>.zipextracts the archive and looks for<modelName>.onnxinside it.
Previously, <modelName>, <modelName>.onnx, and <modelName>.zip were always resolved by extracting a <modelName>.zip archive and looking for <modelName>.onnx inside.
Important
This is a breaking change for existing models that omit the file extension, or that use a.onnxextension to extract a model from a.zipfile uploaded to the files repository. To migrate, ensure the file extension used in your Analytics Builder model matches the type of file you have uploaded.