ABEJA Model SDK documentation

ABEJA model library is SDK for python, which allows developers to create, get and delete models.

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.models import APIClient

api_client = APIClient()
model = api_client.get_model(organization_id, model_id)
model_versions = api_client.list_model_versions(organization_id, model_id)

API Mapping

method path  
post /organizations/<organization_id>/models APIClient.create_model()
get /organizations/<organization_id/models APIClient.get_models()
get /organizations/<organization_id>/models/<model_id> APIClient.get_model()
delete /organizations/<organization_id>/models/<model_id> APIClient.delete_model()
post /organizations/<organization_id>/models/<model_id>/versions APIClient.create_model_version()
get /organizations/<organization_id>/models/<model_id>/versions APIClient.get_model_versions()
get /organizations/<organization_id>/models/<model_id>/versions/<version_id> APIClient.get_model_version()
delete /organizations/<organization_id>/models/<model_id>/versions/<version_id> APIClient.delete_model_version()