Class EmbeddingJobsService
java.lang.Object
com.alibaba.dashscope.resources.embeddings.EmbeddingJobsService
Async batch-embedding task facade (design §3, Python v2 EmbeddingJobs parity): the submit goes to
the same service path as the sync endpoint with the async header and a file-url input; the
finished
Job's getResultUrl() carries the output file.-
Method Summary
Modifier and TypeMethodDescriptioncancel(String taskId, RequestOptions options) Cancel a PENDING task (POST /tasks/{task_id}/cancel).create(BatchEmbeddingCreateParams params) create(BatchEmbeddingCreateParams 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.
-