Components
Types of components
Components offers an extensive solution for users to interact with AI solutions : production efficiency, quality control, downtime analysis, and more..
The Control Panel seamlessly integrates with other manufacturing systems and databases, ensuring that all relevant data is consolidated into a single platform. The platform offers different types of component solutions to monitor and visualize AI solutions:
- Dashboard: A native, built-in and easy-to-use, dashboarding tool.
- Grafana: Using Grafana dashboard instead of our native one as an alternative. A Grafana instance must be integrated in prior to be able to use it.
- Iframe: Integrate any content or app as long as an Iframe link can be obtained, such as external data tools, reporting apps (PowerBI, Tableau, etc.), images feed, and much more.
- Streamlit: You can embed deployed Streamlit Python solutions as components. This is a good solution for data scientists and AI/ML engineers to deliver interactive data apps and integrate them inside the platform.
Creating a component
To create any of the components mentioned above, navigate to the Control Panel page and click the + Add button in the top-left corner. This will open a settings panel based on the type of component you want to create.
Get specific component using get_components()
get_components()
The .get_components()
method retrieve a list of components from the platform. You can apply filters such as label, template, twin, filter by organization-only components, and even search by a partial name.
dashboards = wizata_dsapi.api().get_components(
label_id=ad_business_label_id,
twin_id=twin_id,
name="Anomaly",
template_id=template_id,
organization_only=False
)
For a full list of parameters, refer to the SDK documentation: WizataDSAPIClient
Deleting a component
To delete a component, simply open it and click on Settings > Delete
Or using the Python toolkit, by first retrieving the object with .get_components()
, then passing the solution component ID to .delete_component()
# With .get_components()
dashboards = wizata_dsapi.api().get_components(
label_id=ad_business_label_id,
twin_id=twin_id,
name="Anomaly Detection dashboard"
)
wizata_dsapi.api().delete_component(dashboards[0].solution_component_id)
# If we know the id
component_id = "0a313012-974e-4f0d-b526-08dd34990072"
wizata_dsapi.api().delete_component(component_id)
Notes:
- Please remember that
.get_components()
returns a list of objects, not a single object..delete_component()
accepts only the component's ID and not the object itself.
In the following articles, we will explore the different types of components available on the platform and their functionalities.
Updated 27 days ago