Class TingWuJobsService
java.lang.Object
com.alibaba.dashscope.resources.tingwu.TingWuJobsService
Offline TingWu summarization as a long task (design §3 resource tree): the submit goes to the
multimodal-generation service with the async header; poll with
fetch/wait.-
Method Summary
Modifier and TypeMethodDescriptioncancel(String taskId, RequestOptions options) Cancel a PENDING task (POST /tasks/{task_id}/cancel).create(TingWuJobParams params) create(TingWuJobParams params, RequestOptions options) fetch(String taskId, RequestOptions options) list(Map<String, String> query, RequestOptions options) List async tasks (GET /tasks); query keys follow the wire names.wait(String taskId, RequestOptions options)
-
Method Details
-
create
-
create
-
fetch
-
wait
-
cancel
Cancel a PENDING task (POST /tasks/{task_id}/cancel). -
list
List async tasks (GET /tasks); query keys follow the wire names.
-