| Package | Description |
|---|---|
| ai.z.openapi.api.batches |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<Batch> |
BatchesApi.batchesCancel(String batchId)
Cancel a running batch job Stops the batch processing and marks the job as
cancelled (may take up to 10 minutes) Only works for batches in 'validating' or
'in_progress' status
|
io.reactivex.rxjava3.core.Single<Batch> |
BatchesApi.batchesCreate(BatchCreateParams batchCreateParams)
Create a new batch processing job Submits a large number of requests for efficient
batch processing with JSONL format Each request must include a unique custom_id for
result mapping Supports /v1/chat/completions and /v1/embeddings endpoints
|
io.reactivex.rxjava3.core.Single<Batch> |
BatchesApi.batchesRetrieve(String batchId)
Retrieve details of a specific batch job Gets comprehensive information about batch
processing status and results Status can be: validating, failed, in_progress,
finalizing, completed, expired, cancelling, cancelled
|
Copyright © 2025. All rights reserved.