How-To: Start Worker
Starting a worker allows the associated workload to process end-user queries. This guide explains how to start a worker for a specific workload.
Log in to the web console to access the Main Page, where modules for each of your models are displayed and identify the module corresponding to the model for which you want to start a worker.

1
# Start Worker
import LatticaManagement
# Authenticate
lattica = LatticaManagement("your_license_from_lattica_console")
# get list of models
models = lattica.get_models()
# Start a new worker session. Returns an Active worker session id.
worker_session_id = lattica.start_worker(models[0].model_id) Last updated
Was this helpful?