-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Motivation
The FE must know if a brick requires a model.
This is needed for the following cases:
- show the icon "ai" in the brick list
- show the available models when a brick is added.
proposal
- add the
require_modelin the list bricks
curl 127.0.0.1:8800/v1/bricks
"bricks": [
{
"id": "arduino:dbstorage_sqlstore",
"name": "Database - SQL",
"author": "Arduino",
"description": "Simplified database storage layer for Arduino sensor data using SQLite local database.",
"category": "storage",
"status": "installed",
// added
"require_model": false
},
{
"id": "arduino:object_detection",
"name": "Object Detection",
"author": "Arduino",
"description": "",
"category": "video",
"status": "installed",
// added
"require_model": true
},
- add the
require_modelin the brick details
curl 127.0.0.1:8800/v1/bricks/arduino:object_detection
{
"id": "arduino:object_detection",
"name": "Object Detection",
"author": "Arduino",
"description": "",
.... other
"require_model": true
},Metadata
Metadata
Assignees
Labels
No labels