AI Model Delivery Component

Azure to AI Model Manager Workflow

Portfolio
Industrial AI
Product
AI Asset Manager
AI Model Manager
Software version
1.0.0
Language
en-US
  1. Mm_delivery.py script delivers the created edge package to an IoT device using Azure IoT Hub and Event Hub.

    • Retrieves the created edge package from the Azure ML registry.

    • Extracts the necessary metadata for storage and delivery.

    • Uses an AzureDelivery utility to send the package to an IoT device.

    • Confirms successful delivery or raises an error if the delivery fails.

  2. There are two keys that you would be needing from IoT hub to deliver the model:

  • iot_hub_con_str = IoT Hub Connection String (cloud to device messages through IoT Hub)

  • iot_event_hub_con_str = IoT Event Hub Connection String (receive device to cloud messages via Event Hub)

  • device_id: The device name created on IoT hub.

How to get IoT Hub connection string:

Azure Portal --> Choose you IoT Hub --> security settings-->Shared access policies --> Service --> Primary connection string

How to get IoT event Hub connection string:

Azure Portal- -> Choose you IoT Hub -->hub settings--> Built-in endpoints --> Event Hub compatible endpoint

Once all this set and configured, you should be able to deliver the Edge zip package from the azure model registry to your edge device.

Parent topic:AI Model Packaging & Delivery