QUICKSTART
VAI Toolkit is the API for interacting with the Virtuous AI cloud platform.
pip install -i https://test.pypi.org/simple/ vai-toolkit
from vai_toolkit import (client, pipeline, data, model)
Common Commands
These following are the most common commands, to keep in your pocket.
-
Upload data:
data.upload_data(user_secret, pipeline_key, data, date, time, new_columns=False, duplicates=False, new_categories=False, table_name='') -
Interact:
model.predict(user_secret, pipeline_key, model_key, from_date, to_date, config, option)
Definitions
Understanding the terminology below that will make development much easier.
-
Owner: the billing account which creates the initial account
-
Organization: an entity with resources that are isolated from other organizations
-
Pipeline: a project with all of the pooled resources need to perform a business objective
- Location: Isolate data groups with their own permissions that widgets bid to and models span.
-
Model: a model trained on data to perform on or numerous tasks (e.g. classification, prediction, or other inference)
-
Widget: Objects used to interact with our platform in numerous ways to easily integrate with your application needs.
(See the next section for an introduction)