dashai_predict
Enqueue a prediction for a finished run by providing its run_id; the job is processed asynchronously and returns a job_id for tracking.
Instructions
Enqueues a prediction using the model of an already finished run.
Like training, it is asynchronous: it returns a job_id and the result is followed with dashai_job_status. The run must be in FINISHED status; if it is not, dashAI rejects the request.
Args: params (Predict): contains: - run_id (int): id of a finished run
Returns: str: JSON {"job_id": str, "run_id": int, "status": "enqueued", "next_step": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |