QUICK LINKS

GETTING STARTED

COMPONENTS

TUTORIALS

Workspace

Within each workspace, you can create and manage Projects.

The XAI object instance has all the necessary methods to interact with your workspaces. You can use the following functions to create a new workspace, list all existing workspaces and select a particular workspace. 


# creating a new workspapce name
workspace = aryaxai.create_workspace('workspace name')

# create a new workspace with custom server configurations
# for avalilable custom server configuration check xai.available_custom_servers()
# workspace = aryaxai.create_workspace('workspace name', "t3.medium")

NOTE: While anyone can create a workspace, only the Organization admin or owner can view all workspaces within the organization. You can invite users directly to your workspace or project without needing to assign them as the owner or admin of the organization.

List all workspaces available:


# list all workspaces available
aryaxai.workspaces()

Select a workspace name:


# select a workspace name
workspace = organization.workspace('sdk-testing')


Create a new workspace with dedicated server configurations


# start custom server of workspace
# workspace.start_server()

# stop custom server of workspace
# workspace.stop_server()

# update custom server of workspace
# workspace.update_server('t3.medium')

Additional functions:

Delete or rename workspace:


# Deleting Workspace
#workspace.delete_workspace()

# rename workspace
# workspace.rename_workspace('new_workspace_name')

Project

A project represents the ML use case you want to solve eg. Loan status prediction, house sale prediction

To create a new project:


# create project in workspace
workspace.create_project('Loan Status Prediction')

# create project name
project = workspace.create_project('project_name')

# create project with custom server
# workspace.create_project('Loan Status Prediction', 't3.medium')

Manage projects:


# list of projects
workspace.projects()

# select a project name
project = organization.workspace('workspace_name').project('project_name')

Delete or rename projects:


# delete project
project.delete_project()

# rename project
project.rename_project('new_project_name')

Manage custom server of projects:


# start custom server of project
# project.start_server()

# stop custom server of project
# project.stop_server()

# update custom server of project
# project.update_server('t3.medium')