In the Dashboard the Try > Nomad button should create a deployment (create_deployment().
The deployment info can be retrieved in get_deployment(). When the UI endpoint is active, the Dashboard will redirected directly to that endpoint.
While the deployment is being created, the Dashboard can show a spinner or similar.
For more granularity, during the creation process there are to possible states:
the deployment is queued (ie. status!=running)
--> Dashboard can show 🔄 Your module is being deployed ...
the deployment is running, but the endpoint is still not active
--> Dashboard can show 🔄 Initializing the AI model ...
Relevant PAPI branch: PAPI (try-nomad)
In the Dashboard the
Try > Nomad
button should create a deployment (create_deployment()
. The deployment info can be retrieved inget_deployment()
. When the UI endpoint is active, the Dashboard will redirected directly to that endpoint.While the deployment is being created, the Dashboard can show a spinner or similar. For more granularity, during the creation process there are to possible states:
🔄 Your module is being deployed ...
🔄 Initializing the AI model ...