Package com.alibaba.dashscope.resources.jobs


package com.alibaba.dashscope.resources.jobs
  • Classes
    Class
    Description
    A long-running task (design §3): taskId is the primary name (job_id accepted 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 an event:error frame 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 v2 JobResult parity).
    Async variant of JobsService.
    Generic async-task service (design §3): submit with X-DashScope-Async: enable, poll GET /tasks/{taskId}, cancel via POST /tasks/{taskId}/cancel, list via GET /tasks.