Model Deployment#

This is the API Reference documentation for the Model Deployment Class

This class deploys a user created model and exposes and endpoing for prediction

class slashml.ModelDeployment(api_key: str = None)[source]#
create_tar_gz(*, folder_path, tar_gz_filename)[source]#
deploy(*, model_name: str, model: str, requirements: Optional[list] = None)[source]#

Submit job

predict(model_version_id: str, model_input: str)[source]#

Check job status

status(*, model_version_id: str)[source]#

Check job status