Model Deployment
API Reference documentation for the 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
API Reference
class slashml.ModelDeployment(api_key: Optional[str] = None):
create_tar_gz(*, folder_path: str, tar_gz_filename: str)
deploy(*, model_name: str, model: str)
# Submit job
predict(model_version_id: str, model_input: str)
# Model inference
status(*, model_version_id: str)
# Check job status