Class BatchService
Batch Service: https://platform.openai.com/docs/api-reference/batch
public class BatchService : CrudService<OpenAIClient, BatchRequest, Batch, DeletionStatus, CursorQuery>
- Inheritance
-
objectBatchService
Constructors
BatchService(OpenAIClient)
public BatchService(OpenAIClient client)
Parameters
clientOpenAIClient
Methods
CancelAsync(string, RESTOptions)
public UniTask<Batch> CancelAsync(string objectId, RESTOptions options = null)
Parameters
objectIdstringoptionsRESTOptions
Returns
- UniTask<Batch>