Package com.alibaba.dashscope.resources.jobs
package com.alibaba.dashscope.resources.jobs
-
ClassesClassDescriptionA long-running task (design §3):
taskIdis the primary name (job_idaccepted as an alias),outputAs(Class)gives a typed view over the raw output node.Shared payload/error mapping for the job-event streams (fine-tunes/deployments; Python v2 _sse.py parity): payloads parse as JSON when possible, and anevent:errorframe maps through the catalog —status:absent means a business failure on an HTTP-200 stream, so the body's own code picks the class.One artifact a finished task produced (Python v2JobResultparity).Async variant ofJobsService.Generic async-task service (design §3): submit withX-DashScope-Async: enable, pollGET /tasks/{taskId}, cancel viaPOST /tasks/{taskId}/cancel, list viaGET /tasks.