Create AI Model
Create a new AI model in Levity for image, text, or document classification.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_AI_MODEL])
Train AI Model
Initiate the training process for an existing AI model in Levity.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAIN_AI_MODEL])
Make Prediction
Use a trained AI model to make a prediction on new data.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MAKE_PREDICTION])
Add Training Data
Add new labeled data to an existing AI model for improved training.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_TRAINING_DATA])
Delete AI Model
Remove an AI model from the Levity platform.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_AI_MODEL])
Update Model Settings
Modify the settings of an existing AI model, such as name or description.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_MODEL_SETTINGS])
Export Model Results
Export the results and predictions of an AI model to a file.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPORT_MODEL_RESULTS])
Create Workflow
Set up a new automated workflow in Levity combining multiple AI models or actions.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_WORKFLOW])
Activate Workflow
Start a previously created workflow to begin automated processing.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ACTIVATE_WORKFLOW])
Deactivate Workflow
Stop an active workflow from running.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DEACTIVATE_WORKFLOW])
Create API Key
Generate a new API key for authenticating requests to the Levity API.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_API_KEY])
Revoke API Key
Invalidate an existing API key to prevent further use.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REVOKE_API_KEY])
Upload Dataset
Upload a new dataset to Levity for use in training or testing AI models.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_DATASET])
Create Custom Integration
Set up a new custom integration between Levity and another service or tool.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOM_INTEGRATION])
Model Training Completed
Triggered when an AI model finishes its training process.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_TRAINING_COMPLETED])
Prediction Made
Triggered when a prediction is made using an AI model.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PREDICTION_MADE])
New Data Added
Triggered when new training data is added to an AI model.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_DATA_ADDED])
Workflow Execution Started
Triggered when a workflow begins execution.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.WORKFLOW_EXECUTION_STARTED])
Workflow Execution Completed
Triggered when a workflow finishes its execution.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.WORKFLOW_EXECUTION_COMPLETED])
API Key Created
Triggered when a new API key is generated.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_KEY_CREATED])
Dataset Upload Completed
Triggered when a dataset upload is successfully completed.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DATASET_UPLOAD_COMPLETED])
Model Error Detected
Triggered when an error is detected in an AI model's operation.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_ERROR_DETECTED])
Integration Connected
Triggered when a new integration is successfully connected to Levity.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTEGRATION_CONNECTED])
Account Usage Limit Reached
Triggered when the account reaches its usage limit for predictions or API calls.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ACCOUNT_USAGE_LIMIT_REACHED])
New User Invited
Triggered when a new user is invited to join the Levity workspace.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_USER_INVITED])
Model Version Created
Triggered when a new version of an AI model is created.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_VERSION_CREATED])
Scheduled Retraining Started
Triggered when a scheduled retraining of an AI model begins.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_RETRAINING_STARTED])
Data Drift Detected
Triggered when significant data drift is detected in model inputs.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DATA_DRIFT_DETECTED])